GHSA-9fvr-rjg6-fvw4unknown
In the Linux kernel, the following vulnerability has been resolved: of: reserved_mem: avoid post...
🔗 CVE IDs covered (1)
📋 Description
In the Linux kernel, the following vulnerability has been resolved:
of: reserved_mem: avoid post-init UAF when alloc_reserved_mem_array() fails
The global pointer 'reserved_mem' continues to reference the reserved_mem_array which lives in __initdata if alloc_reserved_mem_array() fails. of_reserved_mem_lookup() is exported for post-init use, that would dereference freed memory and trigger a use-after-free.
So reset reserved_mem_count to 0 when alloc_reserved_mem_array() fails.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-74352
- https://git.kernel.org/stable/c/6d28e6ad3c5c9248577f21057baa9bf16fa9ef3b
- https://git.kernel.org/stable/c/9af58d10d0d8c08b822de5fc99e61f31a87ede8d
- https://git.kernel.org/stable/c/cbd3102fe27bc87da244bf4c3ba670ea4698b0a8
- https://git.kernel.org/stable/c/e1686ca81dbf3edbde589b7daf312b45cbf76e03
- https://github.com/advisories/GHSA-9fvr-rjg6-fvw4