CVE-2025-71135
kernel: md/raid5: fix possible null-pointer dereferences in raid5_store_group_thread_cnt()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · January 14, 2026
Updated · June 28, 2026
Description
A NULL pointer dereference vulnerability was found in the Linux kernel's RAID5 implementation. In raid5_store_group_thread_cnt(), when mddev->private (conf) is NULL, the function still calls raid5_quiesce() which re-reads mddev->private and dereferences it. This causes a kernel crash when accessing conf->quiesce or calling wake_up() on the NULL pointer's wait queue.
Statement
This vulnerability affects systems using software RAID5 arrays. The NULL dereference can be triggered through sysfs by writing to the group_thread_cnt attribute when the RAID array is in a transitional state where the private configuration is not yet initialized. Root privileges are required to write to RAID sysfs attributes.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-476 · NULL Pointer Dereference