# CVE-2025-71135: md/raid5: fix possible null-pointer dereferences in raid5\_store\_group\_thread\_cnt()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 6, 2026-11-28)
- **CWE:** CWE-476
- **Published:** 2026-01-14T15:07:49.891Z
- **Modified:** 2026-11-05T22:17:37.810Z

## Who should check

- Anyone running Linux \>= be19e6e4339d1579d5f2fae8ce4facf9521dbbfc, \< 20597b7229aea8b5bc45cd92097640257c7fc33b; \>= fa1944bbe6220eb929e2c02e5e8706b908565711, \< e5abb6af905de6b2fead8a0b3f32ab0b81468a01; \>= fa1944bbe6220eb929e2c02e5e8706b908565711, \< 7ad6ef91d8745d04aff9cce7bdbc6320d8e05fe9; \>= 6.12.4, \< 6.12.64
- Anyone running Linux 6.13

## Description

In the Linux kernel, the following vulnerability has been resolved:

md/raid5: fix possible null-pointer dereferences in raid5\_store\_group\_thread\_cnt()

The variable mddev-\>private is first assigned to conf and then checked:

  conf = mddev-\>private;
  if (!conf) ...

If conf is NULL, then mddev-\>private is also NULL. In this case,
null-pointer dereferences can occur when calling raid5\_quiesce():

  raid5\_quiesce(mddev, true);
  raid5\_quiesce(mddev, false);

since mddev-\>private is assigned to conf again in raid5\_quiesce(), and conf
is dereferenced in several places, for example:

  conf-\>quiesce = 0;
  wake\_up(&conf-\>wait\_for\_quiescent);

To fix this issue, the function should unlock mddev and return before
invoking raid5\_quiesce() when conf is NULL, following the existing pattern
in raid5\_change\_consistency\_policy().

## Affected and fixed versions

- Linux: \>= be19e6e4339d1579d5f2fae8ce4facf9521dbbfc, \< 20597b7229aea8b5bc45cd92097640257c7fc33b; \>= fa1944bbe6220eb929e2c02e5e8706b908565711, \< e5abb6af905de6b2fead8a0b3f32ab0b81468a01; \>= fa1944bbe6220eb929e2c02e5e8706b908565711, \< 7ad6ef91d8745d04aff9cce7bdbc6320d8e05fe9; \>= 6.12.4, \< 6.12.64 (cvelist)
- Linux: 6.13 (cvelist)

## Mitigation

- Upgrade Linux to 6.12.64 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-71135. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-71135.md
Affected: Linux >= be19e6e4339d1579d5f2fae8ce4facf9521dbbfc, < 20597b7229aea8b5bc45cd92097640257c7fc33b; >= fa1944bbe6220eb929e2c02e5e8706b908565711, < e5abb6af905de6b2fead8a0b3f32ab0b81468a01; >= fa1944bbe6220eb929e2c02e5e8706b908565711, < 7ad6ef91d8745d04aff9cce7bdbc6320d8e05fe9; >= 6.12.4, < 6.12.64; Linu…
Fixed in: Linux 20597b7229aea8b5bc45cd92097640257c7fc33b, Linux 7ad6ef91d8745d04aff9cce7bdbc6320d8e05fe9, Linux 6.12.64

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-71135 being exploited?

There is no confirmed exploitation: CVE-2025-71135 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-71135?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-71135?

Linux \>= be19e6e4339d1579d5f2fae8ce4facf9521dbbfc, \< 20597b7229aea8b5bc45cd92097640257c7fc33b; \>= fa1944bbe6220eb929e2c02e5e8706b908565711, \< e5abb6af905de6b2fead8a0b3f32ab0b81468a01; \>= fa1944bbe6220eb929e2c02e5e8706b908565711, \< 7ad6ef91d8745d04aff9cce7bdbc6320d8e05fe9; \>= 6.12.4, \< 6.12.64; Linux 6.13.

### Is there a fix for CVE-2025-71135?

Yes. Fixed in Linux 20597b7229aea8b5bc45cd92097640257c7fc33b, Linux 7ad6ef91d8745d04aff9cce7bdbc6320d8e05fe9, Linux 6.12.64. Upgrade Linux to 6.12.64 or later.

### How do I check if I'm affected by CVE-2025-71135?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/20597b7229aea8b5bc45cd92097640257c7fc33b>
- patch: <https://git.kernel.org/stable/c/e5abb6af905de6b2fead8a0b3f32ab0b81468a01>
- patch: <https://git.kernel.org/stable/c/7ad6ef91d8745d04aff9cce7bdbc6320d8e05fe9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-71135>

HTML: <https://flawdb.com/CVE-2025-71135> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-71135>
