CVE-2026-139019
PM: CPU: Restore synchronize_rcu() to cpu_pm_unregister_notifier()
Check your servers for CVE-2026-139019
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139019 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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 ]
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 4b7874a32ec23cc4892e7c9ffac1dd8160ea3697, before e8eeacaf930b0cce225a0cb1e506cbcf6ed99176 affected from b2f6662ac08d0e7c25574ce53623c71bdae9dd78, before 5ce33cc21fa0d96abb4d3a8d836ae831cdc90f4f affected from b2f6662ac08d0e7c25574ce53623c71bdae9dd78, before 0d2c31dd508a0397c3f3a77a56992b2fad8ebb0b affected from b2f6662ac08d0e7c25574ce53623c71bdae9dd78, before e8207f83070d12b3a4ab6db39308b4cb44c232ca affected from b2f6662ac08d0e7c25574ce53623c71bdae9dd78, before 068f07643851341ce83d6ee112b963c3a5ccf29e affected from b2f6662ac08d0e7c25574ce53623c71bdae9dd78, before 58492634b0438c183df97b8a70bc66d2a74b6781 affected from b2f6662ac08d0e7c25574ce53623c71bdae9dd78, before 0a24ad2b5024d8dc9d6df8b936b006be1a8a809c affected from b2f6662ac08d0e7c25574ce53623c71bdae9dd78, before 61f7eee7d4664079fbce821576891c3ee5ccf597 affected 2f20c3cb46d97e97ef72d29b4794a3072f0a2e17 affected f4a79b7d8bd6171ce60902a5d3ef9badec397ab3 affected from 5.10.65, before 5.10.275 affected from 5.13.17, before 5.14 affected from 5.14.4, before 5.15
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139019 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139019
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139019
trivy image --scanners vuln IMAGE | grep CVE-2026-139019
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/e8eeacaf930b0cce225a0cb1e506cbcf6ed99176 git.kernel.org
- https://git.kernel.org/stable/c/5ce33cc21fa0d96abb4d3a8d836ae831cdc90f4f git.kernel.org
- https://git.kernel.org/stable/c/0d2c31dd508a0397c3f3a77a56992b2fad8ebb0b git.kernel.org
- https://git.kernel.org/stable/c/e8207f83070d12b3a4ab6db39308b4cb44c232ca git.kernel.org
- https://git.kernel.org/stable/c/068f07643851341ce83d6ee112b963c3a5ccf29e git.kernel.org
- https://git.kernel.org/stable/c/58492634b0438c183df97b8a70bc66d2a74b6781 git.kernel.org
- https://git.kernel.org/stable/c/0a24ad2b5024d8dc9d6df8b936b006be1a8a809c git.kernel.org
- https://git.kernel.org/stable/c/61f7eee7d4664079fbce821576891c3ee5ccf597 git.kernel.org
Source: the record CVE-2026-139019 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse