Null pointer dereference in Linux kernel RAID 5 error handling
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The Linux kernel from 4.12 has a null pointer dereference in the md/raid5 setup_conf error handling path. If setup fails early, such as when bioset_init fails, cleanup reads a flag through a conf->mddev pointer that was never set. The fix initializes that pointer before any error can occur.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: md/raid5: setup_conf: Fix null-ptr-def in error handling path For raid5 setup_conf, if an error(eg. bioset_init fails) happens before 'conf->mddev = mddev', following error handling path could trigger a null-ptr-def problem: free_conf log_exit raid5_has_ppl test_bit(MD_HAS_PPL, &conf->mddev->flags) // conf->mddev is NULL ! Fix it by initializing conf->mddev in advance.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.12 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 4.12 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 Patch available CNA
Remediation
Update the Linux kernel to a fixed version: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or 7.4-rc1 (or later in the same series).
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139680
- 2026-11-30 Alias added: GHSA-f2f4-f92c-f4r3
References
Other 8
- https://git.kernel.org/stable/c/241748f206c38042dc289944bfa5527a2a714f6d
- https://git.kernel.org/stable/c/6786c076ef4ff85b0ec9e9a9558153599b8316cd
- https://git.kernel.org/stable/c/c9fcd1bd5dc42f1cb2af5c08ea42261f383fd8ff
- https://git.kernel.org/stable/c/a11f75a0b24b761d50cf5d422e6b0776a3ce9006
- https://git.kernel.org/stable/c/0588354036c98f8d293f15462bbf0631b60bb9bb
- https://git.kernel.org/stable/c/1acc56bd8896fe2bb1974fdc61398a4a40037a3e
- https://git.kernel.org/stable/c/e12457f33c3a5bd1270db85b05bf97a75c273680
- https://git.kernel.org/stable/c/eba5f518701b1c7f2d883504f89c41611bd2de46
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139680 · CVE Program
- CVE-2026-139680 · NVD
- GHSA-f2f4-f92c-f4r3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences