CVE-2023-53609

Source
https://cve.org/CVERecord?id=CVE-2023-53609
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53609.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-53609
Downstream
Published
2025-10-04T15:44:18.151Z
Modified
2026-02-24T15:25:37.690987Z
Summary
scsi: Revert "scsi: core: Do not increase scsi_device's iorequest_cnt if dispatch failed"
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53609.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
cfee29ffb45b1c9798011b19d454637d1b0fe87d
Fixed
35fe6fa57b994e7da222893adf0bb748d6055e73
Fixed
6ca9818d1624e136a76ae8faedb6b6c95ca66903

Affected versions

v6.*
v6.1
v6.1-rc2
v6.1-rc3
v6.1-rc4
v6.1-rc5
v6.1-rc6
v6.1-rc7
v6.1-rc8
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.3
v6.3-rc1
v6.3-rc2
v6.3-rc3
v6.3-rc4
v6.3-rc5
v6.3-rc6
v6.3-rc7
v6.3.1
v6.3.2
v6.3.3
v6.4-rc1

Database specific

vanir_signatures
[
    {
        "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"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53609.json"

Git / github.com/gregkh/linux

Affected ranges

Type
GIT
Repo
https://github.com/gregkh/linux
Events

Affected versions

v6.*
v6.2
v6.3
v6.3-rc1
v6.3-rc2
v6.3-rc3
v6.3-rc4
v6.3-rc5
v6.3-rc6
v6.3-rc7
v6.3.1
v6.3.2
v6.3.3

Database specific

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