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

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2026-08-15T05:56:51.384Z
- Modified: 2026-10-30T13:19:52.197Z
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from c9aa889b035fca4598ae985a0f0c76ebbb547ad2 before 2d264c00beadcc67f16d683ab27eed28c047ba2e; from c9aa889b035fca4598ae985a0f0c76ebbb547ad2 before 80ac31cce55432034a9eb98262c92ace7866e494; from c9aa889b035fca4598ae985a0f0c76ebbb547ad2 before fea33968592559a55a3f5a96a6386bebcaf988a8; from c9aa889b035fca4598ae985a0f0c76ebbb547ad2 before 11b35d1906a7277a3d64afe34224133b44327328; from c9aa889b035fca4598ae985a0f0c76ebbb547ad2 before d1324b41dabd26787559efaeb430643c627c1eb0; from c9aa889b035fca4598ae985a0f0c76ebbb547ad2 before 393d687131d8aa8c7e4de2cb494438e145d20fc2; 39db562b3fedb93978a7e42dd216b306740959f8; from 5.15.111 before 5.16; 5.17 (not affected: before 5.17; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

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

## Sources

- CVE List: [CVE-2026-72438](https://www.cve.org/CVERecord?id=CVE-2026-72438), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-72438](https://nvd.nist.gov/vuln/detail/CVE-2026-72438), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-72438 · Whole record: https://cve.day/CVE-2026-72438.json · Rebuilt by cve.day 2026-11-25T22:59:33.122Z
