Vulnerability in drm/tegra: Fix reference leak in tegra_dsi_ganged_probe
Summary
GSD-2022-1001220: drm/tegra: Fix reference leak in tegra_dsi_ganged_probe. Affects Kernel versions >= e94236cde4d519cdecd45e2435defba33abdc99f, < f3c99c686e098300c246e5e8a1474133e3dacb05. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The drm/tegra package is a component of the Linux Kernel that provides support for NVIDIA Tegra display controllers. It enables the management and rendering of graphics on Tegra-based devices. One of the functionalities of this package is the tegra_dsi_ganged_probe function, which handles the initialization of ganged DSI panels on Tegra devices. However, a reference leak vulnerability has been identified in this function.
Vulnerability Detail
The reference leak vulnerability in tegra_dsi_ganged_probe allows an attacker to cause a reference count leak, potentially leading to a use-after-free vulnerability. By exploiting this vulnerability, an attacker could execute arbitrary code with kernel privileges or crash the system. The vulnerability was introduced in version v3.19 of the Linux Kernel and has been fixed in version v5.17.2.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.17.2 or later. This can be done by downloading the latest stable version of the Linux Kernel from the official repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and following the installation instructions provided. After updating the kernel, ensure that the system is rebooted to apply the changes.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no known workaround for this vulnerability. It is recommended to apply the fix by updating the Linux Kernel.
Conclusion
The vulnerability in drm/tegra's tegra_dsi_ganged_probe function can lead to a reference leak and potential use-after-free vulnerability. It is crucial to update the Linux Kernel to version v5.17.2 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can be exploited by an attacker to execute arbitrary code with kernel privileges or crash the system.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert Playground will analyze it for any open-source vulnerabilities, including this one.
At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the fix as soon as possible to mitigate any potential risks.
No, this vulnerability requires local access to the system in order to exploit it.
No, all systems running the affected versions of the Linux Kernel are equally vulnerable to this issue.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.