PT-2026-161466
تاريخ النشر
2026-11-19
·
تاريخ التحديث
2026-11-19
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
phy: core: Fix race-condition between of phy get() and try module get()
Sashiko asked during a patch review if the existing usage pattern had a
race condition; specifically in of phy get() if it was possible between
returning from of phy get() and running try module get() that a module
might be unbound leading to use-after-free.
Looking at the code this appears to be so, there is no linkage between the
phy and module under a synchronisation primitive.
Using the phy provider mutex in phy get() will ensure there is a link between
the returned phy pointer and the module get() bumping the module reference
count.
Amend phy get(), of phy get() and devm of phy get by index() to fix the
same usage pattern.
phy provider unregister() must take the phy provider mutex so amending
phy get()/of phy get() to take that same mutex guarantees there is no
use-after-free.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾