Skip to content
FlawDB
Sign in

CVE-2026-139680

UNSCORED

md/raid5: setup_conf: Fix null-ptr-def in error handling path

AI summary AI generated

An attacker with local conditions can trigger a null pointer dereference in the Linux kernel's md/raid5 RAID setup error-handling path.

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < 241748f206c38042dc289944bfa5527a2a714f6d; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < 6786c076ef4ff85b0ec9e9a9558153599b8316cd; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < c9fcd1bd5dc42f1cb2af5c08ea42261f383fd8ff; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < a11f75a0b24b761d50cf5d422e6b0776a3ce9006; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < 0588354036c98f8d293f15462bbf0631b60bb9bb; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < 1acc56bd8896fe2bb1974fdc61398a4a40037a3e; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < e12457f33c3a5bd1270db85b05bf97a75c273680; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < eba5f518701b1c7f2d883504f89c41611bd2de46
  • Anyone running Linux 4.12

Vulnerability facts

Affected
Linux >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < 241748f206c38042dc289944bfa5527a2a714f6d; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < 6786c076ef4ff85b0ec9e9a9558153599b8316cd; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < c9fcd1bd5dc42f1cb2af5c08ea42261f383fd8ff; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < a11f75a0b24b761d50cf5d422e6b0776a3ce9006; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < 0588354036c98f8d293f15462bbf0631b60bb9bb; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < 1acc56bd8896fe2bb1974fdc61398a4a40037a3e; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < e12457f33c3a5bd1270db85b05bf97a75c273680; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < eba5f518701b1c7f2d883504f89c41611bd2de46; Linux 4.12
Fixed in
Linux 241748f206c38042dc289944bfa5527a2a714f6d, Linux 6786c076ef4ff85b0ec9e9a9558153599b8316cd, Linux 0588354036c98f8d293f15462bbf0631b60bb9bb, Linux 1acc56bd8896fe2bb1974fdc61398a4a40037a3e
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < 241748f206c38042dc289944bfa5527a2a714f6d; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < 6786c076ef4ff85b0ec9e9a9558153599b8316cd; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < c9fcd1bd5dc42f1cb2af5c08ea42261f383fd8ff; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < a11f75a0b24b761d50cf5d422e6b0776a3ce9006; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < 0588354036c98f8d293f15462bbf0631b60bb9bb; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < 1acc56bd8896fe2bb1974fdc61398a4a40037a3e; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < e12457f33c3a5bd1270db85b05bf97a75c273680; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < eba5f518701b1c7f2d883504f89c41611bd2de46—cvelist
Linux4.12—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2026-139680.md
Affected: Linux >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < 241748f206c38042dc289944bfa5527a2a714f6d; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < 6786c076ef4ff85b0ec9e9a9558153599b8316cd; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < c9fcd1bd5dc42f1cb2af5c08ea42261f383fd8ff; >= 3418d036c81dcb604b7c7c7…
Fixed in: Linux 241748f206c38042dc289944bfa5527a2a714f6d, Linux 6786c076ef4ff85b0ec9e9a9558153599b8316cd, Linux 0588354036c98f8d293f15462bbf0631b60bb9bb, Linux 1acc56bd8896fe2bb1974fdc61398a4a40037a3e

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.

Technologies

References

FAQ

Is CVE-2026-139680 being exploited?

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

How serious is CVE-2026-139680?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-139680?

Linux >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < 241748f206c38042dc289944bfa5527a2a714f6d; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < 6786c076ef4ff85b0ec9e9a9558153599b8316cd; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < c9fcd1bd5dc42f1cb2af5c08ea42261f383fd8ff; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < a11f75a0b24b761d50cf5d422e6b0776a3ce9006; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < 0588354036c98f8d293f15462bbf0631b60bb9bb; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < 1acc56bd8896fe2bb1974fdc61398a4a40037a3e; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < e12457f33c3a5bd1270db85b05bf97a75c273680; >= 3418d036c81dcb604b7c7c71b209d5890a8418aa, < eba5f518701b1c7f2d883504f89c41611bd2de46; Linux 4.12.

Is there a fix for CVE-2026-139680?

Yes. Fixed in Linux 241748f206c38042dc289944bfa5527a2a714f6d, Linux 6786c076ef4ff85b0ec9e9a9558153599b8316cd, Linux 0588354036c98f8d293f15462bbf0631b60bb9bb, Linux 1acc56bd8896fe2bb1974fdc61398a4a40037a3e. No fix listed yet: follow the vendor advisory.

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

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.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
MEDIUM 6.5CVE-2026-140063

Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker

Linux kernel+1
MEDIUM 5.1CVE-2026-140038

Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber

Linux kernel+1
HIGH 7.3CVE-2026-139801

KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM

Linux kernel
UNSCOREDCVE-2026-139800

9p/xen: drain response work after unbinding IRQ

Linux kernel
HIGH 7.0CVE-2026-139799

mm/shmem: hold off eviction in shmem_writeout()

Linux kernel
Sponsors