# CVE-2024-58034: memory: tegra20-emc: fix an OF node reference bug in tegra\_emc\_find\_node\_by\_ram\_code()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-02-27T20:00:52.226Z
- **Modified:** 2026-08-05T11:47:28.781Z

## Who should check

- Anyone running Linux \>= 96e5da7c842424bcf64afe1082b960b42b96190b, \< c3def10c610ae046aaa61d00528e7bd15e4ad8d3; \>= 96e5da7c842424bcf64afe1082b960b42b96190b, \< e9d07e91de140679eeaf275f47ad154467cb9e05; \>= 96e5da7c842424bcf64afe1082b960b42b96190b, \< c144423cb07e4e227a8572d5742ca2b36ada770d; \>= 96e5da7c842424bcf64afe1082b960b42b96190b, \< 3b02273446e23961d910b50cc12528faec649fb2; \>= 96e5da7c842424bcf64afe1082b960b42b96190b, \< 755e44538c190c31de9090d8e8821d228fcfd416; \>= 96e5da7c842424bcf64afe1082b960b42b96190b, \< b9784e5cde1f9fb83661a70e580e381ae1264d12
- Anyone running Linux 5.0

## Description

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\]

## Affected and fixed versions

- Linux: \>= 96e5da7c842424bcf64afe1082b960b42b96190b, \< c3def10c610ae046aaa61d00528e7bd15e4ad8d3; \>= 96e5da7c842424bcf64afe1082b960b42b96190b, \< e9d07e91de140679eeaf275f47ad154467cb9e05; \>= 96e5da7c842424bcf64afe1082b960b42b96190b, \< c144423cb07e4e227a8572d5742ca2b36ada770d; \>= 96e5da7c842424bcf64afe1082b960b42b96190b, \< 3b02273446e23961d910b50cc12528faec649fb2; \>= 96e5da7c842424bcf64afe1082b960b42b96190b, \< 755e44538c190c31de9090d8e8821d228fcfd416; \>= 96e5da7c842424bcf64afe1082b960b42b96190b, \< b9784e5cde1f9fb83661a70e580e381ae1264d12 (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-58034. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-58034.md
Affected: Linux >= 96e5da7c842424bcf64afe1082b960b42b96190b, < c3def10c610ae046aaa61d00528e7bd15e4ad8d3; >= 96e5da7c842424bcf64afe1082b960b42b96190b, < e9d07e91de140679eeaf275f47ad154467cb9e05; >= 96e5da7c842424bcf64afe1082b960b42b96190b, < c144423cb07e4e227a8572d5742ca2b36ada770d; >= 96e5da7c842424bcf64afe1…
Fixed in: Linux 3b02273446e23961d910b50cc12528faec649fb2, Linux 755e44538c190c31de9090d8e8821d228fcfd416

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-58034 being exploited?

There is no confirmed exploitation: CVE-2024-58034 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-58034?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-58034?

Linux \>= 96e5da7c842424bcf64afe1082b960b42b96190b, \< c3def10c610ae046aaa61d00528e7bd15e4ad8d3; \>= 96e5da7c842424bcf64afe1082b960b42b96190b, \< e9d07e91de140679eeaf275f47ad154467cb9e05; \>= 96e5da7c842424bcf64afe1082b960b42b96190b, \< c144423cb07e4e227a8572d5742ca2b36ada770d; \>= 96e5da7c842424bcf64afe1082b960b42b96190b, \< 3b02273446e23961d910b50cc12528faec649fb2; \>= 96e5da7c842424bcf64afe1082b960b42b96190b, \< 755e44538c190c31de9090d8e8821d228fcfd416; \>= 96e5da7c842424bcf64afe1082b960b42b96190b, \< b9784e5cde1f9fb83661a70e580e381ae1264d12; Linux 5.0.

### Is there a fix for CVE-2024-58034?

Yes. Fixed in Linux 3b02273446e23961d910b50cc12528faec649fb2, Linux 755e44538c190c31de9090d8e8821d228fcfd416. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-58034?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/c3def10c610ae046aaa61d00528e7bd15e4ad8d3>
- patch: <https://git.kernel.org/stable/c/e9d07e91de140679eeaf275f47ad154467cb9e05>
- patch: <https://git.kernel.org/stable/c/c144423cb07e4e227a8572d5742ca2b36ada770d>
- patch: <https://git.kernel.org/stable/c/3b02273446e23961d910b50cc12528faec649fb2>
- patch: <https://git.kernel.org/stable/c/755e44538c190c31de9090d8e8821d228fcfd416>
- patch: <https://git.kernel.org/stable/c/b9784e5cde1f9fb83661a70e580e381ae1264d12>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-58034>

HTML: <https://flawdb.com/CVE-2024-58034> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-58034>
