CVE-2026-143017: dm zoned: do not reclaim a random zone into another random zone

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

dm zoned: do not reclaim a random zone into another random zone

dmzreclaimrnddata() falls back to a random destination zone when no free sequential zone is available and the target has cache zones. When the target is idle and the cache zone list is empty, dmzgetrndzoneforreclaim() selects random zones of the zoned device as well, so a random zone is then copied into another random zone. That frees nothing: the next pass picks the next random zone and copies it again, for as long as the target stays idle.

Seen on a two-device target (256 GiB regular cache device plus a 27 TB host-managed drive) used as an md RAID5 member: after a full rebuild every chunk was mapped and no sequential zone was free, and the idle drive kept reading and writing while the free zone counters in "dmsetup status" did not change.

Only switch to a random destination zone when the zone being reclaimed is a cache zone: moving it to the zoned device still frees cache space.

This depends on "dm zoned: back off when reclaim cannot make progress": without it, dmzreclaimwork() would retry the resulting -ENOSPC at once, and run dmzcheckdev(), for as long as the target stays idle.

Tested on 7.4-rc1 together with the previous patch, on a two-device target (a 512 MiB RAM-backed regular cache device plus a 1 GiB scsidebug host-managed drive) filled until no sequential zone was free, then idle for 60 seconds: the stock module made 877 random-to-random copies; with this series it made none, and each pass failed with -ENOSPC once per DMZIDLEPERIOD without a device check.

Affected Software

1 affected component
Linux Linux kernel

Event History

Dec 3, 2026
CVE Published
via MITRE·09:17 AM
Data Sourced
via MITRE·09:17 AM
Description

Frequently Asked Questions

1

Which dm-zoned configurations can encounter this behavior?

It can occur when no free sequential zone is available and the target has cache zones. The problematic path is reached while the target is idle and its cache-zone list is empty, allowing a random zone on the zoned device to be selected as the reclaim destination.

2

How can I tell whether a system is affected during reclaim?

An idle drive may continue reading and writing while the free-zone counters reported by "dmsetup status" do not change. This indicates random zones are being copied to other random zones without freeing space.

3

Why does copying to a random destination zone fail to make reclaim progress?

Copying a random zone from the zoned device into another random zone on that same device frees no cache space or sequential zone. Subsequent reclaim passes can repeat the same operation while the target remains idle.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203