CVE-2026-139540

md/raid5: protect big_stripe_tree lookup with RCU

Published Nov 30, 2026 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

md/raid5: protect big_stripe_tree lookup with RCU

big_stripe_tree is updated under tree_lock, and deleted radix-tree
nodes are freed after an RCU grace period. r5c_big_stripe_cached()
used to run under an RCU read-side critical section, but that protection
was removed together with unrelated rdev lookup protection.

The lookup can now be preempted while walking the tree, allowing a
concurrent deletion and grace period to complete before the walk
resumes. Protect the lookup locally with rcu_read_lock(). Only the
presence of the entry is used after unlocking.

Analysis

AI-generated

Technical impact

A race condition exists in the md/raid5 subsystem of the Linux kernel where a lookup of the big_stripe_tree can be preempted during tree traversal. If a concurrent deletion occurs, the node may be freed after an RCU grace period before the traversal resumes, allowing the kernel to access freed memory. This leads to a use‑after‑free situation that can corrupt kernel state or trigger a crash. The vulnerability is explicitly a classic race condition that exercises the kernel’s concurrent access handling.

Affected Systems

All Linux kernel releases that compile the md/raid5 module and have not applied the recent patch that adds rcu_read_lock() protection. The affected component is the md/raid5 module across all vendor versions of the Linux kernel.

Risk and Exploitability

The CVSS score of 4.7 reflects moderate severity. The EPSS score is < 1%, and the vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is inferred that exploitation would likely require privileged or kernel mode access to trigger concurrent configuration or deletion operations on a RAID5 volume while a lookup is ongoing. If achieved, the impact could be kernel panic or data corruption affecting system availability or integrity.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest Linux kernel release that includes the rcu_read_lock protection for md/raid5.
  • If compiling a custom kernel, apply the patch that adds rcu_read_lock to the big_stripe_tree lookup and rebuild the md/raid5 module.
  • Reboot the system to load the updated kernel or rebuilt module, then monitor system logs for any kernel panics or signs of data corruption.

Generated by OpenCVE AI on December 1, 2026 at 18:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: md/raid5: protect big_stripe_tree lookup with RCU big_stripe_tree is updated under tree_lock, and deleted radix-tree nodes are freed after an RCU grace period. r5c_big_stripe_cached() used to run under an RCU read-side critical section, but that protection was removed together with unrelated rdev lookup protection. The lookup can now be preempted while walking the tree, allowing a concurrent deletion and grace period to complete before the walk resumes. Protect the lookup locally with rcu_read_lock(). Only the presence of the entry is used after unlocking.
Title md/raid5: protect big_stripe_tree lookup with RCU
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-825

    Expired Pointer Dereference

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:35 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:35 PM