CVE-2026-45896
publishedmtd: intel-dg: Fix accessing regions before setting nregions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxceb5ab3cb64637952657be23d347e1c79dd02212 to < 721bd22bcf45a63ebd9bd0f478ef721b45cc5383 · ceb5ab3cb64637952657be23d347e1c79dd02212 to < d58fca8513414b15387460b14a7a0a30405b9c9e · ceb5ab3cb64637952657be23d347e1c79dd02212 to < 779c59274d03cc5c07237a2c845dfb71cff77705 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.17 (affected) · 0 to < 6.17 (unaffected · semver) · 6.18.14 through 6.18.* (unaffected · semver) · 6.19.4 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ceb5ab3cb64637952657be23d347e1c79dd02212 to < 721bd22bcf45a63ebd9bd0f478ef721b45cc5383 (affected · git)ceb5ab3cb64637952657be23d347e1c79dd02212 to < d58fca8513414b15387460b14a7a0a30405b9c9e (affected · git)ceb5ab3cb64637952657be23d347e1c79dd02212 to < 779c59274d03cc5c07237a2c845dfb71cff77705 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.17 (affected)0 to < 6.17 (unaffected · semver)6.18.14 through 6.18.* (unaffected · semver)6.19.4 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
mtd: intel-dg: Fix accessing regions before setting nregions
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 71bd409b5461203af88fa77ce640cc064df63974d8f28a4e247e3d07933f7f57
- Ingested
- 23 Sep 2026, 09:15:56 UTC
- Source record
- Official CVE record