All reports
Medium

kernel: of: reserved_mem: prevent OOB when too many dynamic regions are defined

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-80723

Probability of exploitation in the next 30 days: 0.13%

FIRST EPSS · 2026-11-20

Description

In the Linux kernel, the following vulnerability has been resolved: of: reserved_mem: prevent OOB when too many dynamic regions are defined On boot, fdt_scan_reserved_mem() saves each dynamically-placed /reserved-memory subnode into a local array of size MAX_RESERVED_REGIONS. If the device tree defines more than MAX_RESERVED_REGIONS dynamically-placed regions, fdt_scan_reserved_mem() writes past the end of the local array. Add a bounds check that logs an error and skips the excess regions, restoring the original behavior.

A flaw was found in the of: reserved_mem component of the Linux kernel. When the device tree defines more dynamic regions than the MAX_RESERVED_REGIONS array can hold, the fdt_scan_reserved_mem() function performs an out-of-bounds write. This vulnerability can lead to memory corruption, potentially impacting system stability or allowing for further exploitation.