CVE-2024-35790: linux-libc-dev - USB Type-C DisplayPort Driver Sysfs Node Creation Vulnerability
Summary
CVE-2024-35790: In the Linux kernel, the following vulnerability has been resolved: usb: typec: altmodes/displayport: create sysfs nodes as driver's default device attribute group The DisplayPort driver's sysfs nodes may be present to t... 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 Linux kernel that provides the C library for user-space programs. It contains the necessary header files and libraries for compiling and linking programs that use the standard C library. The package is widely used in Linux distributions and is essential for the proper functioning of various software applications. However, a vulnerability has been discovered in the USB Type-C DisplayPort driver of linux-libc-dev.
Vulnerability Detail
The vulnerability in the USB Type-C DisplayPort driver of linux-libc-dev allows for the creation of sysfs nodes before the completion of typec_altmode_set_drvdata(). This can lead to a NULL pointer error when accessing certain sysfs nodes, such as dp->hpd or dp->lock, resulting in a denial of service (DoS) condition. An attacker can exploit this vulnerability by triggering a sysfs read operation, causing the driver to crash or become unresponsive.
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 known workaround for this vulnerability. It is crucial to apply the recommended fix by updating the linux-libc-dev package to the latest version.
Conclusion
The USB Type-C DisplayPort driver vulnerability in linux-libc-dev can lead to a denial of service (DoS) condition. It is crucial to update the package to the latest version to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.
See every vulnerability recorded for linux →
FAQ
linux-libc-dev is a package in the Linux kernel that provides the C library for user-space programs.
The vulnerability can lead to a denial of service (DoS) condition, causing the driver to crash or become unresponsive.
An attacker can exploit this vulnerability by triggering a sysfs read operation, causing the driver to crash or become unresponsive.
No, there is no known workaround for this vulnerability. It is recommended to update the linux-libc-dev package to the latest version.
To fix this vulnerability, update the linux-libc-dev package to version 6.1.90-1 or later.
Related vulnerabilities
Recent vulnerabilities recorded for linux.