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>
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53301.json",
"cna_assigner": "Linux"
}[
{
"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"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53301.json"