همهٔ گزارش‌ها
کم

kernel: mtd: intel-dg: Fix accessing regions before setting nregions

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2026-45896

احتمال بهره‌برداری در ۳۰ روز آینده: 0.16%

FIRST EPSS · ۱۴۰۵/۰۸/۲۷

شرح آسیب‌پذیری

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 ' [*]' Fix it by also fixing an undesired behavior: the loop silently ignores ENOMEM and continues setting the other entries.

A flaw was found in the Linux kernel's mtd_intel_dg driver. This vulnerability occurs because the regions array is accessed before its size (nregions) is properly set, leading to an out-of-bounds memory access. A local attacker could potentially exploit this issue to cause system instability or a denial of service (DoS). The flaw also involves the driver silently ignoring memory allocation errors, which can contribute to unexpected system behavior.