{"id":"CVE-2026-74352","summary":"of: reserved_mem: avoid post-init UAF when alloc_reserved_mem_array() fails","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nof: reserved_mem: avoid post-init UAF when alloc_reserved_mem_array() fails\n\nThe global pointer 'reserved_mem' continues to reference the\nreserved_mem_array which lives in __initdata if\nalloc_reserved_mem_array() fails. of_reserved_mem_lookup() is\nexported for post-init use, that would dereference freed memory\nand trigger a use-after-free.\n\nSo reset reserved_mem_count to 0 when alloc_reserved_mem_array()\nfails.","modified":"2026-08-16T03:48:49.665454391Z","published":"2026-08-15T05:58:38.710Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74352.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/6d28e6ad3c5c9248577f21057baa9bf16fa9ef3b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9af58d10d0d8c08b822de5fc99e61f31a87ede8d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cbd3102fe27bc87da244bf4c3ba670ea4698b0a8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e1686ca81dbf3edbde589b7daf312b45cbf76e03"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74352.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74352"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b6ae53301eb41f0f59f83c161248b186bca7da70"},{"fixed":"6d28e6ad3c5c9248577f21057baa9bf16fa9ef3b"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"00c9a452a235c61f099504783badd9a7675ff5a5"},{"fixed":"9af58d10d0d8c08b822de5fc99e61f31a87ede8d"},{"fixed":"cbd3102fe27bc87da244bf4c3ba670ea4698b0a8"},{"fixed":"e1686ca81dbf3edbde589b7daf312b45cbf76e03"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74352.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.40"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74352.json"}}],"schema_version":"1.9.0"}