{"id":"AZL-117941","summary":"CVE-2026-143017 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm zoned: do not reclaim a random zone into another random zone\n\ndmz_reclaim_rnd_data() falls back to a random destination zone when no\nfree sequential zone is available and the target has cache zones. When\nthe target is idle and the cache zone list is empty,\ndmz_get_rnd_zone_for_reclaim() selects random zones of the zoned device\nas well, so a random zone is then copied into another random zone. That\nfrees nothing: the next pass picks the next random zone and copies it\nagain, for as long as the target stays idle.\n\nSeen on a two-device target (256 GiB regular cache device plus a 27 TB\nhost-managed drive) used as an md RAID5 member: after a full rebuild\nevery chunk was mapped and no sequential zone was free, and the idle\ndrive kept reading and writing while the free zone counters\nin \"dmsetup status\" did not change.\n\nOnly switch to a random destination zone when the zone being reclaimed\nis a cache zone: moving it to the zoned device still frees cache space.\n\nThis depends on \"dm zoned: back off when reclaim cannot make progress\":\nwithout it, dmz_reclaim_work() would retry the resulting -ENOSPC at\nonce, and run dmz_check_dev(), for as long as the target stays idle.\n\nTested on 7.4-rc1 together with the previous patch, on a two-device\ntarget (a 512 MiB RAM-backed regular cache device plus a 1 GiB\nscsi_debug host-managed drive) filled until no sequential zone was\nfree, then idle for 60 seconds: the stock module made 877\nrandom-to-random copies; with this series it made none, and each pass\nfailed with -ENOSPC once per DMZ_IDLE_PERIOD without a device check.","modified":"2026-12-04T14:18:39.479578005Z","published":"2026-12-03T10:17:28Z","upstream":["CVE-2026-143017"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143017"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-117941.json"}}],"schema_version":"1.9.2"}