{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-53609","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-10-04T15:40:38.480Z","datePublished":"2025-10-04T15:44:18.151Z","dateUpdated":"2026-08-05T09:15:07.229Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T09:15:07.229Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: Revert \"scsi: core: Do not increase scsi_device's iorequest_cnt if dispatch failed\"\n\nThe \"atomic_inc(&cmd->device->iorequest_cnt)\" in scsi_queue_rq() would\ncause kernel panic because cmd->device may be freed after returning from\nscsi_dispatch_cmd().\n\nThis reverts commit cfee29ffb45b1c9798011b19d454637d1b0fe87d."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"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's 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."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/scsi_lib.c"],"versions":[{"version":"cfee29ffb45b1c9798011b19d454637d1b0fe87d","lessThan":"35fe6fa57b994e7da222893adf0bb748d6055e73","status":"affected","versionType":"git"},{"version":"cfee29ffb45b1c9798011b19d454637d1b0fe87d","lessThan":"6ca9818d1624e136a76ae8faedb6b6c95ca66903","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/scsi_lib.c"],"versions":[{"version":"6.2","status":"affected"},{"version":"0","lessThan":"6.2","status":"unaffected","versionType":"semver"},{"version":"6.3.4","lessThanOrEqual":"6.3.*","status":"unaffected","versionType":"semver"},{"version":"6.4","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.4"}]}]}],"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's iorequest_cnt if dispatch failed\"","x_generator":{"engine":"bippy-1.2.0"}}}}