{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143017",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.343Z",
        "datePublished": "2026-12-03T09:17:51.872Z",
        "dateUpdated": "2026-12-03T09:17:51.872Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:17:51.872Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/md/dm-zoned-reclaim.c"
                    ],
                    "versions": [
                        {
                            "version": "c5c7885952927384837a070793698d996cb0fbf3",
                            "lessThan": "d5434e57b9dda8dbb9a8151fbcf8822f72afde26",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c5c7885952927384837a070793698d996cb0fbf3",
                            "lessThan": "4f035aceb6dc9c8704b9e5da1758cbe0f457199c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c5c7885952927384837a070793698d996cb0fbf3",
                            "lessThan": "2d15a7484f36605d1d9e4519ddf2877de7f39d53",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c5c7885952927384837a070793698d996cb0fbf3",
                            "lessThan": "bde66db4cb6acf7a5327896c6cca1d36e132ab5a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c5c7885952927384837a070793698d996cb0fbf3",
                            "lessThan": "fb49cab7623693db1652f1dc9ba7a8321b414f5e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c5c7885952927384837a070793698d996cb0fbf3",
                            "lessThan": "dab527d83462a618d99bfc96370ce45ae3428706",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/md/dm-zoned-reclaim.c"
                    ],
                    "versions": [
                        {
                            "version": "5.8",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.8",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.276",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.227",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.120",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.66",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "5.10.276"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "5.15.227"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/d5434e57b9dda8dbb9a8151fbcf8822f72afde26"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4f035aceb6dc9c8704b9e5da1758cbe0f457199c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2d15a7484f36605d1d9e4519ddf2877de7f39d53"
                },
                {
                    "url": "https://git.kernel.org/stable/c/bde66db4cb6acf7a5327896c6cca1d36e132ab5a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/fb49cab7623693db1652f1dc9ba7a8321b414f5e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/dab527d83462a618d99bfc96370ce45ae3428706"
                }
            ],
            "title": "dm zoned: do not reclaim a random zone into another random zone",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}