CVE-2026-143446: scsi: scsi_debug: Take the zone metadata lock before the data lock
In the Linux kernel, the following vulnerability has been resolved:
scsi: scsidebug: Take the zone metadata lock before the data lock
respcompwrite() takes the data lock and then the zone metadata lock, while every other command that takes both takes the metadata lock first and reaches the data lock through dodeviceaccess(). A COMPARE AND WRITE and any other write to the same store can therefore deadlock each other.
Take the locks in the same order as everywhere else.
Correct the comment above mapregion() while here: the provisioning map is covered by the metadata lock rather than the data lock, which is why respunmap() takes only the metadata lock.
Affected Software
Event History
Frequently Asked Questions
What conditions are required to trigger the deadlock?
A COMPARE AND WRITE operation and another write targeting the same store must run in a way that causes the conflicting lock acquisition order. The issue is in the scsi_debug component of the Linux kernel.
What is the operational impact if the issue is triggered?
The competing operations can deadlock each other, preventing them from making progress.
Which systems should be prioritized for review?
Prioritize Linux systems using scsi_debug that issue COMPARE AND WRITE requests concurrently with other writes to the same store.