{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-58034","id":"CVE-2024-58034","title":"memory: tegra20-emc: fix an OF node reference bug in tegra_emc_find_node_by_ram_code()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmemory: tegra20-emc: fix an OF node reference bug in tegra_emc_find_node_by_ram_code()\n\nAs of_find_node_by_name() release the reference of the argument device\nnode, tegra_emc_find_node_by_ram_code() releases some device nodes while\nstill in use, resulting in possible UAFs. According to the bindings and\nthe in-tree DTS files, the ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nmemory: tegra20-emc: fix an OF node reference bug in tegra_emc_find_node_by_ram_code()\n\nAs of_find_node_by_name() release the reference of the argument device\nnode, tegra_emc_find_node_by_ram_code() releases some device nodes while\nstill in use, resulting in possible UAFs. According to the bindings and\nthe in-tree DTS files, the \"emc-tables\" node is always device's child\nnode with the property \"nvidia,use-ram-code\", and the \"lpddr2\" node is a\nchild of the \"emc-tables\" node. Thus utilize the\nfor_each_child_of_node() macro and of_get_child_by_name() instead of\nof_find_node_by_name() to simplify the code.\n\nThis bug was found by an experimental verification tool that I am\ndeveloping.\n\n[krzysztof: applied v1, adjust the commit msg to incorporate v2 parts]","published":"2025-02-27T20:00:52.226Z","updated":"2026-10-28T02:30:34.693999533Z","reserved":"2025-02-27T02:16:34.052Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"96e5da7c842424bcf64afe1082b960b42b96190b","lessThan":"c3def10c610ae046aaa61d00528e7bd15e4ad8d3","status":"affected","versionType":"git"},{"version":"96e5da7c842424bcf64afe1082b960b42b96190b","lessThan":"e9d07e91de140679eeaf275f47ad154467cb9e05","status":"affected","versionType":"git"},{"version":"96e5da7c842424bcf64afe1082b960b42b96190b","lessThan":"c144423cb07e4e227a8572d5742ca2b36ada770d","status":"affected","versionType":"git"},{"version":"96e5da7c842424bcf64afe1082b960b42b96190b","lessThan":"3b02273446e23961d910b50cc12528faec649fb2","status":"affected","versionType":"git"},{"version":"96e5da7c842424bcf64afe1082b960b42b96190b","lessThan":"755e44538c190c31de9090d8e8821d228fcfd416","status":"affected","versionType":"git"},{"version":"96e5da7c842424bcf64afe1082b960b42b96190b","lessThan":"b9784e5cde1f9fb83661a70e580e381ae1264d12","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.0","status":"affected"},{"version":"0","lessThan":"5.0","status":"unaffected","versionType":"semver"},{"version":"5.15.179","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.129","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.76","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.13","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13.2","lessThanOrEqual":"6.13.*","status":"unaffected","versionType":"semver"},{"version":"6.14","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/c3def10c610ae046aaa61d00528e7bd15e4ad8d3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e9d07e91de140679eeaf275f47ad154467cb9e05","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c144423cb07e4e227a8572d5742ca2b36ada770d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3b02273446e23961d910b50cc12528faec649fb2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/755e44538c190c31de9090d8e8821d228fcfd416","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b9784e5cde1f9fb83661a70e580e381ae1264d12","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58034.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58034","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00236,"epssPercentile":0.14803,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-58034","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58034","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-58034","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-58034","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}