Missing grace period in Linux kernel CPU PM notifier unregistration
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The Linux kernel's cpu_pm_unregister_notifier() does not wait for a grace period after removing a notifier block, so a driver that frees the block right after unregistering can race with a concurrent cpu_pm_notify() walker. This can cause a use after free on the CPU idle exit path. Affected are Linux kernel versions from 5.10.65 before 5.10.275, from 5.13.17 before 5.14, from 5.14.4 before 5.15, and from 5.15 onward in the second listed range. The facts report no known exploitation, and the race can occur on any system where a driver with a cpu_pm notifier is unbound.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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 ]
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade the Linux kernel to 5.10.275, 5.14, 5.15, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4 or 7.4-rc1, depending on the branch in use.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.14, 5.15
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139019
- 2026-11-30 Alias added: GHSA-2r53-4jgj-vfh3
References
Other 8
- https://git.kernel.org/stable/c/e8eeacaf930b0cce225a0cb1e506cbcf6ed99176
- https://git.kernel.org/stable/c/5ce33cc21fa0d96abb4d3a8d836ae831cdc90f4f
- https://git.kernel.org/stable/c/0d2c31dd508a0397c3f3a77a56992b2fad8ebb0b
- https://git.kernel.org/stable/c/e8207f83070d12b3a4ab6db39308b4cb44c232ca
- https://git.kernel.org/stable/c/068f07643851341ce83d6ee112b963c3a5ccf29e
- https://git.kernel.org/stable/c/58492634b0438c183df97b8a70bc66d2a74b6781
- https://git.kernel.org/stable/c/0a24ad2b5024d8dc9d6df8b936b006be1a8a809c
- https://git.kernel.org/stable/c/61f7eee7d4664079fbce821576891c3ee5ccf597
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139019 · CVE Program
- CVE-2026-139019 · NVD
- GHSA-2r53-4jgj-vfh3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences