Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-99933

scsi: ufs: core: Fix double completion in ufshcd_clear_lu_cmds()

Published 30/11/2026 · Updated 30/11/2026 · 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 products and versions

Linux Linuxf18fac1e2b729d3bdeb41b946d90b57f3515f438 – < e320bbd2a26fc495e54cde7c4711fe0a8dad9a5d · f18fac1e2b729d3bdeb41b946d90b57f3515f438 – < 6b9c1f49971e4dfe8b8916f0527d30e97c15f234Fixed in: e320bbd2a26fc495e54cde7c4711fe0a8dad9a5d · 6b9c1f49971e4dfe8b8916f0527d30e97c15f234
Linux Linux6.19Fixed in: 7.3.4 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.