CVE-2026-99933
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
1Patches
Vulnerability mechanics
References
2News mentions
0No linked articles in our index yet.