CVE-2023-53609 (GCVE-0-2023-53609)
Vulnerability from cvelistv5
Published
2025-10-04 15:44
Modified
2026-08-05 09:15
Summary
In the Linux kernel, the following vulnerability has been resolved: scsi: Revert "scsi: core: Do not increase scsi_device's iorequest_cnt if dispatch failed" The "atomic_inc(&cmd->device->iorequest_cnt)" in scsi_queue_rq() would cause kernel panic because cmd->device may be freed after returning from scsi_dispatch_cmd(). This reverts commit cfee29ffb45b1c9798011b19d454637d1b0fe87d.
Impacted products
Vendor Product Version
Linux Linux Version: cfee29ffb45b1c9798011b19d454637d1b0fe87d
Version: cfee29ffb45b1c9798011b19d454637d1b0fe87d
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/scsi_lib.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "35fe6fa57b994e7da222893adf0bb748d6055e73",
              "status": "affected",
              "version": "cfee29ffb45b1c9798011b19d454637d1b0fe87d",
              "versionType": "git"
            },
            {
              "lessThan": "6ca9818d1624e136a76ae8faedb6b6c95ca66903",
              "status": "affected",
              "version": "cfee29ffb45b1c9798011b19d454637d1b0fe87d",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/scsi_lib.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.2"
            },
            {
              "lessThan": "6.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.3.*",
              "status": "unaffected",
              "version": "6.3.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.4",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3.4",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: Revert \"scsi: core: Do not increase scsi_device\u0027s iorequest_cnt if dispatch failed\"\n\nThe \"atomic_inc(\u0026cmd-\u003edevice-\u003eiorequest_cnt)\" in scsi_queue_rq() would\ncause kernel panic because cmd-\u003edevice may be freed after returning from\nscsi_dispatch_cmd().\n\nThis reverts commit cfee29ffb45b1c9798011b19d454637d1b0fe87d."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerable code is the SCSI mid-layer dispatch path (scsi_queue_rq/scsi_dispatch_cmd) on the initiator side, reached only by submitting I/O to a local SCSI device; there is no remote/network trigger.\nAC:L - Exploitation is a cross-CPU UAF race between command completion/device teardown and the trailing atomic_inc; an attacker controlling a removable/hot-pluggable SCSI device can drive both I/O and removal and retry the race repeatedly, so complexity is Low.\nPR:L - Reaching the vulnerable atomic_inc requires a local authenticated user able to submit I/O to (or open) a SCSI device; no elevated capability is needed to dispatch a command down this path.\nUI:N - The bug is triggered by ordinary I/O submission and concurrent device release; no action by a separate victim user is required.\nS:U - The corruption is confined to the kernel\u0027s own memory within the same security authority; no VM/IOMMU/sandbox boundary is crossed.\nC:H - The use-after-free operates on a freed scsi_device slab object whose contents an attacker can control via heap grooming, and per UAF scoring guidance such freed-object access is treated as enabling high-impact information disclosure.\nI:H - The atomic_inc is a use-after-free read-modify-write into a freed, potentially attacker-reallocated object, a memory-corruption write primitive that per guidance is scored High.\nA:H - The commit explicitly states the bug causes a kernel panic, and any use-after-free reliably produces a crash/oops."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T09:15:07.229Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/35fe6fa57b994e7da222893adf0bb748d6055e73"
        },
        {
          "url": "https://git.kernel.org/stable/c/6ca9818d1624e136a76ae8faedb6b6c95ca66903"
        }
      ],
      "title": "scsi: Revert \"scsi: core: Do not increase scsi_device\u0027s iorequest_cnt if dispatch failed\"",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53609",
    "datePublished": "2025-10-04T15:44:18.151Z",
    "dateReserved": "2025-10-04T15:40:38.480Z",
    "dateUpdated": "2026-08-05T09:15:07.229Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…