CVE-2026-139019: PM: CPU: Restore synchronize_rcu() to cpu_pm_unregister_notifier()

Published Nov 30, 2026
·
Updated

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

PM: CPU: Restore synchronizercu() to cpupmunregisternotifier()

cpupmnotify() walks the notifier chain lockless under only rcureadlock(). 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 atomicnotifier, whose unregister ends in synchronizercu(). Commit b2f6662ac08d ("PM: cpu: Make notifier chain use a rawspinlockt") switched it over to a rawnotifier, and in doing so replaced that with rawnotifierchainunregister(), which does not synchronize. The grace period quietly went away, so a driver that frees the memory holding its notifier block right after cpupmunregisternotifier() returns can race with a concurrent walker:

cpu1 (idle exit) cpu2 (driver remove) ---------------- -------------------- cpupmnotify(CPUPMEXIT) rcureadlock() nb = rcudereferenceraw(nl) cpupmunregisternotifier(&od->nb) unlink, no grace period remove() frees od (devm) nb->notifiercall(nb, ...) / use after free /

The rcureadlock() 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 cpupm 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 ]

Affected Software

14 affected componentsFixes available
Linux Linux kernel
linux/kernel>=5.10.65<5.10.275
5.10.275
linux/kernel>=5.13.17<5.14
5.14
linux/kernel>=5.14.4<5.15
5.15
linux/kernel>=5.15.0<5.15.226
5.15.226
linux/kernel>=5.16.0<6.1.193
6.1.193
linux/kernel>=6.2.0<6.6.163
6.6.163
linux/kernel>=6.7.0<6.12.117
6.12.117
linux/kernel>=6.13.0<6.18.63
6.18.63
linux/kernel>=6.19.0<7.3.4
7.3.4
debian/linux*
debian/linux<6.12.117-1
6.12.117-1
debian/linux<7.3.4-1
7.3.4-1
debian/linux<=6.1.176-1, <=6.1.192-3
6.12.117-17.3.4-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.10.275
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.14
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.226
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.193
  6. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  7. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.117
  8. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.63
  9. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.4
  10. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.117-1
  11. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.4-1
  12. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.117-1Fixed in 7.3.4-1
  13. Compensating control

    Restore synchronize_rcu() to cpu_pm_unregister_notifier() so it waits for concurrent notifier-chain walkers before returning after a successful unregister.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:27 PM
Data Sourced
via MITRE·01:27 PM
Description
Data Sourced
via OSV·01:27 PM
DescriptionAffected Software
Data Sourced
via NVD·02:18 PM
Description

Frequently Asked Questions

1

What conditions are required for this use-after-free to occur?

A driver must unregister a CPU PM notifier and free the memory containing its notifier block immediately afterward, while another CPU is concurrently walking the notifier chain during an idle-exit CPU PM notification. The concurrent walker can then invoke the freed notifier block.

2

Which systems or drivers are exposed?

Exposure is limited to Linux kernel drivers that register CPU PM notifiers and free their notifier-containing object after cpu_pm_unregister_notifier() returns. The described race affects the CPU PM notifier-chain path, including concurrent CPU idle-exit handling.

3

How can this be mitigated if the kernel fix cannot be applied immediately?

Avoid freeing the memory that contains a CPU PM notifier block immediately after unregistering it. The object must remain valid until concurrent RCU notifier-chain readers can no longer reference it.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203