CVE-2026-139680

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

No CVSS score yet EPSS 0.18%

Published 30 Nov 2026 Updated 30 Nov 2026 CNA: Linux

Check your servers for CVE-2026-139680

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-139680 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.

Check my servers

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.

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.42% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 3418d036c81dcb604b7c7c71b209d5890a8418aa, before 241748f206c38042dc289944bfa5527a2a714f6d
affected from 3418d036c81dcb604b7c7c71b209d5890a8418aa, before 6786c076ef4ff85b0ec9e9a9558153599b8316cd
affected from 3418d036c81dcb604b7c7c71b209d5890a8418aa, before c9fcd1bd5dc42f1cb2af5c08ea42261f383fd8ff
affected from 3418d036c81dcb604b7c7c71b209d5890a8418aa, before a11f75a0b24b761d50cf5d422e6b0776a3ce9006
affected from 3418d036c81dcb604b7c7c71b209d5890a8418aa, before 0588354036c98f8d293f15462bbf0631b60bb9bb
affected from 3418d036c81dcb604b7c7c71b209d5890a8418aa, before 1acc56bd8896fe2bb1974fdc61398a4a40037a3e
affected from 3418d036c81dcb604b7c7c71b209d5890a8418aa, before e12457f33c3a5bd1270db85b05bf97a75c273680
affected from 3418d036c81dcb604b7c7c71b209d5890a8418aa, before eba5f518701b1c7f2d883504f89c41611bd2de46
Other versions: unaffected
Linux
affected 4.12
unaffected before 4.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-139680 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139680

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-139680
trivy image --scanners vuln IMAGE | grep CVE-2026-139680

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

Source: the record CVE-2026-139680 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.