CVE-2026-139541
md/raid5: drain released_stripes before destroying the cache
Check your servers for CVE-2026-139541
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139541 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.9% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, before 9c102f60fb29e4dc7229046b180a9f88e386ced0 affected from 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, before 445240fc4bfbf5092733caad5b52e636c5851905 affected from 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, before 312e8347b8e238a2f756aebc1d0ab85348519e78 affected from 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, before 557a619e9f9e49ff19dd0d0b84a8b239dbd64e2f affected from 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, before 2611b10283ca5f39d59283b2f6c4f52197066e8b affected from 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, before b092be41103754c871c98c9712a8b357e3175819 affected from 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, before c1f1904ee84e95cd2d28475d0f30b0dfdf5620ac affected from 773ca82fa1ee58dd1bf88b6a5ca385ec83a2cac6, before af560e357a81964544be40c549e241b032ef7565
Other versions: unaffected
|
| Linux |
affected 3.12 unaffected before 3.12 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139541 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139541
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139541
trivy image --scanners vuln IMAGE | grep CVE-2026-139541
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/9c102f60fb29e4dc7229046b180a9f88e386ced0 git.kernel.org
- https://git.kernel.org/stable/c/445240fc4bfbf5092733caad5b52e636c5851905 git.kernel.org
- https://git.kernel.org/stable/c/312e8347b8e238a2f756aebc1d0ab85348519e78 git.kernel.org
- https://git.kernel.org/stable/c/557a619e9f9e49ff19dd0d0b84a8b239dbd64e2f git.kernel.org
- https://git.kernel.org/stable/c/2611b10283ca5f39d59283b2f6c4f52197066e8b git.kernel.org
- https://git.kernel.org/stable/c/b092be41103754c871c98c9712a8b357e3175819 git.kernel.org
- https://git.kernel.org/stable/c/c1f1904ee84e95cd2d28475d0f30b0dfdf5620ac git.kernel.org
- https://git.kernel.org/stable/c/af560e357a81964544be40c549e241b032ef7565 git.kernel.org
Source: the record CVE-2026-139541 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse