VDB

CVE-2024-58034

CVE-2024-58034 PUBLISHED CVSS 7.8 HIGH

memory: tegra20-emc: fix an OF node reference bug in tegra_emc_find_node_by_ram_code()

Reported by linux · Published February 27, 2025

In the Linux kernel, the following vulnerability has been resolved: memory: tegra20-emc: fix an OF node reference bug in tegra_emc_find_node_by_ram_code() As of_find_node_by_name() release the reference of the argument device node, tegra_emc_find_node_by_ram_code() releases some device nodes while still in use, resulting in possible UAFs. According to the bindings and the in-tree DTS files, the "emc-tables" node is always device's child node with the property "nvidia,use-ram-code", and the "lpddr2" node is a child of the "emc-tables" node. Thus utilize the for_each_child_of_node() macro and of_get_child_by_name() instead of of_find_node_by_name() to simplify the code. This bug was found by an experimental verification tool that I am developing. [krzysztof: applied v1, adjust the commit msg to incorporate v2 parts]

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.13.2, 6.12.13, 6.6.76, 6.1.129, 5.15.179

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux96e5da7c842424bcf64afe1082b960b42b96190b, 96e5da7c842424bcf64afe1082b960b42b96190b, 96e5da7c842424bcf64afe1082b960b42b96190b
LinuxLinux5.0, 0, 5.15.179
LinuxLinux96e5da7c842424bcf64afe1082b960b42b96190b, 5.15.179, 6.1.129
linuxlinux_kernel5.0, 5.0, 5.0

Timeline

  • Feb 27, 2025 CVE Published
  • Feb 28, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 27, 2025 Coalition ESS Score (4 in total, the first dated here)
  • Dec 29, 2025 Security Advisory (109 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (106 in total, the first dated here)
  • Nov 9, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-58034
vulnetix vdb fixes CVE-2024-58034

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-58034/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›