Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

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

CVSS 3.1 7.8 HIGHCheck source for fixed versionsKEV status unknown

cve-program · CVE-2024-58034

Published

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]

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2024-58034

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/memory/tegra/tegra20-emc.c"
                    ],
                    "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"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/memory/tegra/tegra20-emc.c"
                    ],
                    "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"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 23 Nov 00:59 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current