{"id":"CVE-2026-45896","aliases":["CVE-2026-45896"],"related":[],"kind":"vulnerability","state":"published","title":"mtd: intel-dg: Fix accessing regions before setting nregions","summary":"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 '<unknown> [*]'\n\nFix it by also fixing an undesired behavior: the loop silently ignores\nENOMEM and continues setting the other entries.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 '<unknown> [*]'\n\nFix it by also fixing an undesired behavior: the loop silently ignores\nENOMEM and continues setting the other entries.","source":"cvelist"}],"published":"2026-05-27T12:17:06.332Z","modified":"2026-06-25T21:09:48.927Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-129"],"affected":[{"ranges":[{"type":"git","introduced":"ceb5ab3cb64637952657be23d347e1c79dd02212","fixed":"721bd22bcf45a63ebd9bd0f478ef721b45cc5383","status":"affected"},{"type":"git","introduced":"ceb5ab3cb64637952657be23d347e1c79dd02212","fixed":"d58fca8513414b15387460b14a7a0a30405b9c9e","status":"affected"},{"type":"git","introduced":"ceb5ab3cb64637952657be23d347e1c79dd02212","fixed":"779c59274d03cc5c07237a2c845dfb71cff77705","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.17","status":"unaffected"},{"type":"semver","introduced":"6.18.14","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.4","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.17","fixed":"6.18.14"},{"status":"affected","introduced":"6.19","fixed":"6.19.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/721bd22bcf45a63ebd9bd0f478ef721b45cc5383","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d58fca8513414b15387460b14a7a0a30405b9c9e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/779c59274d03cc5c07237a2c845dfb71cff77705","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45896","url":"https://www.cve.org/CVERecord?id=CVE-2026-45896","licence":"CVE Terms of Use","modified":"2026-05-27T12:17:06.332Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45896","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45896","licence":"Public domain","modified":"2026-06-25T21:09:48.927Z"}],"updatedAt":"2026-11-25T22:59:22.493Z","epss":{"score":0.00162,"percentile":0.05636,"date":"2026-12-02T12:00:21.000Z"}}