{
  "id": "CVE-2026-45896",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-45896",
  "published_at": "2026-05-27T12:17:06.332Z",
  "title": "mtd: intel-dg: Fix accessing regions before setting nregions",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-129",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= ceb5ab3cb64637952657be23d347e1c79dd02212, \u003c 721bd22bcf45a63ebd9bd0f478ef721b45cc5383",
          "\u003e= ceb5ab3cb64637952657be23d347e1c79dd02212, \u003c d58fca8513414b15387460b14a7a0a30405b9c9e",
          "\u003e= ceb5ab3cb64637952657be23d347e1c79dd02212, \u003c 779c59274d03cc5c07237a2c845dfb71cff77705"
        ],
        "fixed_in": [
          "721bd22bcf45a63ebd9bd0f478ef721b45cc5383",
          "d58fca8513414b15387460b14a7a0a30405b9c9e",
          "779c59274d03cc5c07237a2c845dfb71cff77705"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.17"
        ],
        "fixed_in": [
          "0",
          "6.18.14",
          "6.19.4",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 721bd22bcf45a63ebd9bd0f478ef721b45cc5383 or d58fca8513414b15387460b14a7a0a30405b9c9e or 779c59274d03cc5c07237a2c845dfb71cff77705 or later.",
      "Upgrade Linux to 0 or 6.18.14 or 6.19.4 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
