# CVE-2026-72440: md/raid1: fix writes\_pending and barrier reference leaks on write failures

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

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.51% (percentile 36, 2026-11-28)
- **Published:** 2026-08-15T05:56:52.662Z
- **Modified:** 2026-10-30T13:19:52.473Z

## Who should check

- Anyone running Linux \>= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, \< 874f54243d881fde1890849000beb88a7880d1ec; \>= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, \< 921e2baa626d1504bf30295816aaeb90ac8c82f4; \>= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, \< a846affa813013204d0cce0cfdaeb99e8fcce188; \>= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, \< 7a450460687919e79b5f8503bdeb13ecf4cca311; \>= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, \< bffbbfcbd9393e315a7a4286dcd70e875265db9a; \>= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, \< 8e065a1602511282fc0da2dc89445e0eb71a681c
- Anyone running Linux 5.17

## Description

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

md/raid1: fix writes\_pending and barrier reference leaks on write failures

raid1\_make\_request() acquires a writes\_pending reference with
md\_write\_start() before calling raid1\_write\_request(). Several failure
paths in raid1\_write\_request() complete the bio and return without
reaching the normal write completion path, causing the corresponding
md\_write\_end() to be skipped.

Make raid1\_write\_request() return a status indicating whether the write
request was successfully queued. This allows raid1\_make\_request() to
call md\_write\_end() when raid1\_write\_request() fails.

Additionally, if wait\_blocked\_rdev() fails after wait\_barrier()
succeeds, the associated barrier reference is not released.

Call allow\_barrier() before returning from that path to keep the barrier
accounting balanced.

## Affected and fixed versions

- Linux: \>= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, \< 874f54243d881fde1890849000beb88a7880d1ec; \>= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, \< 921e2baa626d1504bf30295816aaeb90ac8c82f4; \>= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, \< a846affa813013204d0cce0cfdaeb99e8fcce188; \>= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, \< 7a450460687919e79b5f8503bdeb13ecf4cca311; \>= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, \< bffbbfcbd9393e315a7a4286dcd70e875265db9a; \>= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, \< 8e065a1602511282fc0da2dc89445e0eb71a681c (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- Upgrade Linux to 8e065a1602511282fc0da2dc89445e0eb71a681c or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-72440.md
Affected: Linux >= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, < 874f54243d881fde1890849000beb88a7880d1ec; >= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, < 921e2baa626d1504bf30295816aaeb90ac8c82f4; >= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, < a846affa813013204d0cce0cfdaeb99e8fcce188; >= 5aa705039c4fca84575539b…
Fixed in: Linux 874f54243d881fde1890849000beb88a7880d1ec, Linux 921e2baa626d1504bf30295816aaeb90ac8c82f4, Linux 7a450460687919e79b5f8503bdeb13ecf4cca311, Linux 8e065a1602511282fc0da2dc89445e0eb71a681c

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-2026-72440 being exploited?

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

### How serious is CVE-2026-72440?

High: CVSS 7.1 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-72440?

Linux \>= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, \< 874f54243d881fde1890849000beb88a7880d1ec; \>= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, \< 921e2baa626d1504bf30295816aaeb90ac8c82f4; \>= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, \< a846affa813013204d0cce0cfdaeb99e8fcce188; \>= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, \< 7a450460687919e79b5f8503bdeb13ecf4cca311; \>= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, \< bffbbfcbd9393e315a7a4286dcd70e875265db9a; \>= 5aa705039c4fca84575539bfa2b8a28454a3d2ca, \< 8e065a1602511282fc0da2dc89445e0eb71a681c; Linux 5.17.

### Is there a fix for CVE-2026-72440?

Yes. Fixed in Linux 874f54243d881fde1890849000beb88a7880d1ec, Linux 921e2baa626d1504bf30295816aaeb90ac8c82f4, Linux 7a450460687919e79b5f8503bdeb13ecf4cca311, Linux 8e065a1602511282fc0da2dc89445e0eb71a681c. Upgrade Linux to 8e065a1602511282fc0da2dc89445e0eb71a681c or later.

### How do I check if I'm affected by CVE-2026-72440?

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

- other: <https://git.kernel.org/stable/c/874f54243d881fde1890849000beb88a7880d1ec>
- other: <https://git.kernel.org/stable/c/921e2baa626d1504bf30295816aaeb90ac8c82f4>
- other: <https://git.kernel.org/stable/c/a846affa813013204d0cce0cfdaeb99e8fcce188>
- other: <https://git.kernel.org/stable/c/7a450460687919e79b5f8503bdeb13ecf4cca311>
- other: <https://git.kernel.org/stable/c/bffbbfcbd9393e315a7a4286dcd70e875265db9a>
- other: <https://git.kernel.org/stable/c/8e065a1602511282fc0da2dc89445e0eb71a681c>

## 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-2026-72440>

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