Description
In the Linux kernel, the following vulnerability has been resolved:

md/raid10: reset read_slot when reusing r10bio for discard

put_all_bios() always drops devs[i].bio, but it only drops
devs[i].repl_bio when r10_bio->read_slot < 0. If discard reuses an
r10bio that was previously used for a read, read_slot can still be
non-negative, and discard cleanup can skip bio_put() on repl_bio.

Reset read_slot to -1 when preparing an r10bio for discard so the
replacement bio is always released correctly.
Published: 2026-08-15
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the Linux kernel’s RAID10 implementation causes the system to skip releasing a replacement bio during discard operations when the read_slot value is non‑negative. This results in a leak of kernel resources, which can accumulate over time and potentially exhaust system memory or disk buffers, leading to instability or denial of service. The core weakness is improper cleanup of resources, classified as a missing release of resource before reuse (CWE‑772).

Affected Systems

The vulnerability affects the Linux kernel, specifically the md/raid10 module. The affected releases are all kernel versions compiled before the patch that resets read_slot during discard preparation; explicit version ranges are not listed in the advisory.

Risk and Exploitability

The CVSS score of 9.8 indicates critical severity. The EPSS score of <1% suggests a very low probability of exploitation. Based on the description, it is inferred that the vulnerability is local and would require privileged or kernel‑mode access to trigger repeated discard operations on a RAID10 array. Although exploitation evidence is currently absent and the vulnerability is not listed in CISA’s KEV catalog, the potential for resource exhaustion could lead to denial of service if an attacker can repeatedly invoke the bug.

Generated by OpenCVE AI on August 22, 2026 at 02:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the patch resetting read_slot in the RAID10 discard path (for example, commit 3cb2a606ce4902eceabe68338df0653312f861f8).
  • If an immediate kernel upgrade is not possible, disable discard (TRIM) support for the RAID10 array to prevent reuse of r10bio that could trigger the leak—e.g., mount the filesystem with the option "discard=no" or adjust the device settings to turn off discard.
  • Ensure that any vendor‑specific updates or backports for the md /raid10 driver are applied; verify that the commit addressing the non‑negative read_slot leak has reached the kernel version in use.

Generated by OpenCVE AI on August 22, 2026 at 02:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 01:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-773

Thu, 20 Aug 2026 00:15:00 +0000


Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Sat, 15 Aug 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-773

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

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: md/raid10: reset read_slot when reusing r10bio for discard put_all_bios() always drops devs[i].bio, but it only drops devs[i].repl_bio when r10_bio->read_slot < 0. If discard reuses an r10bio that was previously used for a read, read_slot can still be non-negative, and discard cleanup can skip bio_put() on repl_bio. Reset read_slot to -1 when preparing an r10bio for discard so the replacement bio is always released correctly.
Title md/raid10: reset read_slot when reusing r10bio for discard
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-17T05:46:28.657Z

Reserved: 2026-08-15T05:44:03.889Z

Link: CVE-2026-74376

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-08-17T06:19:32.373

Link: CVE-2026-74376

cve-icon Redhat

Severity : Low

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74376 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T03:00:12Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime