GHSA-2R53-4JGJ-VFH3

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:

PM: CPU: Restore synchronize_rcu() to cpu_pm_unregister_notifier()

cpu_pm_notify() walks the notifier chain lockless under only rcu_read_lock(). That only works if a removed notifier block is not freed until every concurrent walker is done with it.

The chain used to be an atomic_notifier, whose unregister ends in synchronize_rcu(). Commit b2f6662ac08d ("PM: cpu: Make notifier chain use a raw_spinlock_t") switched it over to a raw_notifier, and in doing so replaced that with raw_notifier_chain_unregister(), which does not synchronize. The grace period quietly went away, so a driver that frees the memory holding its notifier block right after cpu_pm_unregister_notifier() returns can race with a concurrent walker:

cpu1 (idle exit) cpu2 (driver remove) ---------------- -------------------- cpu_pm_notify(CPU_PM_EXIT) rcu_read_lock() nb = rcu_dereference_raw(nl) cpu_pm_unregister_notifier(&od->nb) unlink, no grace period remove() frees od (devm) nb->notifier_call(nb, ...) / use after free */

The rcu_read_lock() on cpu1 does not stop cpu2 from freeing the block, and nothing else does. The read side is the idle exit path, so this can hit on any system where a driver with a cpu_pm notifier gets unbound.

Add the grace period back. It is only needed when a notifier was actually removed, so wait on success and return -ENOENT without waiting otherwise. The kerneldoc gets back the "may sleep" note that the same commit dropped.

[ rjw: Subject tweak ]

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-139019"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-30T14:18:05Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nPM: CPU: Restore synchronize_rcu() to cpu_pm_unregister_notifier()\n\ncpu_pm_notify() walks the notifier chain lockless under only\nrcu_read_lock(). That only works if a removed notifier block is not\nfreed until every concurrent walker is done with it.\n\nThe chain used to be an atomic_notifier, whose unregister ends in\nsynchronize_rcu(). Commit b2f6662ac08d (\"PM: cpu: Make notifier chain\nuse a raw_spinlock_t\") switched it over to a raw_notifier, and in\ndoing so replaced that with raw_notifier_chain_unregister(), which\ndoes not synchronize. The grace period quietly went away, so a driver\nthat frees the memory holding its notifier block right after\ncpu_pm_unregister_notifier() returns can race with a concurrent\nwalker:\n\n  cpu1 (idle exit)                  cpu2 (driver remove)\n  ----------------                  --------------------\n  cpu_pm_notify(CPU_PM_EXIT)\n    rcu_read_lock()\n    nb = rcu_dereference_raw(*nl)\n                                    cpu_pm_unregister_notifier(\u0026od-\u003enb)\n                                      unlink, no grace period\n                                      remove() frees od (devm)\n    nb-\u003enotifier_call(nb, ...)\n      /* use after free */\n\nThe rcu_read_lock() on cpu1 does not stop cpu2 from freeing the\nblock, and nothing else does. The read side is the idle exit path,\nso this can hit on any system where a driver with a cpu_pm notifier\ngets unbound.\n\nAdd the grace period back. It is only needed when a notifier was\nactually removed, so wait on success and return -ENOENT without\nwaiting otherwise. The kerneldoc gets back the \"may sleep\" note that\nthe same commit dropped.\n\n[ rjw: Subject tweak ]",
  "id": "GHSA-2r53-4jgj-vfh3",
  "modified": "2026-11-30T15:32:13Z",
  "published": "2026-11-30T15:32:13Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139019"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/068f07643851341ce83d6ee112b963c3a5ccf29e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0a24ad2b5024d8dc9d6df8b936b006be1a8a809c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0d2c31dd508a0397c3f3a77a56992b2fad8ebb0b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/58492634b0438c183df97b8a70bc66d2a74b6781"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5ce33cc21fa0d96abb4d3a8d836ae831cdc90f4f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/61f7eee7d4664079fbce821576891c3ee5ccf597"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e8207f83070d12b3a4ab6db39308b4cb44c232ca"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e8eeacaf930b0cce225a0cb1e506cbcf6ed99176"
    }
  ],
  "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.