0.0
NA
CVE-2026-139680
md/raid5: setup_conf: Fix null-ptr-def in error handling path
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.

INFO

Published Date :

Nov. 30, 2026, 2:19 p.m.

Last Modified :

Nov. 30, 2026, 2:19 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-139680 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Initialize conf->mddev earlier in the error handling path to prevent null pointer dereferences.
  • Initialize conf->mddev before error handling.
  • Apply the kernel patch for raid5 setup_conf.
  • Update the Linux kernel to the resolved version.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-139680 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-139680 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-139680 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-139680 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Nov. 30, 2026

    Action Type Old Value New Value
    Added 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.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139680.json">CVE-2026-139680</a>
    Added Reference https://git.kernel.org/stable/c/0588354036c98f8d293f15462bbf0631b60bb9bb
    Added Reference https://git.kernel.org/stable/c/1acc56bd8896fe2bb1974fdc61398a4a40037a3e
    Added Reference https://git.kernel.org/stable/c/241748f206c38042dc289944bfa5527a2a714f6d
    Added Reference https://git.kernel.org/stable/c/6786c076ef4ff85b0ec9e9a9558153599b8316cd
    Added Reference https://git.kernel.org/stable/c/a11f75a0b24b761d50cf5d422e6b0776a3ce9006
    Added Reference https://git.kernel.org/stable/c/c9fcd1bd5dc42f1cb2af5c08ea42261f383fd8ff
    Added Reference https://git.kernel.org/stable/c/e12457f33c3a5bd1270db85b05bf97a75c273680
    Added Reference https://git.kernel.org/stable/c/eba5f518701b1c7f2d883504f89c41611bd2de46
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.