CVE-2024-27402: Vulnerability in linux-libc-dev package - phonet/pep: fix racy skb_queue_empty() use
Summary
CVE-2024-27402: In the Linux kernel, the following vulnerability has been resolved: phonet/pep: fix racy skb_queue_empty() use The receive queues are protected by their respective spin-lock, not the socket lock. 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
The linux-libc-dev package is a development package that provides the necessary header files and libraries for compiling programs that use the Linux kernel interfaces. It is an essential component for building and running applications on Linux systems. The package is widely used and is included in various Linux distributions.
The vulnerability in the linux-libc-dev package arises from a race condition in the phonet/pep module. The receive queues in this module are protected by their respective spin-lock, not the socket lock. This can lead to the skb_peek() function unexpectedly returning NULL or a pointer to an already dequeued socket buffer.
Vulnerability Detail
The vulnerability in the linux-libc-dev package allows an attacker to exploit the race condition in the phonet/pep module. By manipulating the receive queues, an attacker can cause the skb_peek() function to return NULL or a pointer to an already dequeued socket buffer. This can lead to various issues, including denial of service attacks, information leaks, or potential privilege escalation.
The vulnerability has a CVSS score of 5.5, 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 applying the recommended fix and updating the linux-libc-dev package to the latest version.
Conclusion
The linux-libc-dev package is vulnerable to a race condition in the phonet/pep module, which can have various security implications. It is crucial to update the package to version 6.1.90-1 or later to mitigate the risk. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for linux →
FAQ
The linux-libc-dev package is a development package that provides the necessary header files and libraries for compiling programs that use the Linux kernel interfaces.
The phonet/pep module is a component of the Linux kernel that handles communication protocols for certain mobile devices.
A race condition is a situation in which the behavior of a system depends on the relative timing of events, which can lead to unpredictable or unintended outcomes.
The vulnerability can be exploited to cause denial of service attacks, information leaks, or potential privilege escalation.
The CVSS score of this vulnerability is 5.5, indicating a medium severity level.
Related vulnerabilities
Recent vulnerabilities recorded for linux.