GHSA-6VCV-8899-R697

Vulnerability from github – Published: 2026-12-03 12:31 – Updated: 2026-12-03 12:31
VLAI
Details

In the Linux kernel, the following vulnerability has been resolved:

dm zoned: back off when reclaim cannot make progress

When a reclaim pass cannot make progress, dmz_reclaim_work() still ends with dmz_schedule_reclaim(). If the target is idle, dmz_should_reclaim() keeps returning true, the work is queued again with no delay and the worker spins on the same failing pass. This patch handles two such cases:

  • dmz_do_reclaim() fails with -ENOSPC because no free zone is available to copy the data into, for example on a target without cache zones that has no free sequential zone left. The next patch also makes this the expected result when an idle target with cache zones has random zones but no free sequential zone.
  • dmz_do_reclaim() finds no zone it can lock for reclaim and returns -EBUSY. Since commit 90a9b8693f1b ("dm zoned: reclaim random zones when idle"), dmz_should_reclaim() returns true on an idle target whenever the total number of random (and cache) zones is non-zero, whether or not any of them holds data. Each pass then also runs dmz_check_dev(), which checks every device for media events (a TEST UNIT READY on SCSI disks).

The -EBUSY loop lasts as long as the target stays idle; it ends when a pass finishes while the target is busy and has enough free zones. On three 27 TB host-managed SATA drives used as md RAID5 members (7.2.10 with the module built out of tree, all random zones free, target idle for 300 seconds, kprobes attached, two other drives on the controller being zero-filled), each member's SCSI device counted about 108,000 requests per second with the stock module and the system used about 915 s of CPU time, against about 46 s with this series. libata completes TEST UNIT READY in software, so these counters do not measure commands sent to the drives; the cost is CPU time.

When a pass fails with -ENOSPC or -EBUSY, retrying at once is unlikely to make progress: re-arm the idle poll instead, so that reclaim is retried after DMZ_IDLE_PERIOD unless a zone allocation or a "reclaim" message queues it earlier. On a busy target, zone allocations can restart reclaim immediately when free space is low enough to require reclaim. Re-arming also keeps the poll running after a complete idle drain. The poll can still stop after a pass that ends while reclaim is not needed; that is unchanged.

Skip the device check for these two results: they normally mean that there is no zone to copy into or no zone to reclaim, not that a device failed, and the I/O paths check the devices themselves. Use queue_delayed_work() so that work an allocation has already queued is not postponed.

A pass that fails with an I/O error, for example on an unreadable block of a device that stays online, is still retried at once while the target is idle; this patch does not change that.

Tested on 7.4-rc1 with this patch and the next one, on three emulated host-managed drives (scsi_debug, 1 GiB, 32 MiB zones) each under dm-zoned as md RAID5 members, all random zones free and the target idle for 300 seconds. With the stock module each member's SCSI device counted about 70.2 million requests and the reclaim workers used 726 s of CPU. With this series: 75 requests per member, 30 passes per worker (one per DMZ_IDLE_PERIOD) and 0.08 s of CPU. Data written during the tests read back with matching checksums, and no kernel warnings were logged.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-143018"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-12-03T10:17:28Z",
    "severity": null
  },
  "details": "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\u0027s 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\u0027s 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.",
  "id": "GHSA-6vcv-8899-r697",
  "modified": "2026-12-03T12:31:02Z",
  "published": "2026-12-03T12:31:02Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143018"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/39d3c5531e7bb3f59fbd658715d410b3d9c80fd6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/40118c02300b4fff9a264530eb6684a43ff068e9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/91802eeca77a5b7b765e9214a435e972f87aa1a2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/98fbb24bd625127dfc9a4476bd0b3577d202c4f5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9bb1d14877f4929be17f7fdbeb4cfdf5025d464b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f5f03db60648c5fcede3f280e6b108b47c049622"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.