Bluetooth Vulnerability in Kernel: Use of hdev lock for accept_list and reject_list in conn req
Summary
GSD-2022-1002762: Bluetooth: use hdev lock for accept_list and reject_list in conn req. Affects Kernel versions >= a55bd29d522729e0cb125474396acdc2a107d4d9, < d89fd0e502cb874df053a834d3248f5a9bdc4ca7. 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 Kernel is a crucial component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities and services to ensure the proper functioning of the system. One of the functionalities it supports is Bluetooth communication, which allows devices to connect and exchange data wirelessly. However, a vulnerability has been identified in the Kernel's Bluetooth implementation, specifically in the handling of connection requests. This vulnerability could potentially lead to security breaches and unauthorized access to Bluetooth-enabled devices.
Vulnerability Detail
The vulnerability arises from the lack of proper synchronization mechanisms in the Kernel's handling of accept_list and reject_list during Bluetooth connection requests. These lists are used to determine which devices are allowed or denied connection requests. Without the appropriate locking mechanism, concurrent access to these lists can result in race conditions and inconsistent states, potentially leading to security vulnerabilities. An attacker could exploit this vulnerability to bypass access restrictions, establish unauthorized connections, and potentially execute malicious actions on the target device.
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
As a temporary workaround, users can disable Bluetooth functionality on their devices until the Kernel is updated. This can be achieved by accessing the device's settings and disabling Bluetooth. However, this workaround may not be feasible in scenarios where Bluetooth functionality is essential. Therefore, it is strongly advised to apply the recommended fix by updating the Kernel as soon as possible.
Conclusion
The Bluetooth vulnerability in the Kernel, related to the handling of accept_list and reject_list during connection requests, poses a significant security risk. It is crucial to update the Linux Kernel to version v5.18.3 or later to mitigate this vulnerability. Disabling Bluetooth functionality can serve as a temporary workaround, but it is recommended to apply the fix as soon as possible. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability could potentially allow attackers to bypass access restrictions and establish unauthorized connections to Bluetooth-enabled devices. This can lead to various security risks, including unauthorized data access, device compromise, and potential execution of malicious actions.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just a manifest file like package-lock.json.
At the time of this report, there is no known public exploit for this vulnerability. However, it is important to apply the recommended fix as soon as possible to mitigate the associated risks.
The recommended solution is to update the Linux Kernel to the latest stable version. This ensures the necessary security patches and fixes are applied. Disabling Bluetooth functionality can serve as a temporary workaround, but it may not be feasible in scenarios where Bluetooth is essential.
For more detailed information about this vulnerability, including technical details and the specific commits addressing it, you can refer to the vulnerability database entry at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002762.json.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.