{"id":"CVE-2026-99933","summary":"scsi: ufs: core: Fix double completion in ufshcd_clear_lu_cmds()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: ufs: core: Fix double completion in ufshcd_clear_lu_cmds()\n\nIn SDB mode, ufshcd_clear_lu_cmds() clears the request slot in the\ncontroller and completes the request, but leaves its bit set in\nhba-\u003eoutstanding_reqs. ufshcd_poll() treats a request whose bit is set in\nhba-\u003eoutstanding_reqs and clear in the doorbell register as finished, so\nthe next ufshcd_poll() completes the same request again and unmaps its DMA\nbuffers twice.\n\nClear the bit with ufshcd_clear_outstanding_reqs() before completing the\nrequest, and complete it only if the bit was still set. If ufshcd_poll()\nhas already completed the request, the bit is already clear and\nufshcd_clear_lu_cmds() skips it.","modified":"2026-12-01T21:02:41.549504826Z","published":"2026-11-30T13:18:24.556Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99933.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/6b9c1f49971e4dfe8b8916f0527d30e97c15f234"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e320bbd2a26fc495e54cde7c4711fe0a8dad9a5d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99933.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99933"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f18fac1e2b729d3bdeb41b946d90b57f3515f438"},{"fixed":"e320bbd2a26fc495e54cde7c4711fe0a8dad9a5d"},{"fixed":"6b9c1f49971e4dfe8b8916f0527d30e97c15f234"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99933.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99933.json"}}],"schema_version":"1.9.2"}