GHSA-m4gx-g2g6-vwmjHighCVSS 8.4
In the Linux kernel, the following vulnerability has been resolved: of: reserved_mem: prevent...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-80723
- https://git.kernel.org/stable/c/68d27250c9e81ab7764603e346c2b1017cb53adf
- https://git.kernel.org/stable/c/cfa7e2734877330d6c10e0f33953905486c4530c
- https://git.kernel.org/stable/c/db3dbdfea1b8f38774419c5c2c14e4b81c48708d
- https://git.kernel.org/stable/c/de8ccbd6bf4efe7a059e2c483789936009e10f42
- https://github.com/advisories/GHSA-m4gx-g2g6-vwmj