Bug 2516825 (CVE-2026-74352) - CVE-2026-74352 kernel: of: reserved_mem: avoid post-init UAF when alloc_reserved_mem_array() fails
Summary: CVE-2026-74352 kernel: of: reserved_mem: avoid post-init UAF when alloc_reser...
Keywords:
Status: NEW
Alias: CVE-2026-74352
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-15 06:35 UTC by OSIDB Bzimport
Modified: 2026-08-20 18:52 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-15 06:35:27 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.