Security mailing lists by PureSourceCode

CVE-2026-143017

not scored yet

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

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.

Published
3 Dec 2026
Last modified
3 Dec 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= c5c7885952927384837a070793698d996cb0fbf3, < d5434e57b9dda8dbb9a8151fbcf8822f72afde26; >= c5c7885952927384837a070793698d996cb0fbf3, < 4f035aceb6dc9c8704b9e5da1758cbe0f457199c; >= c5c7885952927384837a070793698d996cb0fbf3, < 2d15a7484f36605d1d9e4519ddf2877de7f39d53; >= c5c7885952927384837a070793698d996cb0fbf3, < bde66db4cb6acf7a5327896c6cca1d36e132ab5a; >= c5c7885952927384837a070793698d996cb0fbf3, < fb49cab7623693db1652f1dc9ba7a8321b414f5e; >= c5c7885952927384837a070793698d996cb0fbf3, < dab527d83462a618d99bfc96370ce45ae3428706 d5434e57b9dda8dbb9a8151fbcf8822f72afde26, 4f035aceb6dc9c8704b9e5da1758cbe0f457199c, 2d15a7484f36605d1d9e4519ddf2877de7f39d53, bde66db4cb6acf7a5327896c6cca1d36e132ab5a, fb49cab7623693db1652f1dc9ba7a8321b414f5e, dab527d83462a618d99bfc96370ce45ae3428706
CVE List Linux Linux = 5.8

References

History

  • 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
  • 3 Dec 2026 10:07 UTC · CVE List: first stored (published 3 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.