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-2026-99932

published high CVSS 3.1 · 7.0

scsi: ufs: core: Remove completed-without-interrupt path in ufshcd_abort()

Published
30 Nov 2026, 13:18:23 UTC
Updated
01 Dec 2026, 05:44:20 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux169f5eb28869098ac02d7e03abea36e8ac599bcc to < 7ac52a09bf8902b2a18998c652454227c3d3a9b9 · 169f5eb28869098ac02d7e03abea36e8ac599bcc to < 5e208e3883fd79e841bd98d99ae9f3cfef5ad191 · 169f5eb28869098ac02d7e03abea36e8ac599bcc to < 2edb62384a06a9efcafc2c47135d4cdb948b2085 · 169f5eb28869098ac02d7e03abea36e8ac599bcc to < 7cfdfdd6557906fd09cf0a9a564a07012e7fb0c1 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: core: Remove completed-without-interrupt path in ufshcd_abort() In SDB mode, a command that times out right as the controller finishes it can be completed twice: 1. The command times out and scsi_timeout() schedules ufshcd_abort(). 2. The controller finishes the command and clears its doorbell bit in REG_UTP_TRANSFER_REQ_DOOR_BELL, while the completion handler has not yet cleared BIT(tag) in hba->outstanding_reqs. 3. ufshcd_abort() sees the doorbell bit clear and calls __ufshcd_transfer_req_compl() without clearing BIT(tag) in hba->outstanding_reqs. 4. The normal completion handler or the logical unit reset that follows sees BIT(tag) still set in hba->outstanding_reqs and completes the same command a second time. This branch only exists for a rare corner case, a completion interrupt that is lost or arrives late. Remove it to simplify the abort path and leave such a command to the SCSI error handler, like any other command that cannot be aborted. The cost is a slower recovery in this corner case, which is acceptable since it only happens after a timeout.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.0 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The only way into ufshcd_abort() is a UFS command timing out: scsi_timeout() -> scsi_abort_command() -> scmd_eh_abort_handler(), or scsi_eh_abort_cmds(). No remote protocol carries any input. The attacker is a local user whose ordinary file I/O to the embedded UFS logical unit is in flight when the timeout fires. AC:H - The removed branch runs only if the SDB doorbell bit reads clear while hba->outstanding_reqs is still set. That needs the controller to finish a 30s-old command in the microseconds before the ISR runs, or a lost completion IRQ. An unprivileged user cannot produce that timing. No ioctl reaches ufshcd_abort(), and only the test-only SCSI_UFS_FAULT_INJECTION config can force it. PR:L - The attacker who exploits the resulting IOVA aliasing only needs ordinary filesystem read/write I/O in flight on the UFS logical unit when the device condition occurs, which any unprivileged local process (e.g. an Android app) has. Root-only knobs (io_timeout, SG_IO) still cannot win the race, so they offer no better path. UI:N - No victim action is needed. Once the abort branch runs, the second completion follows automatically, either from ufshcd_poll() on the next transfer IRQ or from ufshcd_clear_lu_cmds() during the SCSI error handler's logical unit reset. S:U - The double unmap corrupts the host kernel's own IOVA allocator and the DMA mappings of its UFS controller. No guest/host, sandbox or other authority boundary is crossed. C:H - On 6.6+ (since 549e91a9bbaa) both completions run ufshcd_release_scsi_cmd() -> scsi_dma_unmap() on the same sglist. abort_work runs before SHOST_RECOVERY, so other I/O can take the freed IOVA. The second unmap then tears down and double-frees that live range. Later mappings alias it, and the controller writes another request's pages out to storage. I:H - Because of the same double iommu_dma_free_iova() aliasing, a device read for one request can DMA into pages that another mapping owns, such as other page-cache or kernel buffers. Data the attacker controls on disk can therefore overwrite unrelated memory. A:H - A second unmap of an IOVA that was not reused trips WARN_ON(unmapped != size) in __iommu_dma_unmap(). Torn-down live mappings cause IOMMU faults and I/O errors. The double ufshcd_release() underflows clk_gating.active_reqs. On kernels up to 6.1 the second pass completes an unrelated dev_cmd waiter.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 169f5eb28869098ac02d7e03abea36e8ac599bcc to < 7ac52a09bf8902b2a18998c652454227c3d3a9b9 (affected · git)169f5eb28869098ac02d7e03abea36e8ac599bcc to < 5e208e3883fd79e841bd98d99ae9f3cfef5ad191 (affected · git)169f5eb28869098ac02d7e03abea36e8ac599bcc to < 2edb62384a06a9efcafc2c47135d4cdb948b2085 (affected · git)169f5eb28869098ac02d7e03abea36e8ac599bcc to < 7cfdfdd6557906fd09cf0a9a564a07012e7fb0c1 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 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: Remove completed-without-interrupt path in ufshcd_abort()

Provenance

Schema
5.2
Searchable
yes
Content hash
05afc8c711a5ead35bdf7cf85402f38ea39a821969fc84ef7e3dc8be974a7d96
Ingested
01 Dec 2026, 05:47:23 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