Skip to main content
Mallory
← Back to News
open-source-dependency-vulnerabilityprivilege-escalation-method

Linux Kernel Open Firmware Double-Free Fixed in Stable and RHEL Kernels

Vulnerability Disclosure · 2 sources · Updated 3mo ago · First seen Feb 19, 2025

Linux Kernel Open Firmware Double-Free Fixed in Stable and RHEL Kernels

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-rt deployments 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 kernel and kernel-rt; RHEL 9 kernel; RHEL 9.4 EUS kernel.
  • Still affected: RHEL 9 kernel-rt, with no identified erratum in the reference.
  • Not affected: RHEL 6 kernel.
  • Treat as affected: Unsupported RHEL 7 kernel and kernel-rt, because Red Hat did not perform affectedness analysis for out-of-support products.
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

6 events · Aug 8, 2024 – Feb 19, 2025
  1. Feb 19, 20252y ago

    Red Hat fixes RHEL 9.4 EUS kernel

    Red Hat released RHSA-2025:1658 to address CVE-2023-52679 in the RHEL 9.4 Extended Update Support kernel.

  2. Reported Aug 8, 20242y ago

    Red Hat fixes RHEL 9 standard kernel

    Red Hat released RHSA-2024:9315 to fix CVE-2023-52679 in the standard RHEL 9 kernel.

    CVE-2023-52679 - Red Hat Customer Portal
  3. Aug 8, 20242y ago

    Red Hat fixes RHEL 8 standard and real-time kernels

    Red Hat released RHSA-2024:5101 for the RHEL 8 kernel and RHSA-2024:5102 for the RHEL 8 kernel-rt, addressing CVE-2023-52679.

    CVE-2023-52679 - Red Hat Customer Portal
  4. Reported Aug 8, 20242y ago

    CVE-2023-52679 assigned to Linux kernel OF double-free

    The Linux kernel CVE team assigned CVE-2023-52679 to the Open Firmware double-free vulnerability, in which a stale value can cause of_node_put(new) to release an already released reference.

    CVE-2023-52679 - Red Hat Customer Portal
  5. Reported May 17, 20243y ago

    Stable Linux kernel releases received fixes

    The flaw was fixed in stable kernel releases 4.19.306, 5.4.268, 5.10.209, 5.15.148, 6.1.75, 6.6.14, 6.7.2, and 6.8. The fix resets new to NULL after assigning it to cur and extends unit tests for the vulnerable path.

    CVE-2023-52679: of: Fix double free in of_parse_phandle_with_args_map
  6. Reported May 17, 20243y ago

    Double-free flaw introduced in Linux kernel 4.17

    A commit in Linux kernel 4.17 introduced a stale-reference double-free condition in the Open Firmware function of_parse_phandle_with_args_map().

    CVE-2023-52679: of: Fix double free in of_parse_phandle_with_args_map
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.