{"api_version":"1","generated_at":"2026-12-03T16:09:29+00:00","cve":"CVE-2026-143018","urls":{"html":"https://cve.report/CVE-2026-143018","api":"https://cve.report/api/cve/CVE-2026-143018.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143018","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143018"},"summary":{"title":"dm zoned: back off when reclaim cannot make progress","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm zoned: back off when reclaim cannot make progress\n\nWhen a reclaim pass cannot make progress, dmz_reclaim_work() still ends\nwith dmz_schedule_reclaim(). If the target is idle, dmz_should_reclaim()\nkeeps returning true, the work is queued again with no delay and the\nworker spins on the same failing pass. This patch handles two such\ncases:\n\n  - dmz_do_reclaim() fails with -ENOSPC because no free zone is\n    available to copy the data into, for example on a target without\n    cache zones that has no free sequential zone left. The next patch\n    also makes this the expected result when an idle target with cache\n    zones has random zones but no free sequential zone.\n  - dmz_do_reclaim() finds no zone it can lock for reclaim and returns\n    -EBUSY. Since commit 90a9b8693f1b (\"dm zoned: reclaim random zones\n    when idle\"), dmz_should_reclaim() returns true on an idle target\n    whenever the total number of random (and cache) zones is non-zero,\n    whether or not any of them holds data. Each pass then also runs\n    dmz_check_dev(), which checks every device for media events (a TEST\n    UNIT READY on SCSI disks).\n\nThe -EBUSY loop lasts as long as the target stays idle; it ends when a\npass finishes while the target is busy and has enough free zones. On\nthree 27 TB host-managed SATA drives used as md RAID5 members (7.2.10\nwith the module built out of tree, all random zones free, target idle\nfor 300 seconds, kprobes attached, two other drives on the controller\nbeing zero-filled), each member's SCSI device counted about 108,000\nrequests per second with the stock module and the system used about\n915 s of CPU time, against about 46 s with this series. libata completes\nTEST UNIT READY in software, so these counters do not measure commands\nsent to the drives; the cost is CPU time.\n\nWhen a pass fails with -ENOSPC or -EBUSY, retrying at once is unlikely\nto make progress: re-arm the idle poll instead, so that reclaim is\nretried after DMZ_IDLE_PERIOD unless a zone allocation or a \"reclaim\"\nmessage queues it earlier. On a busy target, zone allocations can\nrestart reclaim immediately when free space is low enough to require\nreclaim. Re-arming also keeps the poll running after a complete idle\ndrain. The poll can still stop after a pass that ends while reclaim is\nnot needed; that is unchanged.\n\nSkip the device check for these two results: they normally mean that\nthere is no zone to copy into or no zone to reclaim, not that a device\nfailed, and the I/O paths check the devices themselves. Use\nqueue_delayed_work() so that work an allocation has already queued is\nnot postponed.\n\nA pass that fails with an I/O error, for example on an unreadable block\nof a device that stays online, is still retried at once while the\ntarget is idle; this patch does not change that.\n\nTested on 7.4-rc1 with this patch and the next one, on three emulated\nhost-managed drives (scsi_debug, 1 GiB, 32 MiB zones) each under\ndm-zoned as md RAID5 members, all random zones free and the target idle\nfor 300 seconds. With the stock module each member's SCSI device counted\nabout 70.2 million requests and the reclaim workers used 726 s of CPU.\nWith this series: 75 requests per member, 30 passes per worker (one per\nDMZ_IDLE_PERIOD) and 0.08 s of CPU. Data written during the tests read\nback with matching checksums, and no kernel warnings were logged.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:17:28","updated_at":"2026-12-03 10:17:28"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/9bb1d14877f4929be17f7fdbeb4cfdf5025d464b","name":"https://git.kernel.org/stable/c/9bb1d14877f4929be17f7fdbeb4cfdf5025d464b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/91802eeca77a5b7b765e9214a435e972f87aa1a2","name":"https://git.kernel.org/stable/c/91802eeca77a5b7b765e9214a435e972f87aa1a2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/40118c02300b4fff9a264530eb6684a43ff068e9","name":"https://git.kernel.org/stable/c/40118c02300b4fff9a264530eb6684a43ff068e9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/39d3c5531e7bb3f59fbd658715d410b3d9c80fd6","name":"https://git.kernel.org/stable/c/39d3c5531e7bb3f59fbd658715d410b3d9c80fd6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/98fbb24bd625127dfc9a4476bd0b3577d202c4f5","name":"https://git.kernel.org/stable/c/98fbb24bd625127dfc9a4476bd0b3577d202c4f5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f5f03db60648c5fcede3f280e6b108b47c049622","name":"https://git.kernel.org/stable/c/f5f03db60648c5fcede3f280e6b108b47c049622","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143018","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143018","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3b1a94c88b798d4f3bd1a5b61f5c8fb9d987c242 91802eeca77a5b7b765e9214a435e972f87aa1a2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3b1a94c88b798d4f3bd1a5b61f5c8fb9d987c242 40118c02300b4fff9a264530eb6684a43ff068e9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3b1a94c88b798d4f3bd1a5b61f5c8fb9d987c242 f5f03db60648c5fcede3f280e6b108b47c049622 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3b1a94c88b798d4f3bd1a5b61f5c8fb9d987c242 39d3c5531e7bb3f59fbd658715d410b3d9c80fd6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3b1a94c88b798d4f3bd1a5b61f5c8fb9d987c242 98fbb24bd625127dfc9a4476bd0b3577d202c4f5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3b1a94c88b798d4f3bd1a5b61f5c8fb9d987c242 9bb1d14877f4929be17f7fdbeb4cfdf5025d464b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.13","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.276 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.227 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/md/dm-zoned-reclaim.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"91802eeca77a5b7b765e9214a435e972f87aa1a2","status":"affected","version":"3b1a94c88b798d4f3bd1a5b61f5c8fb9d987c242","versionType":"git"},{"lessThan":"40118c02300b4fff9a264530eb6684a43ff068e9","status":"affected","version":"3b1a94c88b798d4f3bd1a5b61f5c8fb9d987c242","versionType":"git"},{"lessThan":"f5f03db60648c5fcede3f280e6b108b47c049622","status":"affected","version":"3b1a94c88b798d4f3bd1a5b61f5c8fb9d987c242","versionType":"git"},{"lessThan":"39d3c5531e7bb3f59fbd658715d410b3d9c80fd6","status":"affected","version":"3b1a94c88b798d4f3bd1a5b61f5c8fb9d987c242","versionType":"git"},{"lessThan":"98fbb24bd625127dfc9a4476bd0b3577d202c4f5","status":"affected","version":"3b1a94c88b798d4f3bd1a5b61f5c8fb9d987c242","versionType":"git"},{"lessThan":"9bb1d14877f4929be17f7fdbeb4cfdf5025d464b","status":"affected","version":"3b1a94c88b798d4f3bd1a5b61f5c8fb9d987c242","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/md/dm-zoned-reclaim.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.13"},{"lessThan":"4.13","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.276","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.227","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.276","versionStartIncluding":"4.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.227","versionStartIncluding":"4.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"4.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"4.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"4.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc3","versionStartIncluding":"4.13","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm zoned: back off when reclaim cannot make progress\n\nWhen a reclaim pass cannot make progress, dmz_reclaim_work() still ends\nwith dmz_schedule_reclaim(). If the target is idle, dmz_should_reclaim()\nkeeps returning true, the work is queued again with no delay and the\nworker spins on the same failing pass. This patch handles two such\ncases:\n\n  - dmz_do_reclaim() fails with -ENOSPC because no free zone is\n    available to copy the data into, for example on a target without\n    cache zones that has no free sequential zone left. The next patch\n    also makes this the expected result when an idle target with cache\n    zones has random zones but no free sequential zone.\n  - dmz_do_reclaim() finds no zone it can lock for reclaim and returns\n    -EBUSY. Since commit 90a9b8693f1b (\"dm zoned: reclaim random zones\n    when idle\"), dmz_should_reclaim() returns true on an idle target\n    whenever the total number of random (and cache) zones is non-zero,\n    whether or not any of them holds data. Each pass then also runs\n    dmz_check_dev(), which checks every device for media events (a TEST\n    UNIT READY on SCSI disks).\n\nThe -EBUSY loop lasts as long as the target stays idle; it ends when a\npass finishes while the target is busy and has enough free zones. On\nthree 27 TB host-managed SATA drives used as md RAID5 members (7.2.10\nwith the module built out of tree, all random zones free, target idle\nfor 300 seconds, kprobes attached, two other drives on the controller\nbeing zero-filled), each member's SCSI device counted about 108,000\nrequests per second with the stock module and the system used about\n915 s of CPU time, against about 46 s with this series. libata completes\nTEST UNIT READY in software, so these counters do not measure commands\nsent to the drives; the cost is CPU time.\n\nWhen a pass fails with -ENOSPC or -EBUSY, retrying at once is unlikely\nto make progress: re-arm the idle poll instead, so that reclaim is\nretried after DMZ_IDLE_PERIOD unless a zone allocation or a \"reclaim\"\nmessage queues it earlier. On a busy target, zone allocations can\nrestart reclaim immediately when free space is low enough to require\nreclaim. Re-arming also keeps the poll running after a complete idle\ndrain. The poll can still stop after a pass that ends while reclaim is\nnot needed; that is unchanged.\n\nSkip the device check for these two results: they normally mean that\nthere is no zone to copy into or no zone to reclaim, not that a device\nfailed, and the I/O paths check the devices themselves. Use\nqueue_delayed_work() so that work an allocation has already queued is\nnot postponed.\n\nA pass that fails with an I/O error, for example on an unreadable block\nof a device that stays online, is still retried at once while the\ntarget is idle; this patch does not change that.\n\nTested on 7.4-rc1 with this patch and the next one, on three emulated\nhost-managed drives (scsi_debug, 1 GiB, 32 MiB zones) each under\ndm-zoned as md RAID5 members, all random zones free and the target idle\nfor 300 seconds. With the stock module each member's SCSI device counted\nabout 70.2 million requests and the reclaim workers used 726 s of CPU.\nWith this series: 75 requests per member, 30 passes per worker (one per\nDMZ_IDLE_PERIOD) and 0.08 s of CPU. Data written during the tests read\nback with matching checksums, and no kernel warnings were logged."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:17:52.972Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/91802eeca77a5b7b765e9214a435e972f87aa1a2"},{"url":"https://git.kernel.org/stable/c/40118c02300b4fff9a264530eb6684a43ff068e9"},{"url":"https://git.kernel.org/stable/c/f5f03db60648c5fcede3f280e6b108b47c049622"},{"url":"https://git.kernel.org/stable/c/39d3c5531e7bb3f59fbd658715d410b3d9c80fd6"},{"url":"https://git.kernel.org/stable/c/98fbb24bd625127dfc9a4476bd0b3577d202c4f5"},{"url":"https://git.kernel.org/stable/c/9bb1d14877f4929be17f7fdbeb4cfdf5025d464b"}],"title":"dm zoned: back off when reclaim cannot make progress","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143018","datePublished":"2026-12-03T09:17:52.972Z","dateReserved":"2026-12-03T03:10:28.343Z","dateUpdated":"2026-12-03T09:17:52.972Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:17:28","lastModifiedDate":"2026-12-03 10:17:28","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143018","Ordinal":"1","Title":"dm zoned: back off when reclaim cannot make progress","CVE":"CVE-2026-143018","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143018","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm zoned: back off when reclaim cannot make progress\n\nWhen a reclaim pass cannot make progress, dmz_reclaim_work() still ends\nwith dmz_schedule_reclaim(). If the target is idle, dmz_should_reclaim()\nkeeps returning true, the work is queued again with no delay and the\nworker spins on the same failing pass. This patch handles two such\ncases:\n\n  - dmz_do_reclaim() fails with -ENOSPC because no free zone is\n    available to copy the data into, for example on a target without\n    cache zones that has no free sequential zone left. The next patch\n    also makes this the expected result when an idle target with cache\n    zones has random zones but no free sequential zone.\n  - dmz_do_reclaim() finds no zone it can lock for reclaim and returns\n    -EBUSY. Since commit 90a9b8693f1b (\"dm zoned: reclaim random zones\n    when idle\"), dmz_should_reclaim() returns true on an idle target\n    whenever the total number of random (and cache) zones is non-zero,\n    whether or not any of them holds data. Each pass then also runs\n    dmz_check_dev(), which checks every device for media events (a TEST\n    UNIT READY on SCSI disks).\n\nThe -EBUSY loop lasts as long as the target stays idle; it ends when a\npass finishes while the target is busy and has enough free zones. On\nthree 27 TB host-managed SATA drives used as md RAID5 members (7.2.10\nwith the module built out of tree, all random zones free, target idle\nfor 300 seconds, kprobes attached, two other drives on the controller\nbeing zero-filled), each member's SCSI device counted about 108,000\nrequests per second with the stock module and the system used about\n915 s of CPU time, against about 46 s with this series. libata completes\nTEST UNIT READY in software, so these counters do not measure commands\nsent to the drives; the cost is CPU time.\n\nWhen a pass fails with -ENOSPC or -EBUSY, retrying at once is unlikely\nto make progress: re-arm the idle poll instead, so that reclaim is\nretried after DMZ_IDLE_PERIOD unless a zone allocation or a \"reclaim\"\nmessage queues it earlier. On a busy target, zone allocations can\nrestart reclaim immediately when free space is low enough to require\nreclaim. Re-arming also keeps the poll running after a complete idle\ndrain. The poll can still stop after a pass that ends while reclaim is\nnot needed; that is unchanged.\n\nSkip the device check for these two results: they normally mean that\nthere is no zone to copy into or no zone to reclaim, not that a device\nfailed, and the I/O paths check the devices themselves. Use\nqueue_delayed_work() so that work an allocation has already queued is\nnot postponed.\n\nA pass that fails with an I/O error, for example on an unreadable block\nof a device that stays online, is still retried at once while the\ntarget is idle; this patch does not change that.\n\nTested on 7.4-rc1 with this patch and the next one, on three emulated\nhost-managed drives (scsi_debug, 1 GiB, 32 MiB zones) each under\ndm-zoned as md RAID5 members, all random zones free and the target idle\nfor 300 seconds. With the stock module each member's SCSI device counted\nabout 70.2 million requests and the reclaim workers used 726 s of CPU.\nWith this series: 75 requests per member, 30 passes per worker (one per\nDMZ_IDLE_PERIOD) and 0.08 s of CPU. Data written during the tests read\nback with matching checksums, and no kernel warnings were logged.","Type":"Description","Title":"dm zoned: back off when reclaim cannot make progress"}]}}}