PT-2026-166589

CVE-2026-142866

·

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:
md/raid5: fix NULL pointer dereference in raid5 free percpu
If cpuhp state add instance() fails in raid5 alloc percpu() (e.g., the startup callback raid456 cpu up prepare fails due to an allocation failure), conf->node is never added to the cpuhp instance list and its pprev remains NULL (from kzalloc initialization).
When setup conf() then jumps to abort, free conf() calls raid5 free percpu(), which checks conf->percpu (non-NULL, since it was allocated before the cpuhp failure) and proceeds to call cpuhp state remove instance(). This calls hlist del() on the unhashed node, which dereferences node->pprev (NULL), causing a kernel panic.
Guard the removal with hlist unhashed lockless() so that the cpuhp instance is only removed if it was actually added. The lockless variant uses READ ONCE() for the pprev read, which is safe here because the actual removal is synchronized by cpuhp state mutex inside cpuhp state remove instance().
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾