Bug 2481947 (CVE-2026-45896) - CVE-2026-45896 kernel: mtd: intel-dg: Fix accessing regions before setting nregions
Summary: CVE-2026-45896 kernel: mtd: intel-dg: Fix accessing regions before setting nr...
Keywords:
Status: NEW
Alias: CVE-2026-45896
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-27 15:03 UTC by OSIDB Bzimport
Modified: 2026-05-28 02:41 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-27 15:03:45 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.