{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "f63f17350e537300312e9e19b51f69b61fa44291"
            },
            {
              "fixed": "68b2d45568062fcdd94349f5a68cc1534d170354"
            },
            {
              "fixed": "d59da066617f6193130b4597fbaf24a38c86784e"
            },
            {
              "fixed": "14ddbcd6827b0ef354e989d85b36e3e1bb400ec0"
            },
            {
              "fixed": "0d9bbbb6fafa22659ccd4d7ab94329a43c2632d0"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.9.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-139681.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid5: reject raid4/5 arrays with too few disks\n\nraid4 and raid5 require at least two disks, while raid6 requires at least\nfour disks. setup_conf() only rejects raid6 arrays with fewer than four\ndisks. As a result, an invalid raid4 or raid5 array can be assembled with\nno data disks and later reach raid5_set_limits().\n\nReject such arrays before the r5conf is created. This prevents the invalid\ngeometry from reaching queue limit setup, where roundup_pow_of_two() can be\ncalled with a zero stripe size.",
  "id": "CVE-2026-139681",
  "modified": "2026-12-01T20:45:28.983722219Z",
  "published": "2026-11-30T13:36:59.839Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0d9bbbb6fafa22659ccd4d7ab94329a43c2632d0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/14ddbcd6827b0ef354e989d85b36e3e1bb400ec0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/68b2d45568062fcdd94349f5a68cc1534d170354"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d59da066617f6193130b4597fbaf24a38c86784e"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139681.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139681"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "md/raid5: reject raid4/5 arrays with too few disks"
}