GHSA-VWJ6-JR4W-RV59

Vulnerability from github – Published: 2026-11-30 15:32 – Updated: 2026-11-30 15:32
VLAI
Details

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

resource: fix lost wakeup when waiting for a muxed region

A task waiting for a muxed region can sleep forever in TASK_UNINTERRUPTIBLE even though the region it waits for is already free. __request_region_locked() queues itself on muxed_resource_wait and drops resource_lock before setting TASK_UNINTERRUPTIBLE, while __release_region() wakes the queue after dropping the same lock. A wakeup landing in between finds TASK_RUNNING, does not match TASK_NORMAL and is discarded; callers hold a muxed region only across a bounded transaction, so no further release is coming. The task is unkillable and its caller never returns.

The window is one store wide, but an interrupt is enough to hold the waiter in it, and the machine this was seen on runs PREEMPT_DYNAMIC in its voluntary default. Since v6.11 spd5118 exports the DDR5 sensors of AMD boards through i2c-piix4, which takes a muxed region per SMBus transaction; a third of the in-tree users of request_muxed_region() are hwmon drivers, so reading a world-readable attribute is all an unprivileged user needs to drive the contention. The blocked task sleeps holding the i2c adapter bus lock, and 27 more piled up behind it.

Reproduced by building a kernel with the two orderings selectable at runtime and a 2ms delay inside the window. Switching only that knob, a two-thread barriered reproducer loses the wakeup 200 times out of 200 before the fix and 0 out of 200 after it; without the delay it goes 20000 times through the wait path and loses none.

Fix it by setting the task state before dropping resource_lock, as prepare_to_wait() does: the releasing side needs resource_lock to unlink the resource, so it cannot reach the wakeup before the state is published.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-138894"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-30T14:17:47Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nresource: fix lost wakeup when waiting for a muxed region\n\nA task waiting for a muxed region can sleep forever in\nTASK_UNINTERRUPTIBLE even though the region it waits for is already free. \n__request_region_locked() queues itself on muxed_resource_wait and drops\nresource_lock before setting TASK_UNINTERRUPTIBLE, while\n__release_region() wakes the queue after dropping the same lock.  A wakeup\nlanding in between finds TASK_RUNNING, does not match TASK_NORMAL and is\ndiscarded; callers hold a muxed region only across a bounded transaction,\nso no further release is coming.  The task is unkillable and its caller\nnever returns.\n\nThe window is one store wide, but an interrupt is enough to hold the\nwaiter in it, and the machine this was seen on runs PREEMPT_DYNAMIC in its\nvoluntary default.  Since v6.11 spd5118 exports the DDR5 sensors of AMD\nboards through i2c-piix4, which takes a muxed region per SMBus\ntransaction; a third of the in-tree users of request_muxed_region() are\nhwmon drivers, so reading a world-readable attribute is all an\nunprivileged user needs to drive the contention.  The blocked task sleeps\nholding the i2c adapter bus lock, and 27 more piled up behind it.\n\nReproduced by building a kernel with the two orderings selectable at\nruntime and a 2ms delay inside the window.  Switching only that knob, a\ntwo-thread barriered reproducer loses the wakeup 200 times out of 200\nbefore the fix and 0 out of 200 after it; without the delay it goes 20000\ntimes through the wait path and loses none.\n\nFix it by setting the task state before dropping resource_lock, as\nprepare_to_wait() does: the releasing side needs resource_lock to unlink\nthe resource, so it cannot reach the wakeup before the state is published.",
  "id": "GHSA-vwj6-jr4w-rv59",
  "modified": "2026-11-30T15:32:08Z",
  "published": "2026-11-30T15:32:08Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138894"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/405c00e43a9c72a0b9b318cc2d2e298386ffb58e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/415179d0ef2515a9541dd9f70536f89a1c454125"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/60ea6ea084c60bb31c4980bf34b398e5ab35d3d9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6fa7a245a6b3df2134b61ed00f19e24b7b33fac5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/85487b21e1164f484f312f05b8a8fb3b98b15d25"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/98d3eeea3ca04261283e206565868b1176bc4244"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a1b937d0e196b32a6a99022b764f2c986e961838"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/eae5341c7aedf629e72463162f84d64b92bf913a"
    }
  ],
  "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.