Linux Kernel Open Firmware Double-Free Fixed in Stable and RHEL Kernels
Vulnerability Disclosure · 2 sources · Updated 3mo ago · First seen Feb 19, 2025

CVE-2023-52679 is a double-free flaw in the Linux kernel Open Firmware (OF) routine of_parse_phandle_with_args_map() in drivers/of/base.c. Present since kernel 4.17, the bug can occur when an inner loop releases an OF-node reference while retaining a stale pointer value, potentially freeing the same object twice. Exploitation requires local access and low privileges, with no user interaction; NVD and CVE.org score it 7.8 CVSS v3.1, while Red Hat rates it Low at 5.5.
The flaw is fixed in stable kernels 4.19.306, 5.4.268, 5.10.209, 5.15.148, 6.1.75, 6.6.14, 6.7.2, and 6.8 and later. Red Hat has released fixes for RHEL 8 standard and real-time kernels and for RHEL 9 standard kernels, including RHEL 9.4 Extended Update Support; RHEL 9 kernel-rt remains affected. RHEL 6 is unaffected, while unsupported RHEL 7 kernel and kernel-rt deployments should be treated as affected; administrators should upgrade to a current vendor-supported kernel release rather than cherry-pick the patch.
Why it matters
Impact assessment
CVE-2023-52679 affects Linux systems running kernels with vulnerable Open Firmware code, introduced in kernel 4.17. A local, low-privileged user could trigger a kernel double-free condition, with potential system compromise or denial of service; no exploitation in the wild is reported in the supplied references.
Scope and severity
- Affected population: Linux hosts using vulnerable upstream kernels and applicable vendor kernels, particularly RHEL 7 deployments and RHEL 9
kernel-rtdeployments that remain unremediated. - Attack preconditions: Local access, low privileges, low attack complexity, and no user interaction.
- Operational impact: A successful trigger can destabilize or crash the host. NVD/CVE.org rate the issue CVSS 7.8, while Red Hat rates it CVSS 5.5 with availability impact only.
- Exposure is broad across kernel versions derived from 4.17 onward, but exploitation is constrained to users or workloads that can execute code locally on the target host.
- No public indicators, exploit samples, or confirmed in-the-wild exploitation are provided.
Red Hat status
- Fixed: RHEL 8
kernelandkernel-rt; RHEL 9kernel; RHEL 9.4 EUSkernel. - Still affected: RHEL 9
kernel-rt, with no identified erratum in the reference. - Not affected: RHEL 6
kernel. - Treat as affected: Unsupported RHEL 7
kernelandkernel-rt, because Red Hat did not perform affectedness analysis for out-of-support products.


