PT-2026-166589

CVE-2026-142866

·

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