{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "c5c7885952927384837a070793698d996cb0fbf3"
            },
            {
              "fixed": "d5434e57b9dda8dbb9a8151fbcf8822f72afde26"
            },
            {
              "fixed": "4f035aceb6dc9c8704b9e5da1758cbe0f457199c"
            },
            {
              "fixed": "2d15a7484f36605d1d9e4519ddf2877de7f39d53"
            },
            {
              "fixed": "bde66db4cb6acf7a5327896c6cca1d36e132ab5a"
            },
            {
              "fixed": "fb49cab7623693db1652f1dc9ba7a8321b414f5e"
            },
            {
              "fixed": "dab527d83462a618d99bfc96370ce45ae3428706"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143017.json"
  },
  "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.",
  "id": "CVE-2026-143017",
  "modified": "2026-12-03T10:46:01.858026133Z",
  "published": "2026-12-03T09:17:51.872Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2d15a7484f36605d1d9e4519ddf2877de7f39d53"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4f035aceb6dc9c8704b9e5da1758cbe0f457199c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bde66db4cb6acf7a5327896c6cca1d36e132ab5a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d5434e57b9dda8dbb9a8151fbcf8822f72afde26"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dab527d83462a618d99bfc96370ce45ae3428706"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fb49cab7623693db1652f1dc9ba7a8321b414f5e"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143017.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143017"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "dm zoned: do not reclaim a random zone into another random zone"
}