CVE-2026-99932
JSON

7.0high

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

Severity
7.0high CVSS:3.1 by Linux
Exploit likelihood
0.29% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 169f5eb28869098ac02d7e03abea36e8ac599bcc before 7ac52a09bf8902b2a18998c652454227c3d3a9b9, from 169f5eb28869098ac02d7e03abea36e8ac599bcc before 5e208e3883fd79e841bd98d99ae9f3cfef5ad191, from 169f5eb28869098ac02d7e03abea36e8ac599bcc before 2edb62384a06a9efcafc2c47135d4cdb948b2085, from 169f5eb28869098ac02d7e03abea36e8ac599bcc before 7cfdfdd6557906fd09cf0a9a564a07012e7fb0c1, 5.15
Not affected: before 5.15, from 6.12.117 up to 6.12.*, from 6.18.63 up to 6.18.*, from 7.3.4 up to 7.3.*, from 7.4-rc1 up to *
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-99932 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-99932 changed 2026-12-01Public domain