Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-53510

published high CVSS 3.1 · 7.8

scsi: ufs: core: Fix handling of lrbp->cmd

Published
01 Oct 2025, 11:45:59 UTC
Updated
05 Aug 2026, 09:14:32 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux5a0b0cb9bee767ef10ff9ce2fb4141af06416288 to < b6d76d63c6d21d5d26c301a46853a2aee72397d5 · 5a0b0cb9bee767ef10ff9ce2fb4141af06416288 to < f3ee24af62681b942bbd799ac77b90a6d7e1fdb1 · 5a0b0cb9bee767ef10ff9ce2fb4141af06416288 to < 49234a401e161a2f2698f4612ab792c49b3cad1b · 5a0b0cb9bee767ef10ff9ce2fb4141af06416288 to < 549e91a9bbaa0ee480f59357868421a61d369770 · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.12 (affected) · 0 to < 3.12 (unaffected · semver) · 6.1.167 through 6.1.* (unaffected · semver) · 6.3.13 through 6.3.* (unaffected · semver) · 6.4.4 through 6.4.* (unaffected · semver) · 6.5 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.170-1 DSA-6243-1
Red Hat Enterprise Linux RHEL-9 kernelaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Debian bullseye linux-6.1 Advisory build 6.1.170-1~deb11u1 DLA-4561-1
Red Hat Enterprise Linux RHEL-9 kernelppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-9 kernels390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernelsrc Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernelx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64kaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debugaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-debuginfoaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-develaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-devel-matchedaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modulesaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-extraaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debuginfoaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-develaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-devel-matchedaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-modulesaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-extraaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-abi-stablelistsnoarch Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-coreppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-cores390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-corex86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debugaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debugppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debugs390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debugx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-cores390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-corex86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfos390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfox86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-develaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-develppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-devels390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-develx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matcheds390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-moduless390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-cores390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-corex86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extraaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrappc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extras390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrax86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-uki-virtx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debuginfos390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debuginfox86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-aarch64aarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-ppc64leppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-s390xs390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-x86_64x86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-develaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-develppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-devels390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-develx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-devel-matcheds390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-docnoarch Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modulesaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modulesppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-moduless390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modulesx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modules-cores390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modules-corex86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modules-extraaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrappc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modules-extras390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrax86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rtaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rtx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rt-64kaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debugaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debug-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debug-debuginfoaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debug-develaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debug-modulesaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debug-modules-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: core: Fix handling of lrbp->cmd ufshcd_queuecommand() may be called two times in a row for a SCSI command before it is completed. Hence make the following changes: - In the functions that submit a command, do not check the old value of lrbp->cmd nor clear lrbp->cmd in error paths. - In ufshcd_release_scsi_cmd(), do not clear lrbp->cmd. See also scsi_send_eh_cmnd(). This commit prevents that the following appears if a command times out: WARNING: at drivers/ufs/core/ufshcd.c:2965 ufshcd_queuecommand+0x6f8/0x9a8 Call trace: ufshcd_queuecommand+0x6f8/0x9a8 scsi_send_eh_cmnd+0x2c0/0x960 scsi_eh_test_devices+0x100/0x314 scsi_eh_ready_devs+0xd90/0x114c scsi_error_handler+0x2b4/0xb70 kthread+0x16c/0x1e0

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

12

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The affected code is the UFS host controller core driver, reached by submitting SCSI commands to local storage (filesystem I/O, SG_IO on the block device, or /dev/ufs-bsg) and by the kernel SCSI error handler that runs on top of them. There is no network or adjacent-network exposure, and no physical device attachment is needed since UFS is internal soldered storage. AC:L - A local attacker drives both halves of the sequence: they queue commands that stall the device (SG_IO lets the caller pick the command timeout, and queue saturation or long-running opcodes reliably produce timeouts), which forces scsi_send_eh_cmnd() to re-submit the same scsi_cmnd at the same tag, and the WARN_ON plus descriptor/PRDT rewrite then follow deterministically. Nothing in the trigger depends on state the attacker cannot influence, and the attempt can be repeated indefinitely. PR:L - Only an ordinary local account is needed — any user generating I/O against UFS-backed storage can have commands in flight that time out, and SG_IO on a readable block device (shell users on embedded/kiosk devices, `disk`-group members) lets the attacker choose the command timeout directly. No root, CAP_SYS_RAWIO, or namespace privilege is required to reach ufshcd_queuecommand() and the SCSI error handler path. UI:N - The SCSI error handler thread escalates and re-issues the command automatically once a timeout fires; no victim needs to mount a filesystem, open a file, or take any other action. The attacker's own I/O is sufficient. S:U - The corrupted state (lrbp->cmd, the transfer request descriptor, PRDT, DMA mappings, hba->dev_cmd.complete) and all resulting damage stay inside the kernel that owns the UFS controller. No hypervisor, IOMMU, or sandbox boundary is crossed. C:H - Re-programming a transfer descriptor for a tag that is still in the controller doorbell mis-routes completions, so one command's response UPIU and sense data are delivered as another command's result, and the spurious complete(hba->dev_cmd.complete) makes ufshcd_wait_for_dev_cmd() read hba->dev_cmd.cqe and lrbp->ucd_rsp_ptr while the controller is still writing them. Combined with the orphaned DMA mapping that leaves the device able to read pages after they are freed and reused, this yields disclosure of arbitrary kernel memory contents. I:H - ufshcd_map_sg() calls scsi_dma_map() a second time and rewrites the PRDT for a tag the controller is actively executing, and ufshcd_release_scsi_cmd() unmaps only one of the two mappings — leaving the UFS controller with DMA write access to pages that are subsequently freed and reallocated. Device-driven writes into reused kernel memory, plus the recycled device-management reserved slot being reprogrammed under an in-flight transfer, constitute kernel memory corruption usable for control-flow hijack. A:H - The documented symptom is a WARNING at ufshcd.c:2965 in ufshcd_queuecommand() from the SCSI error handler, which is an immediate kernel panic on the panic_on_warn configurations used by Android GKI, ChromeOS, and hardened embedded builds. Even without panic_on_warn, the descriptor/doorbell confusion and the falsely completed device-management command wedge the UFS error handler and the system's only storage device.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 5a0b0cb9bee767ef10ff9ce2fb4141af06416288 to < b6d76d63c6d21d5d26c301a46853a2aee72397d5 (affected · git)5a0b0cb9bee767ef10ff9ce2fb4141af06416288 to < f3ee24af62681b942bbd799ac77b90a6d7e1fdb1 (affected · git)5a0b0cb9bee767ef10ff9ce2fb4141af06416288 to < 49234a401e161a2f2698f4612ab792c49b3cad1b (affected · git)5a0b0cb9bee767ef10ff9ce2fb4141af06416288 to < 549e91a9bbaa0ee480f59357868421a61d369770 (affected · git)Default: unaffected Linux · cna
Linux Linux 3.12 (affected)0 to < 3.12 (unaffected · semver)6.1.167 through 6.1.* (unaffected · semver)6.3.13 through 6.3.* (unaffected · semver)6.4.4 through 6.4.* (unaffected · semver)6.5 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

scsi: ufs: core: Fix handling of lrbp->cmd

Provenance

Schema
5.2
Searchable
yes
Content hash
8f98a1838bbb35a80d5dceb59a0ec0da8d6d39a6a1f2608ec475b6b3901cf76e
Ingested
23 Sep 2026, 08:14:56 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected