CVE-2026-143017

Source
https://cve.org/CVERecord?id=CVE-2026-143017
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143017.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143017
Downstream
Published
2026-12-03T09:17:51Z
Modified
2026-12-03T11:01:06Z
Summary
dm zoned: do not reclaim a random zone into another random zone
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143017.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c5c7885952927384837a070793698d996cb0fbf3
Fixed
d5434e57b9dda8dbb9a8151fbcf8822f72afde26
Fixed
4f035aceb6dc9c8704b9e5da1758cbe0f457199c
Fixed
2d15a7484f36605d1d9e4519ddf2877de7f39d53
Fixed
bde66db4cb6acf7a5327896c6cca1d36e132ab5a
Fixed
fb49cab7623693db1652f1dc9ba7a8321b414f5e
Show 1 more event Show fewer events
Fixed
dab527d83462a618d99bfc96370ce45ae3428706

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143017.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.8.0
Fixed
5.10.276
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.227
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143017.json"