{"id":"CVE-2026-143446","aliases":["EUVD-2026-145075","GHSA-94hw-rfg6-5m3f"],"status":"published","title":"scsi: scsi_debug: Take the zone metadata lock before the data lock","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: scsi_debug: Take the zone metadata lock before the data lock\n\nresp_comp_write() takes the data lock and then the zone metadata lock,\nwhile every other command that takes both takes the metadata lock first and\nreaches the data lock through do_device_access(). A COMPARE AND WRITE and\nany other write to the same store can therefore deadlock each other.\n\nTake the locks in the same order as everywhere else.\n\nCorrect the comment above map_region() while here: the provisioning map is\ncovered by the metadata lock rather than the data lock, which is why\nresp_unmap() takes only the metadata lock.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2026-12-05T01:41:25Z","modified":"2026-12-05T03:30:38Z","fixes":[{"ecosystem":"Linux","package":"Kernel","fixed_in":["6.12.119","6.18.65","7.3.6"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Linux","package":"Kernel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.11.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}]}],"products":[{"vendor":"linux","product":"linux"}],"references":[{"url":"https://git.kernel.org/stable/c/8accbdee95c2b0423eea568990e20fee07a15400","tags":["web"]},{"url":"https://git.kernel.org/stable/c/4eba94e6c42a9f0d2a64be82d933de640ec9da0f","tags":["web"]},{"url":"https://git.kernel.org/stable/c/326123fcbda92a1e1abd61da524e2b9bd4b58259","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c9aedbcbff0fe31fabdea09600609eb30e05441d","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143446","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-94hw-rfg6-5m3f"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143446.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-143446","title":"scsi: scsi_debug: Take the zone metadata lock before the data lock","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: scsi_debug: Take the zone metadata lock before the data lock\n\nresp_comp_write() takes the data lock and then the zone metadata lock,\nwhile every other command that takes both takes the metadata lock first and\nreaches the data lock through do_device_access(). A COMPARE AND WRITE and\nany other write to the same store can therefore deadlock each other.\n\nTake the locks in the same order as everywhere else.\n\nCorrect the comment above map_region() while here: the provisioning map is\ncovered by the metadata lock rather than the data lock, which is why\nresp_unmap() takes only the metadata lock.","status":"published","published":"2026-12-05T01:41:25.779Z","modified":"2026-12-05T01:41:25.779Z","updated_at":"2026-12-05T01:48:47.517798Z"}],"euvd":[{"id":"EUVD-2026-145075","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: scsi_debug: Take the zone metadata lock before the data lock\n\nresp_comp_write() takes the data lock and then the zone metadata lock,\nwhile every other command that takes both takes the metadata lock first and\nreaches the data lock through do_device_access(). A COMPARE AND WRITE and\nany other write to the same store can therefore deadlock each other.\n\nTake the locks in the same order as everywhere else.\n\nCorrect the comment above map_region() while here: the provisioning map is\ncovered by the metadata lock rather than the data lock, which is why\nresp_unmap() takes only the metadata lock.","status":"published","published":"2026-12-05T01:41:25Z","modified":"2026-12-05T01:41:25Z","updated_at":"2026-12-05T03:44:21.912352Z"}],"ghsa":[{"id":"GHSA-94hw-rfg6-5m3f","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: scsi_debug: Take the...","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: scsi_debug: Take the zone metadata lock before the data lock\n\nresp_comp_write() takes the data lock and then the zone metadata lock,\nwhile every other command that takes both takes the metadata lock first and\nreaches the data lock through do_device_access(). A COMPARE AND WRITE and\nany other write to the same store can therefore deadlock each other.\n\nTake the locks in the same order as everywhere else.\n\nCorrect the comment above map_region() while here: the provisioning map is\ncovered by the metadata lock rather than the data lock, which is why\nresp_unmap() takes only the metadata lock.","status":"published","published":"2026-12-05T03:30:29Z","modified":"2026-12-05T03:30:38Z","updated_at":"2026-12-05T03:31:20.896926Z"}],"nvd":[{"id":"CVE-2026-143446","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: scsi_debug: Take the zone metadata lock before the data lock\n\nresp_comp_write() takes the data lock and then the zone metadata lock,\nwhile every other command that takes both takes the metadata lock first and\nreaches the data lock through do_device_access(). A COMPARE AND WRITE and\nany other write to the same store can therefore deadlock each other.\n\nTake the locks in the same order as everywhere else.\n\nCorrect the comment above map_region() while here: the provisioning map is\ncovered by the metadata lock rather than the data lock, which is why\nresp_unmap() takes only the metadata lock.","status":"published","published":"2026-12-05T03:19:56.88Z","modified":"2026-12-05T03:19:56.88Z","updated_at":"2026-12-05T03:21:31.003878Z"}],"osv":[{"id":"CVE-2026-143446","title":"scsi: scsi_debug: Take the zone metadata lock before the data lock","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: scsi_debug: Take the zone metadata lock before the data lock\n\nresp_comp_write() takes the data lock and then the zone metadata lock,\nwhile every other command that takes both takes the metadata lock first and\nreaches the data lock through do_device_access(). A COMPARE AND WRITE and\nany other write to the same store can therefore deadlock each other.\n\nTake the locks in the same order as everywhere else.\n\nCorrect the comment above map_region() while here: the provisioning map is\ncovered by the metadata lock rather than the data lock, which is why\nresp_unmap() takes only the metadata lock.","status":"published","published":"2026-12-05T01:41:25.779Z","modified":"2026-12-05T03:01:07.828951426Z","updated_at":"2026-12-05T03:12:26.971604Z"}]}}
