{"id":"CVE-2026-139019","state":"PUBLISHED","title":"PM: CPU: Restore synchronize_rcu() to cpu_pm_unregister_notifier()","description":"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(&od->nb)\n                                      unlink, no grace period\n                                      remove() frees od (devm)\n    nb->notifier_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 ]","publishedAt":"2026-11-30T13:27:07.267Z","updatedAt":"2026-11-30T13:27:07.267Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4b7874a32ec23cc4892e7c9ffac1dd8160ea3697","status":"affected","lessThan":"e8eeacaf930b0cce225a0cb1e506cbcf6ed99176","versionType":"git"},{"version":"b2f6662ac08d0e7c25574ce53623c71bdae9dd78","status":"affected","lessThan":"5ce33cc21fa0d96abb4d3a8d836ae831cdc90f4f","versionType":"git"},{"version":"b2f6662ac08d0e7c25574ce53623c71bdae9dd78","status":"affected","lessThan":"0d2c31dd508a0397c3f3a77a56992b2fad8ebb0b","versionType":"git"},{"version":"b2f6662ac08d0e7c25574ce53623c71bdae9dd78","status":"affected","lessThan":"e8207f83070d12b3a4ab6db39308b4cb44c232ca","versionType":"git"},{"version":"b2f6662ac08d0e7c25574ce53623c71bdae9dd78","status":"affected","lessThan":"068f07643851341ce83d6ee112b963c3a5ccf29e","versionType":"git"},{"version":"b2f6662ac08d0e7c25574ce53623c71bdae9dd78","status":"affected","lessThan":"58492634b0438c183df97b8a70bc66d2a74b6781","versionType":"git"},{"version":"b2f6662ac08d0e7c25574ce53623c71bdae9dd78","status":"affected","lessThan":"0a24ad2b5024d8dc9d6df8b936b006be1a8a809c","versionType":"git"},{"version":"b2f6662ac08d0e7c25574ce53623c71bdae9dd78","status":"affected","lessThan":"61f7eee7d4664079fbce821576891c3ee5ccf597","versionType":"git"},{"version":"2f20c3cb46d97e97ef72d29b4794a3072f0a2e17","status":"affected","versionType":"git"},{"version":"f4a79b7d8bd6171ce60902a5d3ef9badec397ab3","status":"affected","versionType":"git"},{"version":"5.10.65","status":"affected","lessThan":"5.10.275","versionType":"semver"},{"version":"5.13.17","status":"affected","lessThan":"5.14","versionType":"semver"},{"version":"5.14.4","status":"affected","lessThan":"5.15","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/cpu_pm.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.10.275","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.226","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.63","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.4","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/cpu_pm.c"]}],"references":["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"],"weaknesses":[],"ingestedAt":"2026-11-30T13:40:04.421Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139019.json","commit":"5317bbbde1916a58cb1fadabb726eb126daf44c1","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139019","state":"PUBLISHED","datePublished":"2026-11-30T13:27:07.267Z","dateUpdated":"2026-11-30T13:27:07.267Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.909Z"},"containers":{"cna":{"title":"PM: CPU: Restore synchronize_rcu() to cpu_pm_unregister_notifier()","descriptions":[{"lang":"en","value":"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(&od->nb)\n                                      unlink, no grace period\n                                      remove() frees od (devm)\n    nb->notifier_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 ]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4b7874a32ec23cc4892e7c9ffac1dd8160ea3697","status":"affected","lessThan":"e8eeacaf930b0cce225a0cb1e506cbcf6ed99176","versionType":"git"},{"version":"b2f6662ac08d0e7c25574ce53623c71bdae9dd78","status":"affected","lessThan":"5ce33cc21fa0d96abb4d3a8d836ae831cdc90f4f","versionType":"git"},{"version":"b2f6662ac08d0e7c25574ce53623c71bdae9dd78","status":"affected","lessThan":"0d2c31dd508a0397c3f3a77a56992b2fad8ebb0b","versionType":"git"},{"version":"b2f6662ac08d0e7c25574ce53623c71bdae9dd78","status":"affected","lessThan":"e8207f83070d12b3a4ab6db39308b4cb44c232ca","versionType":"git"},{"version":"b2f6662ac08d0e7c25574ce53623c71bdae9dd78","status":"affected","lessThan":"068f07643851341ce83d6ee112b963c3a5ccf29e","versionType":"git"},{"version":"b2f6662ac08d0e7c25574ce53623c71bdae9dd78","status":"affected","lessThan":"58492634b0438c183df97b8a70bc66d2a74b6781","versionType":"git"},{"version":"b2f6662ac08d0e7c25574ce53623c71bdae9dd78","status":"affected","lessThan":"0a24ad2b5024d8dc9d6df8b936b006be1a8a809c","versionType":"git"},{"version":"b2f6662ac08d0e7c25574ce53623c71bdae9dd78","status":"affected","lessThan":"61f7eee7d4664079fbce821576891c3ee5ccf597","versionType":"git"},{"version":"2f20c3cb46d97e97ef72d29b4794a3072f0a2e17","status":"affected","versionType":"git"},{"version":"f4a79b7d8bd6171ce60902a5d3ef9badec397ab3","status":"affected","versionType":"git"},{"version":"5.10.65","status":"affected","lessThan":"5.10.275","versionType":"semver"},{"version":"5.13.17","status":"affected","lessThan":"5.14","versionType":"semver"},{"version":"5.14.4","status":"affected","lessThan":"5.15","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/cpu_pm.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.10.275","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.226","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.63","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.4","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/cpu_pm.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e8eeacaf930b0cce225a0cb1e506cbcf6ed99176"},{"url":"https://git.kernel.org/stable/c/5ce33cc21fa0d96abb4d3a8d836ae831cdc90f4f"},{"url":"https://git.kernel.org/stable/c/0d2c31dd508a0397c3f3a77a56992b2fad8ebb0b"},{"url":"https://git.kernel.org/stable/c/e8207f83070d12b3a4ab6db39308b4cb44c232ca"},{"url":"https://git.kernel.org/stable/c/068f07643851341ce83d6ee112b963c3a5ccf29e"},{"url":"https://git.kernel.org/stable/c/58492634b0438c183df97b8a70bc66d2a74b6781"},{"url":"https://git.kernel.org/stable/c/0a24ad2b5024d8dc9d6df8b936b006be1a8a809c"},{"url":"https://git.kernel.org/stable/c/61f7eee7d4664079fbce821576891c3ee5ccf597"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:27:07.267Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.65","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.4-rc1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13.17"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14.4"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}