Use-After-Free Vulnerability in NVIDIA Tegra20 EMC Component
CVE-2024-58034
Summary
A use-after-free vulnerability has been identified in the NVIDIA Tegra20 EMC component within the Linux kernel. The issue arises in the function tegra_emc_find_node_by_ram_code(), where it inadvertently releases device nodes while they are still in use, which may lead to potential exploitation. The fix involves utilizing the for_each_child_of_node() macro and of_get_child_by_name() for better node management and to ensure the stability of operations related to the 'emc-tables' and 'lpddr2' nodes. This bug was uncovered through an experimental verification tool, reinforcing the importance of robust coding practices and thorough testing.
Affected Version(s)
Linux 96e5da7c842424bcf64afe1082b960b42b96190b
Linux 96e5da7c842424bcf64afe1082b960b42b96190b
Linux 96e5da7c842424bcf64afe1082b960b42b96190b < 3b02273446e23961d910b50cc12528faec649fb2
References
Timeline
Vulnerability published
Vulnerability Reserved