of: reserved_mem: prevent OOB when too many dynamic regions are defined
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 68d27250c9e81ab7764603e346c2b1017cb53adf, Kernel cfa7e2734877330d6c10e0f33953905486c4530c, Kernel db3dbdfea1b8f38774419c5c2c14e4b81c48708d and 4 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=9a0fe62f93ede02c27aaca81112af1e59c8c0979 <68d27250c9e81ab7764603e346c2b1017cb53adf, >=8a6e02d0c00e7b62e6acb74146878bb91e9e7e31 <cfa7e2734877330d6c10e0f33953905486c4530c, >=8a6e02d0c00e7b62e6acb74146878bb91e9e7e31 <db3dbdfea1b8f38774419c5c2c14e4b81c48708d, >=8a6e02d0c00e7b62e6acb74146878bb91e9e7e31 <de8ccbd6bf4efe7a059e2c483789936009e10f42, =6.13, >=6.12.13 <6.12.103 | 68d27250c9e81ab7764603e346c2b1017cb53adf, cfa7e2734877330d6c10e0f33953905486c4530c, db3dbdfea1b8f38774419c5c2c14e4b81c48708d, de8ccbd6bf4efe7a059e2c483789936009e10f42, 6.12.103 |
| linux-kernel: Kernel | >=6.13.0 <6.18.44, >=6.19.0 <7.1.8, >=6.12.13 <6.12.103 | 6.18.44, 7.1.8, 6.12.103 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket