Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2026-72438

md/raid10: fix writes_pending and barrier reference leaks on discard failures

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • c9aa889b035fca4598ae985a0f0c76ebbb547ad2 to < 2d264c00beadcc67f16d683ab27eed28c047ba2eaffected
  • c9aa889b035fca4598ae985a0f0c76ebbb547ad2 to < 80ac31cce55432034a9eb98262c92ace7866e494affected
  • c9aa889b035fca4598ae985a0f0c76ebbb547ad2 to < fea33968592559a55a3f5a96a6386bebcaf988a8affected
  • c9aa889b035fca4598ae985a0f0c76ebbb547ad2 to < 11b35d1906a7277a3d64afe34224133b44327328affected
  • c9aa889b035fca4598ae985a0f0c76ebbb547ad2 to < d1324b41dabd26787559efaeb430643c627c1eb0affected
  • c9aa889b035fca4598ae985a0f0c76ebbb547ad2 to < 393d687131d8aa8c7e4de2cb494438e145d20fc2affected
  • 39db562b3fedb93978a7e42dd216b306740959f8affected
  • 5.15.111 to < 5.16affected

Linux Linux

Default version status: affected

  • 5.17affected
  • 0 to < 5.17unaffected
  • 6.1.191 to ≤ 6.1.*unaffected
  • 6.6.160 to ≤ 6.6.*unaffected
  • 6.12.111 to ≤ 6.12.*unaffected
  • 6.18.53 to ≤ 6.18.*unaffected
  • 7.1.5 to ≤ 7.1.*unaffected
  • 7.2 to ≤ *unaffected

References