CVE-2026-72440

md/raid1: fix writes_pending and barrier reference leaks on write failures

Published Aug 15, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

In the Linux kernel, a flaw in the md/raid1 subsystem causes reference‑counting leaks when write requests fail. Missing calls to md_write_end() and the failure to free barrier references result in unreleased memory and resource handles. These accumulate over time, potentially exhausting kernel memory and destabilizing the RAID1 device, which can lead to a denial of service.

Affected Systems

The affected product is the Linux kernel’s md/raid1 module. The fix applies to all kernel versions that contain the pre‑existing md/raid1 code; the patch is incorporated in the upstream commit referenced by the advisory. Because no explicit version range is listed, any deployment using an earlier kernel should verify the presence of the commit or upgrade to a kernel that includes the patch.

Risk and Exploitability

The CVSS score is 7.1, indicating a high severity vulnerability; the EPSS score is below 1%, implying a low exploitation probability, and the vulnerability is not listed in CISA’s KEV catalog. Exploitation would still require the ability to trigger repeated write failures against a RAID1 array, which generally demands local or privileged access, as inferred from the need to generate write paths that hit the failure branches. Therefore the risk remains primarily local or privileged, with the potential to cause resource exhaustion and system instability. Because the flaw is a leakage rather than code execution, the main countermeasure is to apply the vendor patch as soon as possible.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the md/raid1 reference count bug fix.
  • Reboot the system (or reload the mdraid module) to clear any lingering reference counts.
  • Monitor kernel memory usage and RAID1 performance for signs of unreleased references, and consider temporary mitigation such as limiting write operations to the array during critical periods.

Generated by OpenCVE AI on August 22, 2026 at 05:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4906-1 linux security update
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9175-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-3 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9174-2 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9191-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H'}

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

    Improper Update of Reference Count

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:29 PM
Reserved
Aug 9, 2026, 3:40 AM
Status
Received
Published
Aug 15, 2026, 6:22 AM
Modified
Oct 30, 2026, 1:19 PM
Severity
Moderate
Public date
Aug 15, 2026, 12:00 AM