PT-2026-166979
CVE-2026-143121
·
Publicado
2026-12-03
·
Atualizado
2026-12-03
Descrição por
Pontuação
N/A
Não disponívelNão há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
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.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾