Description
In the Linux kernel, the following vulnerability has been resolved: dm: avoid double-dropping the zone reset submission reference On an error in __send_zone_reset_all(), the submission reference held by the dm_io can be decremented there and again by the caller's error path. If another clone is still outstanding, the second drop can release the dm_io before that clone completes. Only drop the submission reference in __send_zone_reset_all() 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 GFP_NOIO 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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
81e7706345f06e1e97a092f59697b7e20a0ee868 to < 46170cf6bf08a04ccea5ef1a869e1f41b487c29daffected81e7706345f06e1e97a092f59697b7e20a0ee868 to < 2fb99690d4eb2895666b04a9537467c13679b5adaffected81e7706345f06e1e97a092f59697b7e20a0ee868 to < 10da6a6f2e952462fb89bddb9803fd6866a9dd44affected81e7706345f06e1e97a092f59697b7e20a0ee868 to < c4965effbe15f837a8089e79c0fc17ab19363cceaffected
Linux Linux
Default version status: affected
6.11affected0 to < 6.11unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected