CVE-2024-58034
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-58034 affects the Linux kernel's Tegra20 EMC driver. The vulnerability was discovered in December 2024 and involves a Use-After-Free (UAF) bug in the tegra_emc_find_node_by_ram_code() function. The issue occurs when of_find_node_by_name() releases the reference of the argument device node while some device nodes are still in use (NVD).

Technical details

The vulnerability exists in the Linux kernel's memory subsystem, specifically in the Tegra20 EMC driver. The issue stems from incorrect handling of device node references in the tegra_emc_find_node_by_ram_code() function. According to the bindings and in-tree DTS files, the 'emc-tables' node is always a device's child node with the property 'nvidia,use-ram-code', and the 'lpddr2' node is a child of the 'emc-tables' node. The bug was identified by an experimental verification tool and has been assigned a CVSS v3.1 Base Score of 7.8 HIGH (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) (NVD).

Impact

The vulnerability could lead to Use-After-Free conditions in the Linux kernel's memory management system for Tegra devices. This could potentially result in system crashes, memory corruption, or privilege escalation (NVD).

Mitigation and workarounds

A fix has been implemented by replacing the use of of_find_node_by_name() with for_each_child_of_node() macro and of_get_child_by_name() to properly handle node references. The patch has been merged into various Linux kernel versions (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-oem-6.14
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-core
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-nvidia-tegra-5.15
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • linux-aws-fips
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management