{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "ceb5ab3cb64637952657be23d347e1c79dd02212"
            },
            {
              "fixed": "721bd22bcf45a63ebd9bd0f478ef721b45cc5383"
            },
            {
              "fixed": "d58fca8513414b15387460b14a7a0a30405b9c9e"
            },
            {
              "fixed": "779c59274d03cc5c07237a2c845dfb71cff77705"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.17.0"
            },
            {
              "fixed": "6.18.14"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "6.19.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45896.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: intel-dg: Fix accessing regions before setting nregions\n\nThe regions array is counted by nregions, but it's set only after\naccessing it:\n\n[] UBSAN: array-index-out-of-bounds in drivers/mtd/devices/mtd_intel_dg.c:750:15\n[] index 0 is out of range for type '\u003cunknown\u003e [*]'\n\nFix it by also fixing an undesired behavior: the loop silently ignores\nENOMEM and continues setting the other entries.",
  "id": "CVE-2026-45896",
  "modified": "2026-07-08T05:37:03.886654638Z",
  "published": "2026-05-27T12:17:06.332Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/721bd22bcf45a63ebd9bd0f478ef721b45cc5383"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/779c59274d03cc5c07237a2c845dfb71cff77705"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d58fca8513414b15387460b14a7a0a30405b9c9e"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45896.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-45896"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "mtd: intel-dg: Fix accessing regions before setting nregions"
}