Critical Vulnerability in Linux Package: Handle Overflow in Bluetooth Connection Management
Summary
DEBIAN-CVE-2024-42132: In the Linux kernel, the following vulnerability has been resolved: bluetooth/hci: disallow setting handle bigger than HCI_CONN_HANDLE_MAX Syzbot hit warning in hci_conn_del() caused by freeing handle that was not alloca... Affects linux versions < 6.9.9-1. Fixed in 6.9.9-1. 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 kernel is a core component of the Debian operating system, responsible for managing hardware resources and providing essential services for software applications. It supports a wide range of functionalities, including process management, memory management, and device control. The kernel is crucial for system stability and performance, making its security paramount. This vulnerability specifically affects the Bluetooth subsystem, which facilitates wireless communication between devices. The issue arises from improper handling of connection handles, potentially leading to system warnings and instability.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the Bluetooth handling code, specifically in the function hci_conn_del(). This issue occurs when a connection handle larger than the maximum allowed value (HCI_CONN_HANDLE_MAX) is passed to the function hci_le_big_sync_established_evt(). This can lead to the system erroneously treating the connection as unset, resulting in a warning during the freeing of the handle. The root cause is a lack of proper validation for the upper bound of the handle, which could lead to unexpected behavior and potential system instability.
How To Fix
Minimum fixed version
6.9.9-1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade linux
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
Currently, there are no specific workarounds provided for this vulnerability. The best course of action is to apply the patch by updating to the fixed version of the Linux package.
Conclusion
The vulnerability identified in the Linux kernel's Bluetooth handling code poses a risk to system stability due to improper validation of connection handles. It is crucial for users to update to the patched version 6.9.9-1 or later to mitigate this risk. Regular monitoring and prompt updates are essential for maintaining system security.
See every vulnerability recorded for linux →
FAQ
The vulnerability involves improper handling of Bluetooth connection handles in the Linux kernel, which can lead to system warnings and instability.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.
If exploited, this vulnerability could lead to system warnings and potentially impact the stability of Bluetooth connections, affecting device communication.
While the primary concern is system stability, there is no direct indication that this vulnerability leads to data loss. However, system instability could indirectly affect data integrity.
If immediate updates are not possible, monitor your system for unusual behavior and consider using the Vulert platform for real-time alerts on vulnerabilities.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.