# CVE-2026-139541: md/raid5: drain released\_stripes before destroying the cache

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-11-30T13:35:42.990Z
- **Modified:** 2026-11-30T14:19:30.977Z

## Who should check

- Anyone running Linux \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< 9c102f60fb29e4dc7229046b180a9f88e386ced0; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< 445240fc4bfbf5092733caad5b52e636c5851905; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< 312e8347b8e238a2f756aebc1d0ab85348519e78; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< 557a619e9f9e49ff19dd0d0b84a8b239dbd64e2f; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< 2611b10283ca5f39d59283b2f6c4f52197066e8b; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< b092be41103754c871c98c9712a8b357e3175819; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< c1f1904ee84e95cd2d28475d0f30b0dfdf5620ac; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< af560e357a81964544be40c549e241b032ef7565
- Anyone running Linux 3.12

## Description

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

md/raid5: drain released\_stripes before destroying the cache

grow\_one\_stripe() calls raid5\_release\_stripe() for each new stripe.
When mddev-\>thread is already set, that queues the stripe on
conf-\>released\_stripes and wakes the thread. Only raid5d moves that
list onto inactive\_list.

Takeover calls setup\_conf() while mddev-\>thread still belongs to the
previous personality, so those stripes stay on released\_stripes. If
setup\_conf() then fails, shrink\_stripes() only frees inactive\_list and
kmem\_cache\_destroy() warns that objects remain.

Move stripes still queued on released\_stripes onto inactive\_list
before shrink\_stripes() frees them.

## Affected and fixed versions

- Linux: \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< 9c102f60fb29e4dc7229046b180a9f88e386ced0; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< 445240fc4bfbf5092733caad5b52e636c5851905; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< 312e8347b8e238a2f756aebc1d0ab85348519e78; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< 557a619e9f9e49ff19dd0d0b84a8b239dbd64e2f; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< 2611b10283ca5f39d59283b2f6c4f52197066e8b; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< b092be41103754c871c98c9712a8b357e3175819; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< c1f1904ee84e95cd2d28475d0f30b0dfdf5620ac; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< af560e357a81964544be40c549e241b032ef7565 (cvelist)
- Linux: 3.12 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-139541. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139541.md
Affected: Linux >= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, < 9c102f60fb29e4dc7229046b180a9f88e386ced0; >= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, < 445240fc4bfbf5092733caad5b52e636c5851905; >= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, < 312e8347b8e238a2f756aebc1d0ab85348519e78; >= 773ca82fa1ee58dd1bf88b6…
Fixed in: Linux 9c102f60fb29e4dc7229046b180a9f88e386ced0, Linux 445240fc4bfbf5092733caad5b52e636c5851905, Linux 312e8347b8e238a2f756aebc1d0ab85348519e78, Linux 557a619e9f9e49ff19dd0d0b84a8b239dbd64e2f, Linux 2611b10283ca5f39d59283b2f6c4f52197066e8b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-139541 being exploited?

There is no confirmed exploitation: CVE-2026-139541 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-139541?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-139541?

Linux \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< 9c102f60fb29e4dc7229046b180a9f88e386ced0; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< 445240fc4bfbf5092733caad5b52e636c5851905; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< 312e8347b8e238a2f756aebc1d0ab85348519e78; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< 557a619e9f9e49ff19dd0d0b84a8b239dbd64e2f; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< 2611b10283ca5f39d59283b2f6c4f52197066e8b; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< b092be41103754c871c98c9712a8b357e3175819; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< c1f1904ee84e95cd2d28475d0f30b0dfdf5620ac; \>= 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, \< af560e357a81964544be40c549e241b032ef7565; Linux 3.12.

### Is there a fix for CVE-2026-139541?

Yes. Fixed in Linux 9c102f60fb29e4dc7229046b180a9f88e386ced0, Linux 445240fc4bfbf5092733caad5b52e636c5851905, Linux 312e8347b8e238a2f756aebc1d0ab85348519e78, Linux 557a619e9f9e49ff19dd0d0b84a8b239dbd64e2f, Linux 2611b10283ca5f39d59283b2f6c4f52197066e8b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-139541?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/9c102f60fb29e4dc7229046b180a9f88e386ced0>
- other: <https://git.kernel.org/stable/c/445240fc4bfbf5092733caad5b52e636c5851905>
- other: <https://git.kernel.org/stable/c/312e8347b8e238a2f756aebc1d0ab85348519e78>
- other: <https://git.kernel.org/stable/c/557a619e9f9e49ff19dd0d0b84a8b239dbd64e2f>
- other: <https://git.kernel.org/stable/c/2611b10283ca5f39d59283b2f6c4f52197066e8b>
- other: <https://git.kernel.org/stable/c/b092be41103754c871c98c9712a8b357e3175819>
- other: <https://git.kernel.org/stable/c/c1f1904ee84e95cd2d28475d0f30b0dfdf5620ac>
- other: <https://git.kernel.org/stable/c/af560e357a81964544be40c549e241b032ef7565>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-139541>

HTML: <https://flawdb.com/CVE-2026-139541> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-139541>
