CVE-2026-139540: md/raid5: protect big_stripe_tree lookup with RCU

Published Nov 30, 2026
·
Updated

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

md/raid5: protect bigstripetree lookup with RCU

bigstripetree is updated under treelock, and deleted radix-tree nodes are freed after an RCU grace period. r5cbigstripecached() 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 rcureadlock(). Only the presence of the entry is used after unlocking.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In md/raid5, protect the big_stripe_tree lookup in r5c_big_stripe_cached() with rcu_read_lock() while walking the tree and using the entry.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:35 PM
Data Sourced
via MITRE·01:35 PM
Description

Frequently Asked Questions

1

What conditions are required for this issue to be triggered?

The affected code must perform a big_stripe_tree lookup while another execution context concurrently deletes radix-tree nodes. The lookup can be preempted during traversal, allowing the deletion and an RCU grace period to finish before it resumes.

2

What is the likely impact of a successful race?

The lookup may walk radix-tree nodes that have been deleted and freed, creating a use-after-free-style memory-safety condition. The provided information does not specify a resulting privilege level, crash behavior, or information disclosure outcome.

3

What does the fix change?

The fix wraps the big_stripe_tree lookup in a local rcu_read_lock() read-side critical section. This prevents deleted radix-tree nodes from being freed while the lookup is traversing the tree; only the entry's presence is used after the lock is released.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203