Name | CVE-2024-58034 |
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] |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-4102-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
linux (PTS) | bullseye | 5.10.223-1 | vulnerable |
bullseye (security) | 5.10.234-1 | vulnerable | |
bookworm | 6.1.129-1 | fixed | |
bookworm (security) | 6.1.128-1 | vulnerable | |
trixie | 6.12.20-1 | fixed | |
sid | 6.12.21-1 | fixed | |
linux-6.1 (PTS) | bullseye (security) | 6.1.129-1~deb11u1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
linux | source | bookworm | 6.1.129-1 | |||
linux | source | (unstable) | 6.12.13-1 | |||
linux-6.1 | source | bullseye | 6.1.129-1~deb11u1 | DLA-4102-1 |
https://git.kernel.org/linus/b9784e5cde1f9fb83661a70e580e381ae1264d12 (6.14-rc1)