PT-2026-166979
CVE-2026-143121
·
تاريخ النشر
2026-12-03
·
تاريخ التحديث
2026-12-03
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
power: sequencing: pcie-m2: fix use-after-free in pwrseq pcie m2 vregs enable()
During device teardown or on the probe error path, a concurrent consumer
access triggers a use-after-free in pwrseq pcie m2 vregs enable() or
pwrseq pcie m2 vregs disable() due to a lifetime inversion between
devm-managed device registration and manual resource cleanup.
The driver exposes the power sequencer using devm pwrseq device register(),
meaning the device remains fully registered and accessible on the
pwrseq bus until the driver core schedules devm pwrseq device unregister()
to run after pwrseq pcie m2 remove() returns. However, the driver performs
manual resource teardown within pwrseq pcie m2 remove() and the
pwrseq pcie m2 probe() error path, prematurely destroying the backing
regulator array.
This creates a narrow vulnerability window where the globally visible power
sequencer is backed by freed memory. If a concurrent consumer invokes
pwrseq enable() during this window, execution is routed to the sequencer
callback and dereferences the destroyed ctx->regs array, resulting in a
direct use-after-free and a kernel crash.
Schedule a devres action for freeing the memory used for the regulator
array to ensure it runs after the pwrseq provider was unregistered.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾