{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "3418d036c81dcb604b7c7c71b209d5890a8418aa"
            },
            {
              "fixed": "241748f206c38042dc289944bfa5527a2a714f6d"
            },
            {
              "fixed": "6786c076ef4ff85b0ec9e9a9558153599b8316cd"
            },
            {
              "fixed": "c9fcd1bd5dc42f1cb2af5c08ea42261f383fd8ff"
            },
            {
              "fixed": "a11f75a0b24b761d50cf5d422e6b0776a3ce9006"
            },
            {
              "fixed": "0588354036c98f8d293f15462bbf0631b60bb9bb"
            },
            {
              "fixed": "1acc56bd8896fe2bb1974fdc61398a4a40037a3e"
            },
            {
              "fixed": "e12457f33c3a5bd1270db85b05bf97a75c273680"
            },
            {
              "fixed": "eba5f518701b1c7f2d883504f89c41611bd2de46"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.12.0"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139680.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid5: setup_conf: Fix null-ptr-def in error handling path\n\nFor raid5 setup_conf, if an error(eg. bioset_init fails) happens before\n'conf-\u003emddev = mddev', following error handling path could trigger a\nnull-ptr-def problem:\n\n free_conf\n  log_exit\n   raid5_has_ppl\n    test_bit(MD_HAS_PPL, \u0026conf-\u003emddev-\u003eflags) // conf-\u003emddev is NULL !\n\nFix it by initializing conf-\u003emddev in advance.",
  "id": "CVE-2026-139680",
  "modified": "2026-11-30T14:45:18.873760958Z",
  "published": "2026-11-30T13:36:59.302Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0588354036c98f8d293f15462bbf0631b60bb9bb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1acc56bd8896fe2bb1974fdc61398a4a40037a3e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/241748f206c38042dc289944bfa5527a2a714f6d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6786c076ef4ff85b0ec9e9a9558153599b8316cd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a11f75a0b24b761d50cf5d422e6b0776a3ce9006"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c9fcd1bd5dc42f1cb2af5c08ea42261f383fd8ff"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e12457f33c3a5bd1270db85b05bf97a75c273680"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/eba5f518701b1c7f2d883504f89c41611bd2de46"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139680.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139680"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "md/raid5: setup_conf: Fix null-ptr-def in error handling path"
}