What’s Vulnerable › Vulnerabilities
CVE-2026-72440: md/raid1: fix writes_pending and barrier reference leaks on write failures
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-15 · updated 2026-10-30
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 products
- Linux: 5.17 — fixed in 7.2
How to fix
Upgrade to a fixed version: Linux 7.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/7a450460687919e79b5f8503bdeb13ecf4cca311
- https://git.kernel.org/stable/c/874f54243d881fde1890849000beb88a7880d1ec
- https://git.kernel.org/stable/c/8e065a1602511282fc0da2dc89445e0eb71a681c
- https://git.kernel.org/stable/c/921e2baa626d1504bf30295816aaeb90ac8c82f4
- https://git.kernel.org/stable/c/a846affa813013204d0cce0cfdaeb99e8fcce188
- https://git.kernel.org/stable/c/bffbbfcbd9393e315a7a4286dcd70e875265db9a
Get alerted when CVE-2026-72440 or the next vulnerability affects your stack