A NULL pointer dereference vulnerability in the Linux kernel's md/raid5 subsystem was fixed. The flaw occurs when cpuhp_state_add_instance() fails during raid5_alloc_percpu(), leading to an unhashed node with a NULL pprev pointer. Subsequent cleanup calls cause a kernel panic due to dereferencing this NULL pointer. The fix adds a guard to ensure removal only happens if the node was actually added, preventing the panic.