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

Summary

CVECVE-2026-139019
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:18:05 UTC
Updated2026-11-30 14:18:05 UTC
DescriptionIn 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 ]

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 4b7874a32ec23cc4892e7c9ffac1dd8160ea3697 e8eeacaf930b0cce225a0cb1e506cbcf6ed99176 git Not specified
CNA Linux Linux affected b2f6662ac08d0e7c25574ce53623c71bdae9dd78 5ce33cc21fa0d96abb4d3a8d836ae831cdc90f4f git Not specified
CNA Linux Linux affected b2f6662ac08d0e7c25574ce53623c71bdae9dd78 0d2c31dd508a0397c3f3a77a56992b2fad8ebb0b git Not specified
CNA Linux Linux affected b2f6662ac08d0e7c25574ce53623c71bdae9dd78 e8207f83070d12b3a4ab6db39308b4cb44c232ca git Not specified
CNA Linux Linux affected b2f6662ac08d0e7c25574ce53623c71bdae9dd78 068f07643851341ce83d6ee112b963c3a5ccf29e git Not specified
CNA Linux Linux affected b2f6662ac08d0e7c25574ce53623c71bdae9dd78 58492634b0438c183df97b8a70bc66d2a74b6781 git Not specified
CNA Linux Linux affected b2f6662ac08d0e7c25574ce53623c71bdae9dd78 0a24ad2b5024d8dc9d6df8b936b006be1a8a809c git Not specified
CNA Linux Linux affected b2f6662ac08d0e7c25574ce53623c71bdae9dd78 61f7eee7d4664079fbce821576891c3ee5ccf597 git Not specified
CNA Linux Linux affected 2f20c3cb46d97e97ef72d29b4794a3072f0a2e17 git Not specified
CNA Linux Linux affected f4a79b7d8bd6171ce60902a5d3ef9badec397ab3 git Not specified
CNA Linux Linux affected 5.10.65 5.10.275 semver Not specified
CNA Linux Linux affected 5.13.17 5.14 semver Not specified
CNA Linux Linux affected 5.14.4 5.15 semver Not specified
CNA Linux Linux affected 5.15 Not specified
CNA Linux Linux unaffected 5.15 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.117 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.63 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.4 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/0a24ad2b5024d8dc9d6df8b936b006be1a8a809c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/58492634b0438c183df97b8a70bc66d2a74b6781 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0d2c31dd508a0397c3f3a77a56992b2fad8ebb0b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5ce33cc21fa0d96abb4d3a8d836ae831cdc90f4f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e8eeacaf930b0cce225a0cb1e506cbcf6ed99176 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/61f7eee7d4664079fbce821576891c3ee5ccf597 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e8207f83070d12b3a4ab6db39308b4cb44c232ca 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/068f07643851341ce83d6ee112b963c3a5ccf29e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report