PT-2026-163060

CVE-2026-139019

·

تاريخ النشر

2026-11-30

·

تاريخ التحديث

2026-11-30

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

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 ]
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾