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.
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel contains a use‑after‑free flaw in the reserved memory subsystem. If the function that allocates the reserved memory array fails, the global pointer ‘reserved_mem’ still references the initdata structure that has already been freed. A later call to the exported function of_reserved_mem_lookup() dereferences this dangling pointer, which can corrupt memory or crash the system.

Affected Systems

Linux kernel users whose systems contain the vulnerable reserved_mem implementation. The advisory does not list specific kernel versions, but any kernel before the commit that resets ‘reserved_mem_count’ to zero on allocation failure is affected. Systems that rely on post‑initialization device tree reserved memory lookups are at risk.

Risk and Exploitability

The CVSS score is 5.5 and the EPSS score indicates a probability of exploitation below 1%. The vulnerability has not been listed in the CISA KEV catalog, implying no known widespread exploitation. While the low exploitation probability reduces the practical risk, the potential impact—denial of service—justifies rapid remediation.

Generated by OpenCVE AI on August 22, 2026 at 03:15 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a kernel version that implements the patch resetting reserved_mem_count and nullifying reserved_mem on allocation failure, thereby addressing the use‑after‑free weakness.
  • Restrict or disable post‑initialization device tree reserved‑memory lookups by configuring of_reserved_mem_lookup usage, or ensure it is called only after a successful allocation, mitigating the resource‑management flaw (CWE‑825).
  • If an immediate kernel upgrade is not feasible, reconfigure the device tree to avoid reserving memory regions that require this subsystem or comment out related entries, reducing dangling‑pointer exposure and addressing CWE‑825.

Generated by OpenCVE AI on August 22, 2026 at 03:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 01:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 21 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sat, 15 Aug 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 15 Aug 2026 06:15:00 +0000

Type Values Removed Values Added
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.
Title of: reserved_mem: avoid post-init UAF when alloc_reserved_mem_array() fails
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:17:45.878Z

Reserved: 2026-08-15T05:44:03.886Z

Link: CVE-2026-74352

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:36.543

Modified: 2026-08-17T06:19:29.907

Link: CVE-2026-74352

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74352 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T03:30:16Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference