{"id":"CVE-2026-45896","published":"2026-05-27T12:17:06Z","modified":"2026-05-27T12:17:06Z","title":"mtd: intel-dg: Fix accessing regions before setting nregions","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00162,"percentile":0.05367,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/721bd22bcf45a63ebd9bd0f478ef721b45cc5383","tags":[]},{"url":"https://git.kernel.org/stable/c/d58fca8513414b15387460b14a7a0a30405b9c9e","tags":[]},{"url":"https://git.kernel.org/stable/c/779c59274d03cc5c07237a2c845dfb71cff77705","tags":[]}],"priority":{"score":1.1,"factors":[{"name":"EPSS percentile","points":1.07}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ceb5ab3cb64637952657be23d347e1c79dd02212, < 721bd22bcf45a63ebd9bd0f478ef721b45cc5383",">= ceb5ab3cb64637952657be23d347e1c79dd02212, < d58fca8513414b15387460b14a7a0a30405b9c9e",">= ceb5ab3cb64637952657be23d347e1c79dd02212, < 779c59274d03cc5c07237a2c845dfb71cff77705"]},{"vendor":"Linux","product":"Linux","versions":["6.17"]}],"euvd":{"id":"EUVD-2026-32362","exploited":false,"provenance":"source"}}