CVE-2023-53301

Source
https://cve.org/CVERecord?id=CVE-2023-53301
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53301.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-53301
Downstream
Published
2025-09-16T08:11:32.344Z
Modified
2026-02-24T07:34:08.214592Z
Summary
f2fs: fix kernel crash due to null io->bio
Details

In the Linux kernel, the following vulnerability has been resolved:

f2fs: fix kernel crash due to null io->bio

We should return when io->bio is null before doing anything. Otherwise, panic.

BUG: kernel NULL pointer dereference, address: 0000000000000010 RIP: 0010:_submitmergedwritecond+0x164/0x240 [f2fs] Call Trace: <TASK> f2fssubmitmergedwrite+0x1d/0x30 [f2fs] commitcheckpoint+0x110/0x1e0 [f2fs] f2fswritecheckpoint+0x9f7/0xf00 [f2fs] ? _pfxissuecheckpointthread+0x10/0x10 [f2fs] _checkpointandcompletereqs+0x84/0x190 [f2fs] ? preemptcountadd+0x82/0xc0 ? _pfxissuecheckpointthread+0x10/0x10 [f2fs] issuecheckpointthread+0x4c/0xf0 [f2fs] ? _pfxautoremovewakefunction+0x10/0x10 kthread+0xff/0x130 ? _pfxkthread+0x10/0x10 retfromfork+0x2c/0x50 </TASK>

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53301.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
64bf0eef0171912f7c2f3ea30ee6ad7a2ad0a511
Fixed
83dbb9a1bd5ef2eea73275906fc50b2fdda39cd5
Fixed
eb52f13c6093ac761dbeaa459c810fc0253209fc
Fixed
267c159f9c7bcb7009dae16889b880c5ed8759a8

Affected versions

v5.*
v5.17
v5.17-rc3
v5.17-rc4
v5.17-rc5
v5.17-rc6
v5.17-rc7
v5.17-rc8
v5.18
v5.18-rc1
v5.18-rc2
v5.18-rc3
v5.18-rc4
v5.18-rc5
v5.18-rc6
v5.18-rc7
v5.19
v5.19-rc1
v5.19-rc2
v5.19-rc3
v5.19-rc4
v5.19-rc5
v5.19-rc6
v5.19-rc7
v5.19-rc8
v6.*
v6.0
v6.0-rc1
v6.0-rc2
v6.0-rc3
v6.0-rc4
v6.0-rc5
v6.0-rc6
v6.0-rc7
v6.1
v6.1-rc1
v6.1-rc2
v6.1-rc3
v6.1-rc4
v6.1-rc5
v6.1-rc6
v6.1-rc7
v6.1-rc8
v6.1.1
v6.1.10
v6.1.11
v6.1.12
v6.1.13
v6.1.14
v6.1.15
v6.1.2
v6.1.3
v6.1.4
v6.1.5
v6.1.6
v6.1.7
v6.1.8
v6.1.9
v6.2
v6.2-rc1
v6.2-rc2
v6.2-rc3
v6.2-rc4
v6.2-rc5
v6.2-rc6
v6.2-rc7
v6.2-rc8
v6.2.1
v6.2.2

Database specific

vanir_signatures
[
    {
        "id": "CVE-2023-53301-086b1ec7",
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eb52f13c6093ac761dbeaa459c810fc0253209fc",
        "target": {
            "file": "fs/f2fs/data.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "26298473953374670656947504971538272569",
                "275735283463864467011226778503868570797",
                "302489533739553482214482829850558916737",
                "258762017474406214552982397762232444229",
                "68284643066102554528571467718826595690",
                "235910073688473291234050477359462055463",
                "214377043309244868921886370051667642132"
            ]
        },
        "signature_type": "Line"
    },
    {
        "id": "CVE-2023-53301-09141ce8",
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@83dbb9a1bd5ef2eea73275906fc50b2fdda39cd5",
        "target": {
            "function": "__f2fs_submit_merged_write",
            "file": "fs/f2fs/data.c"
        },
        "digest": {
            "length": 450.0,
            "function_hash": "162768597899911042916105102001469943822"
        },
        "signature_type": "Function"
    },
    {
        "id": "CVE-2023-53301-1511fdc7",
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@267c159f9c7bcb7009dae16889b880c5ed8759a8",
        "target": {
            "function": "__f2fs_submit_merged_write",
            "file": "fs/f2fs/data.c"
        },
        "digest": {
            "length": 450.0,
            "function_hash": "162768597899911042916105102001469943822"
        },
        "signature_type": "Function"
    },
    {
        "id": "CVE-2023-53301-6bda856d",
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eb52f13c6093ac761dbeaa459c810fc0253209fc",
        "target": {
            "function": "__f2fs_submit_merged_write",
            "file": "fs/f2fs/data.c"
        },
        "digest": {
            "length": 450.0,
            "function_hash": "162768597899911042916105102001469943822"
        },
        "signature_type": "Function"
    },
    {
        "id": "CVE-2023-53301-7e83c414",
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@83dbb9a1bd5ef2eea73275906fc50b2fdda39cd5",
        "target": {
            "file": "fs/f2fs/data.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "26298473953374670656947504971538272569",
                "275735283463864467011226778503868570797",
                "302489533739553482214482829850558916737",
                "258762017474406214552982397762232444229",
                "68284643066102554528571467718826595690",
                "235910073688473291234050477359462055463",
                "214377043309244868921886370051667642132"
            ]
        },
        "signature_type": "Line"
    },
    {
        "id": "CVE-2023-53301-992a74e8",
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@267c159f9c7bcb7009dae16889b880c5ed8759a8",
        "target": {
            "file": "fs/f2fs/data.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "26298473953374670656947504971538272569",
                "275735283463864467011226778503868570797",
                "302489533739553482214482829850558916737",
                "258762017474406214552982397762232444229",
                "68284643066102554528571467718826595690",
                "235910073688473291234050477359462055463",
                "214377043309244868921886370051667642132"
            ]
        },
        "signature_type": "Line"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53301.json"

Git / github.com/gregkh/linux

Affected versions

v5.*
v5.18
v5.19
v5.19-rc1
v5.19-rc2
v5.19-rc3
v5.19-rc4
v5.19-rc5
v5.19-rc6
v5.19-rc7
v5.19-rc8
v6.*
v6.0
v6.0-rc1
v6.0-rc2
v6.0-rc3
v6.0-rc4
v6.0-rc5
v6.0-rc6
v6.0-rc7
v6.1
v6.1-rc1
v6.1-rc2
v6.1-rc3
v6.1-rc4
v6.1-rc5
v6.1-rc6
v6.1-rc7
v6.1-rc8
v6.1.1
v6.1.10
v6.1.11
v6.1.12
v6.1.13
v6.1.14
v6.1.15
v6.1.2
v6.1.3
v6.1.4
v6.1.5
v6.1.6
v6.1.7
v6.1.8
v6.1.9
v6.2
v6.2-rc1
v6.2-rc2
v6.2-rc3
v6.2-rc4
v6.2-rc5
v6.2-rc6
v6.2-rc7
v6.2-rc8
v6.2.1
v6.2.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53301.json"