PT-2026-166525

CVE-2026-142802

·

Publicado

2026-12-03

·

Atualizado

2026-12-03

Descrição por

Pontuação
N/A
Não disponível

Nã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:
platform/x86/amd: hfi: Fix a use-after-free when unloading the driver
amd hfi probe() registers CPU hotplug callbacks with cpuhp setup state(CPUHP AP ONLINE DYN, ...) and schedules the static sched amd hfi itmt work work item, but amd hfi remove() tears down neither. The dynamically assigned hotplug state returned by cpuhp setup state() is discarded, so cpuhp remove state() can never be called, and the pending work is never cancelled.
After the module is unloaded and its memory is freed, any subsequent CPU hotplug event or execution of the scheduled work dereferences the stale callback and work function pointers, resulting in a use-after-free and kernel panic.
Store the hotplug state returned by cpuhp setup state() and, on removal, call cpuhp remove state() to unregister the callbacks and cancel work sync() to flush the scheduled work before the module memory goes away.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾