{"id":"CVE-2026-139019","summary":"PM: CPU: Restore synchronize_rcu() to cpu_pm_unregister_notifier()","details":"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-\u003enb)\n                                      unlink, no grace period\n                                      remove() frees od (devm)\n    nb-\u003enotifier_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 ]","modified":"2026-11-30T15:01:48.093862800Z","published":"2026-11-30T13:27:07.267Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139019.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/068f07643851341ce83d6ee112b963c3a5ccf29e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0a24ad2b5024d8dc9d6df8b936b006be1a8a809c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0d2c31dd508a0397c3f3a77a56992b2fad8ebb0b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/58492634b0438c183df97b8a70bc66d2a74b6781"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5ce33cc21fa0d96abb4d3a8d836ae831cdc90f4f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/61f7eee7d4664079fbce821576891c3ee5ccf597"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e8207f83070d12b3a4ab6db39308b4cb44c232ca"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e8eeacaf930b0cce225a0cb1e506cbcf6ed99176"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139019.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139019"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4b7874a32ec23cc4892e7c9ffac1dd8160ea3697"},{"fixed":"e8eeacaf930b0cce225a0cb1e506cbcf6ed99176"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b2f6662ac08d0e7c25574ce53623c71bdae9dd78"},{"fixed":"5ce33cc21fa0d96abb4d3a8d836ae831cdc90f4f"},{"fixed":"0d2c31dd508a0397c3f3a77a56992b2fad8ebb0b"},{"fixed":"e8207f83070d12b3a4ab6db39308b4cb44c232ca"},{"fixed":"068f07643851341ce83d6ee112b963c3a5ccf29e"},{"fixed":"58492634b0438c183df97b8a70bc66d2a74b6781"},{"fixed":"0a24ad2b5024d8dc9d6df8b936b006be1a8a809c"},{"fixed":"61f7eee7d4664079fbce821576891c3ee5ccf597"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2f20c3cb46d97e97ef72d29b4794a3072f0a2e17"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f4a79b7d8bd6171ce60902a5d3ef9badec397ab3"}]}],"versions":["v5.10.274","v5.10.273","v5.10.272","v5.10.271","v5.10.270","v5.10.269","v5.10.268","v5.10.267","v5.10.266","v5.10.265","v5.10.264","v5.10.263","v5.10.262","v5.10.261","v5.10.260","v5.10.259","v5.10.258","v5.10.257","v5.10.256","v5.10.255","v5.10.254","v5.10.253","v5.10.252","v5.10.251","v5.10.250","v5.10.249","v5.10.248","v5.10.247","v5.10.246","v5.10.245","v5.10.244","v5.10.243","v5.10.242","v5.10.241","v5.10.240","v5.10.239","v5.10.238","v5.10.237","v5.10.236","v5.10.235","v5.10.234","v5.10.233","v5.10.232","v5.10.231","v5.10.230","v5.10.229","v5.10.228","v5.10.227","v5.10.226","v5.10.225","v5.10.224","v5.10.223","v5.10.222","v5.10.221","v5.10.220","v5.10.219","v5.10.218","v5.10.217","v5.10.216","v5.10.215","v5.10.214","v5.10.213","v5.10.212","v5.10.211","v5.10.210","v5.10.209","v5.10.208","v5.10.207","v5.10.206","v5.10.205","v5.10.204","v5.10.203","v5.10.202","v5.10.201","v5.10.200","v5.10.199","v5.10.198","v5.10.197","v5.10.196","v5.10.195","v5.10.194","v5.10.193","v5.10.192","v5.10.191","v5.10.190","v5.10.189","v5.10.188","v5.10.187","v5.10.186","v5.10.185","v5.10.184","v5.10.183","v5.10.182","v5.10.181","v5.10.180","v5.10.179","v5.10.178","v5.10.177","v5.10.176","v5.10.175","v5.10.174","v5.10.173","v5.10.172","v5.10.171","v5.10.170","v5.10.169","v5.10.168","v5.10.167","v5.10.166","v5.10.165","v5.10.164","v5.10.163","v5.10.162","v5.10.161","v5.10.160","v5.10.159","v5.10.158","v5.10.157","v5.10.156","v5.10.155","v5.10.154","v5.10.153","v5.10.152","v5.10.151","v5.10.150","v5.10.149","v5.10.148","v5.10.147","v5.10.146","v5.10.145","v5.10.144","v5.10.143","v5.10.142","v5.10.141","v5.10.140","v5.10.139","v5.10.138","v5.10.137","v5.10.136","v5.10.135","v5.10.134","v5.10.133","v5.10.132","v5.10.131","v5.10.130","v5.10.129","v5.10.128","v5.10.127","v5.10.126","v5.10.125","v5.10.124","v5.10.123","v5.10.122","v5.10.121","v5.10.120","v5.10.119","v5.10.118","v5.10.117","v5.10.116","v5.10.115","v5.10.114","v5.10.113","v5.10.112","v5.10.111","v5.10.110","v5.10.109","v5.10.108","v5.10.107","v5.10.106","v5.10.105","v5.10.104","v5.10.103","v5.10.102","v5.10.101","v5.10.100","v5.10.99","v5.10.98","v5.10.97","v5.10.96","v5.10.95","v5.10.94","v5.10.93","v5.10.92","v5.10.91","v5.10.90","v5.10.89","v5.10.88","v5.10.87","v5.10.86","v5.10.85","v5.10.84","v5.10.83","v5.10.82","v5.10.81","v5.10.80","v5.10.79","v5.10.78","v5.10.77","v5.10.76","v5.10.75","v5.10.74","v5.10.73","v5.10.72","v5.10.71","v5.10.70","v5.10.69","v5.10.68","v5.10.67","v5.10.66","v5.10.65","v5.13.19","v5.13.18","v5.13.17","v5.14.21","v5.14.20","v5.14.19","v5.14.18","v5.14.17","v5.14.16","v5.14.15","v5.14.14","v5.14.13","v5.14.12","v5.14.11","v5.14.10","v5.14.9","v5.14.8","v5.14.7","v5.14.6","v5.14.5","v5.14.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139019.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.10.65"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.13.17"},{"fixed":"5.14"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.14.4"},{"fixed":"5.15"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139019.json"}}],"schema_version":"1.9.2"}