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.
Published: 2026-08-15
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s RAID10 subsystem held a reference counting bug that caused writes_pending and barrier references to leak whenever a discard operation failed. Because md_write_end() and allow_barrier() were omitted on certain error paths, the accounting of pending writes and barriers remained unbalanced. Repeated discard failures would accumulate unreleased references, gradually consuming kernel memory and potentially degrading system responsiveness or causing a kernel panic. The leak is a classic resource exhaustion flaw, and while no direct code execution escape is described, the runaway memory usage can lead to denial of service for the affected host.

Affected Systems

All Linux kernel builds that lack the commit fixes referenced in the advisory (cited via commit 393d687131d8aa8c7e4de2cb494438e145d20fc2 and d1324b41dabd26787559efaeb430643c627c1eb0) are impacted. The issue is present in raids configured with md/raid10 before the patch and is fixed in kernel releases that incorporate those commits.

Risk and Exploitability

The advisory does not specify an exploit payload, and the EPSS score is not available, but the flaw remains in CISA’s KEV catalog as not listed, reflecting a moderate likelihood of exploitation mainly due to the high impact of uncontrolled memory consumption. The vulnerability is exploitable from any context that triggers a discard on a RAID10 device, making it a potential vector for denial of service. The absence of an immediate CISA listing suggests that active exploitation has not been observed, but the deterministic nature of the resource leak warrants proactive mitigation.

Generated by OpenCVE AI on August 15, 2026 at 11:46 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes commits 393d687131d8aa8c7e4de2cb494438e145d20fc2 and d1324b41dabd26787559efaeb430643c627c1eb0
  • Restart the system to load the patched kernel image
  • If disabling frequent discard operations is feasible, consider temporarily configuring raid10 devices to suppress discard requests until a kernel upgrade is applied

Generated by OpenCVE AI on August 15, 2026 at 11:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 15 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-778

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
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.
Title md/raid10: fix writes_pending and barrier reference leaks on discard failures
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-15T05:56:51.384Z

Reserved: 2026-08-09T03:40:39.929Z

Link: CVE-2026-72438

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:17.660

Modified: 2026-08-15T06:22:17.660

Link: CVE-2026-72438

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T12:00:05Z

Weaknesses