PT-2026-166979

CVE-2026-143121

·

Published

2026-12-03

·

Updated

2026-12-03

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

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.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾