CVE-2026-139682
CVE-2026-139682 — md/raid5: don't BUG() on an inconsistent reshape state from the superblock
In the Linux kernel, the following vulnerability has been resolved: md/raid5: don't BUG() on an inconsistent reshape state from the superblock raid5_run() branches on mddev->reshape_position. When it is MaxSector -- no reshape in progress -- the else branch asserts that nothing else describes one: BUG_ON(mddev->level != mddev->new_level); BUG_ON(mddev->layout != mddev->new_layout); BUG_ON(mddev->chunk_sectors != mddev->new_chunk_sectors); BUG_ON(mddev->delta_disks != 0); Nothing enforces that invariant. Both superblock validators copy the reshape fields straight off disk without cross-checking them against each other: super_1_validate() takes reshape_position, delta_disks, new_level, new_layout and new_chunk from the superblock whenever MD_FEATURE_RESHAPE_ACTIVE is set, and super_90_validate() does the same for minor version 91. A superblock that sets the reshape feature while leaving reshape_position at the MaxSector sentinel therefore reaches the else branch with a non-zero delta_disks, and assembling the array takes the machine down: kernel BUG at drivers/md/raid5.c:8117! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI RIP: 0010:raid5_run+0x11a7/0x1670 drivers/md/raid5.c:8117 Call Trace: md_run+0xc2f/0x2510 drivers/md/md.c:6779 do_md_run+0x36/0x660 drivers/md/md.c:6880 array_state_store+0x9c5/0xcf0 drivers/md/md.c:4765 md_attr_store+0x1c5/0x330 drivers/md/md.c:6158 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:145 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:345 This is reachable by anyone who can present an md superblock, so BUG() is the wrong response. Refuse to start the array instead, the way the reshape_position != MaxSector branch a few lines above already refuses a reshape it cannot resume. Nothing has been allocated at this point -- the journal-and-bitmap check just above returns -EINVAL the same way -- so there is nothing to unwind.
Published Updated Sources: NVD, Linux (CNA), GitHub
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
n/a
FIRST has not published a score
CVSS base
Unscored
no source published a base score
Remediation
The vendor's own words where we have them.
Upgrade Linux to a fixed release (0 to < 2.6.30). Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Linux | Linux | 91adb56473febeeb3ef657bb5147ddd355465700 to < 996c0df409b1cf2d4e9bb0dce0cb4ba0c1f50ed7 | Vulnerable |
| Linux | Linux | 91adb56473febeeb3ef657bb5147ddd355465700 | Vulnerable |
| Linux | Linux | 91adb56473febeeb3ef657bb5147ddd355465700 | Vulnerable |
| Linux | Linux | 91adb56473febeeb3ef657bb5147ddd355465700 to < 50485f1be262c2085443662b4a8be084fa958b9d | Vulnerable |
| Linux | Linux | 91adb56473febeeb3ef657bb5147ddd355465700 to < 136a221544d919896a0f1bff8802eb51d0dff496 | Vulnerable |
| Linux | Linux | 91adb56473febeeb3ef657bb5147ddd355465700 to < 57926a227a2d610f586b99de2638a02b72e99762 | Vulnerable |
| Linux | Linux | 91adb56473febeeb3ef657bb5147ddd355465700 | Vulnerable |
| Linux | Linux | 91adb56473febeeb3ef657bb5147ddd355465700 to < 0669c7dbd1d375f279e607a24addc2f1dae2d4f3 | Vulnerable |
| Linux | Linux | 2.6.30 | Vulnerable |
| Linux | Linux | 0 to < 2.6.30 | Patched |
| Linux | Linux | 5.10.275 to <= 5.10.* | Patched |
| Linux | Linux | 5.15.226 to <= 5.15.* | Patched |
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /raid5, /md/raid5.c:8117!, /0x1670, /md/raid5.c:8117, /0x2510, /md/md.c:6779, /0x660, /md/md.c:6880, /0xcf0, /md/md.c:4765, /0x330, /md/md.c:6158, /0x150, /sysfs/file.c:145, /0x5f0, /kernfs/file.c:345.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Initial · CVE published
Nov 30, 2026 · NVD
References
8 on the record
- git.kernel.org/stable/c/0669c7dbd1d375f279e607a24addc2f1dae2d4f3
Vendor Advisory
- git.kernel.org/stable/c/136a221544d919896a0f1bff8802eb51d0dff496
Vendor Advisory
- git.kernel.org/stable/c/50485f1be262c2085443662b4a8be084fa958b9d
Vendor Advisory
- git.kernel.org/stable/c/57926a227a2d610f586b99de2638a02b72e99762
Vendor Advisory
- git.kernel.org/stable/c/996c0df409b1cf2d4e9bb0dce0cb4ba0c1f50ed7
Vendor Advisory
- git.kernel.org/stable/c/c093f0dd9119bee681facb5af2efbe476945666c
Vendor Advisory
- git.kernel.org/stable/c/ef2a78ba818d0cd046c2f1614aebd200a26e01d6
Vendor Advisory
- git.kernel.org/stable/c/fa4122799a5bff6902848eafa00dc8e245ba261f
Vendor Advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-39682 tls: fix handling of zero-length records on the rx_listCVSS 9.8 · CISA KEV
- CVE-2016-3427 Oracle Java SE and JRockit Unspecified VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-53266 netfilter: bridge: make ebt_snat ARP rewrite writableCVSS 8.8 · CISA KEV
- CVE-2026-46300 net: skbuff: preserve shared-frag marker during coalescingCVSS 7.8 · CISA KEV
- CVE-2026-31431 crypto: algif_aead - Revert to operating out-of-placeCVSS 7.8 · CISA KEV
- CVE-2014-3153 Linux Kernel Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
- Linuxevery CVE for this vendor
- Unclassifiedsame class
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-139682 is md/raid5: don't BUG() on an inconsistent reshape state from the superblock, a unscored vulnerability affecting Linux from Linux. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-139682. Public exploit evidence is: A public PoC is not confirmed from current sources for CVE-2026-139682. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS null describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.