CVE-2026-45896

Source
https://cve.org/CVERecord?id=CVE-2026-45896
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45896.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-45896
Downstream
Published
2026-05-27T12:17:06.332Z
Modified
2026-07-08T08:09:39.524043654Z
Summary
mtd: intel-dg: Fix accessing regions before setting nregions
Details

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/mtdinteldg.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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45896.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ceb5ab3cb64637952657be23d347e1c79dd02212
Fixed
721bd22bcf45a63ebd9bd0f478ef721b45cc5383
Fixed
d58fca8513414b15387460b14a7a0a30405b9c9e
Fixed
779c59274d03cc5c07237a2c845dfb71cff77705

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45896.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.17.0
Fixed
6.18.14
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45896.json"