CVE-2026-143017

Not scored yetLast modified Dec 3, 2026

Description

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

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

dmz_reclaim_rnd_data() 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, dmz_get_rnd_zone_for_reclaim() 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, dmz_reclaim_work() would retry the resulting -ENOSPC at once, and run dmz_check_dev(), 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 scsi_debug 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 DMZ_IDLE_PERIOD without a device check.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143018In the Linux kernel, the following vulnerability has been resolved: dm zoned: back off when reclaim cannot make progress When a reclaim paCVE-2026-143019In the Linux kernel, the following vulnerability has been resolved: dm snapshot: fix discard writing into the next COW chunk zero_exceptioCVE-2026-143020In the Linux kernel, the following vulnerability has been resolved: dm snapshot: split discards on chunk boundaries dm-snapshot did not seCVE-2026-143021In the Linux kernel, the following vulnerability has been resolved: dm snapshot: fix discard_granularity unit in snapshot_io_hints snapshoCVE-2026-143022In the Linux kernel, the following vulnerability has been resolved: dm persistent data: don't leak bufio buffer if find_leaf fails If findCVE-2026-143023In the Linux kernel, the following vulnerability has been resolved: dm persistent data: don't ignore writeback errors An error returned byCVE-2026-143024In the Linux kernel, the following vulnerability has been resolved: dm-sysfs: fix misbehavior if kobject_init_and_add fails If kobject_iniCVE-2026-143025In the Linux kernel, the following vulnerability has been resolved: dm-pcache: do not advance dirty_tail after backing flush failure AfterCVE-2026-143026In the Linux kernel, the following vulnerability has been resolved: dm mpath: fix buffer overflow in parse_hw_handler() parse_hw_handler()CVE-2026-143027In the Linux kernel, the following vulnerability has been resolved: dm cache: reject kcopyd client destory if it setup failed The value ofCVE-2026-143028In the Linux kernel, the following vulnerability has been resolved: dm: fix use-after-free when dm_get_device() widens the open mode ThereCVE-2026-143029In the Linux kernel, the following vulnerability has been resolved: dm: fix infinite loop in dm_blk_do_report_zones() If the device underl
CVE-2026-143017: Unscored | Vulnix