CVE-2026-45896 mtd: intel-dg: Fix accessing regions before setting nregions
A bug in the Intel DG MTD driver causes an out-of-bounds array access, potentially leading to a kernel crash or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-45896?
CVE-2026-45896 is a high-severity vulnerability in Linux kernel, published on 27 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
mtd: intel-dg: Fix accessing regions before setting nregions
The regions array is counted by nregions, but it's set only after accessing it:
[] UBSAN: array-index-out-of-bounds in drivers/mtd/devices/mtd_intel_dg.c:750:15 [] index 0 is out of range for type '<unknown> [*]'
Fix it by also fixing an undesired behavior: the loop silently ignores ENOMEM and continues setting the other entries.
Weakness: CWE-129
Which versions are affected by CVE-2026-45896?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-45896?
Apply the vendor's patch.
Is CVE-2026-45896 being exploited?
There is no known exploitation of CVE-2026-45896 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2026-45896, DEBIAN-CVE-2026-45896, GHSA-x95w-mwf5-x656, UBUNTU-CVE-2026-45896.