CVE-2024-26661: linux-libc-dev - Add NULL test for 'timing generator' in 'dcn21_set_pipe()'
Summary
CVE-2024-26661: In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add NULL test for 'timing generator' in 'dcn21_set_pipe()' In "u32 otg_inst = pipe_ctx->stream_res.tg->inst;" pipe_ctx->stream_res.tg c... Affects linux versions 5.10.103-1 – 6.9.9-1. 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
linux-libc-dev is a package in the Debian operating system that provides the C library for Linux. It is a crucial component for running applications and interacting with the kernel. This vulnerability affects the linux-libc-dev package version 6.1.90-1. The package is responsible for managing the display functionality in the kernel, specifically the 'dcn21_set_pipe()' function in the 'drm/amd/display' module.
Vulnerability Detail
The vulnerability in the 'dcn21_set_pipe()' function arises from a missing NULL test for the 'timing generator' (tg) parameter. The code assumes that 'pipe_ctx->stream_res.tg' is not NULL, but this assumption is not always guaranteed. An attacker could exploit this vulnerability by providing a NULL value for the 'tg' parameter, leading to a NULL pointer dereference and potentially causing a denial of service (DoS) condition. The vulnerability has a CVSS score of 4.4, indicating a medium severity level.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability. However, users can mitigate the risk by ensuring that the 'timing generator' parameter is not NULL before calling the 'dcn21_set_pipe()' function.
Conclusion
The linux-libc-dev package version 6.1.90-1 is affected by a vulnerability in the 'dcn21_set_pipe()' function, which could lead to a denial of service (DoS) condition. Users are advised to update to a non-affected version, such as 6.1.90-2 or later. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for linux →
FAQ
linux-libc-dev is a package in the Debian operating system that provides the C library for Linux. It is essential for running applications and interacting with the kernel.
This vulnerability could potentially lead to a denial of service (DoS) condition in the affected system.
To fix this vulnerability, it is recommended to update the linux-libc-dev package to a version that includes the patch for this issue.
While no specific workaround is mentioned, users can mitigate the risk by ensuring that the 'timing generator' parameter is not NULL before calling the vulnerable function.
The CVSS score of this vulnerability is 4.4, indicating a medium severity level.
Related vulnerabilities
Recent vulnerabilities recorded for linux.