CVE-2026-143030: dm: avoid double-dropping the zone reset submission reference
In the Linux kernel, the following vulnerability has been resolved:
dm: avoid double-dropping the zone reset submission reference
On an error in sendzoneresetall(), the submission reference held by the dmio can be decremented there and again by the caller's error path. If another clone is still outstanding, the second drop can release the dmio before that clone completes.
Only drop the submission reference in sendzoneresetall() on success. On failure, leave the reference for the caller's existing error handling to release once.
The error path was reproduced under KASAN with an injected GFPNOIO allocation failure while another zone-reset clone remained in flight. With the change, the same failure was reported normally, without the observed use-after-free, and ordinary zone resets continued to work.
Affected Software
Event History
Frequently Asked Questions
What conditions are required for the use-after-free to occur?
A zone-reset submission must encounter an error in __send_zone_reset_all() while another zone-reset clone is still in flight. The issue was reproduced with an injected GFP_NOIO allocation failure under KASAN.
How can an affected system be identified?
The reported symptom was a use-after-free detected by KASAN during the error path for a zone-reset operation. The failure that triggers it may otherwise be reported normally, so the provided data does not identify a non-KASAN indicator.
Does the fix change normal zone-reset behavior?
The provided validation states that ordinary zone resets continued to work after the change. The fix changes reference handling only for the error path, leaving the caller to release the submission reference on failure.