CVE-2026-139541: md/raid5: drain released_stripes before destroying the cache

Published Nov 30, 2026
·
Updated

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

md/raid5: drain releasedstripes before destroying the cache

growonestripe() calls raid5releasestripe() for each new stripe. When mddev->thread is already set, that queues the stripe on conf->releasedstripes and wakes the thread. Only raid5d moves that list onto inactivelist.

Takeover calls setupconf() while mddev->thread still belongs to the previous personality, so those stripes stay on releasedstripes. If setupconf() then fails, shrinkstripes() only frees inactivelist and kmemcachedestroy() warns that objects remain.

Move stripes still queued on releasedstripes onto inactivelist before shrinkstripes() frees them.

Affected Software

1 affected component
Linux Linux kernel

Event History

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

Frequently Asked Questions

1

When can this issue be triggered?

It can occur during an md/raid5 personality takeover when the existing mddev thread is still associated with the previous personality, setup_conf() fails, and newly created stripes have been queued on released_stripes.

2

What is the observable impact?

Stripes left on released_stripes are not freed by shrink_stripes(), which only frees inactive_list. Destroying the stripe cache can then warn that objects remain.

3

How does the fix address the problem?

Before shrink_stripes() destroys the cache, the fix moves stripes queued on released_stripes to inactive_list so they can be freed.

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