Not scored
scsi: ufs: core: Fix double completion in ufshcd_clear_lu_cmds()
- Severity
- Not scored
- Exploit likelihood
- 0.29% (higher than 22% 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: Fix double completion in ufshcd_clear_lu_cmds() In SDB mode, ufshcd_clear_lu_cmds() clears the request slot in the controller and completes the request, but leaves its bit set in hba->outstanding_reqs. ufshcd_poll() treats a request whose bit is set in hba->outstanding_reqs and clear in the doorbell register as finished, so the next ufshcd_poll() completes the same request again and unmaps its DMA buffers twice. Clear the bit with ufshcd_clear_outstanding_reqs() before completing the request, and complete it only if the bit was still set. If ufshcd_poll() has already completed the request, the bit is already clear and ufshcd_clear_lu_cmds() skips it.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from f18fac1e2b729d3bdeb41b946d90b57f3515f438 before e320bbd2a26fc495e54cde7c4711fe0a8dad9a5d, from f18fac1e2b729d3bdeb41b946d90b57f3515f438 before 6b9c1f49971e4dfe8b8916f0527d30e97c15f234, 6.19 Not affected: before 6.19, from 7.3.4 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-99933 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-99933 changed 2026-11-30 | Public domain |