In the Linux kernel, the following vulnerability has been resolved:
scsi: Revert "scsi: core: Do not increase scsidevice's iorequestcnt if dispatch failed"
The "atomicinc(&cmd->device->iorequestcnt)" in scsiqueuerq() would cause kernel panic because cmd->device may be freed after returning from scsidispatchcmd().
This reverts commit cfee29ffb45b1c9798011b19d454637d1b0fe87d.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53609.json",
"cna_assigner": "Linux"
}[
{
"id": "CVE-2023-53609-48a31432",
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@35fe6fa57b994e7da222893adf0bb748d6055e73",
"target": {
"function": "scsi_dispatch_cmd",
"file": "drivers/scsi/scsi_lib.c"
},
"digest": {
"length": 1332.0,
"function_hash": "2579896537349288827058515978911651816"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53609-493cee34",
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6ca9818d1624e136a76ae8faedb6b6c95ca66903",
"target": {
"function": "scsi_dispatch_cmd",
"file": "drivers/scsi/scsi_lib.c"
},
"digest": {
"length": 1332.0,
"function_hash": "2579896537349288827058515978911651816"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53609-7fb97921",
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@35fe6fa57b994e7da222893adf0bb748d6055e73",
"target": {
"function": "scsi_queue_rq",
"file": "drivers/scsi/scsi_lib.c"
},
"digest": {
"length": 2146.0,
"function_hash": "181890409879716420762305862317602054025"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53609-da9aa844",
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6ca9818d1624e136a76ae8faedb6b6c95ca66903",
"target": {
"function": "scsi_queue_rq",
"file": "drivers/scsi/scsi_lib.c"
},
"digest": {
"length": 2146.0,
"function_hash": "181890409879716420762305862317602054025"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53609-e761de62",
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6ca9818d1624e136a76ae8faedb6b6c95ca66903",
"target": {
"file": "drivers/scsi/scsi_lib.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"337283980649348933748810784495791658322",
"268071770932911461326367315402850654384",
"261968605556267450007506647988220839203",
"323000618895561169642662105254512733794",
"168103290646491326350218264789475797249",
"74143219880072490728479081117301936244",
"105431588560182382732219962191490872337"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53609-f1bdea50",
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@35fe6fa57b994e7da222893adf0bb748d6055e73",
"target": {
"file": "drivers/scsi/scsi_lib.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"337283980649348933748810784495791658322",
"268071770932911461326367315402850654384",
"261968605556267450007506647988220839203",
"323000618895561169642662105254512733794",
"168103290646491326350218264789475797249",
"74143219880072490728479081117301936244",
"105431588560182382732219962191490872337"
]
},
"signature_type": "Line"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53609.json"