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

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux169f5eb28869098ac02d7e03abea36e8ac599bcc to before 7ac52a09bf8902b2a18998c652454227c3d3a9b9 Affected169f5eb28869098ac02d7e03abea36e8ac599bcc to before 5e208e3883fd79e841bd98d99ae9f3cfef5ad191 Affected169f5eb28869098ac02d7e03abea36e8ac599bcc to before 2edb62384a06a9efcafc2c47135d4cdb948b2085 Affected169f5eb28869098ac02d7e03abea36e8ac599bcc to before 7cfdfdd6557906fd09cf0a9a564a07012e7fb0c1 Affected
Linux Linux5.15 Affectedbefore 5.15 Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.