Race Condition Vulnerability in Linux Kernel Bluetooth Module
Summary
CVE-2023-53046: In the Linux kernel, the following vulnerability has been resolved: Bluetooth: Fix race condition in hci_cmd_sync_clear There is a potential race condition in hci_cmd_sync_work and hci_cmd_sync_clear, and could lead to u... Affects linux versions < 6.1.25-1. Fixed in 6.1.25-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 the core component of many operating systems, providing essential services for hardware and software interactions. It supports a wide range of functionalities, including process management, memory management, device drivers, and system calls. The Bluetooth module within the kernel facilitates wireless communication between devices. However, it is susceptible to vulnerabilities that can compromise system stability and security.
Vulnerability Detail
In the Linux kernel, a race condition has been identified in the Bluetooth module, specifically in the functions hci_cmd_sync_work and hci_cmd_sync_clear. This vulnerability can lead to a use-after-free scenario, where memory that has already been freed is accessed, potentially resulting in kernel panic. The issue arises when hci_cmd_sync_work is added to the 'req_workqueue' after cancel_work_sync, allowing the entry of 'cmd_sync_work_list' to be freed in hci_cmd_sync_clear. This can cause critical failures in the system, as evidenced by the call trace provided in the vulnerability report.
How To Fix
Minimum fixed version
6.1.25-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 mentioned for this vulnerability. It is recommended to apply the patch as soon as it is available to mitigate any risks associated with this issue.
Conclusion
The CVE-2023-53046 vulnerability in the Linux kernel's Bluetooth module poses a significant risk due to a race condition that can lead to system instability. It is crucial to update to the patched version to ensure system security and reliability. Regular monitoring and prompt application of updates are essential to safeguard against such vulnerabilities.
See every vulnerability recorded for linux →
FAQ
CVE-2023-53046 is a vulnerability in the Linux kernel's Bluetooth module that can lead to a race condition and potential kernel panic.
This vulnerability can cause instability in the system, leading to crashes or unexpected behavior when Bluetooth commands are processed.
If you are using Debian 12 or 13 with versions prior to 6.1.25-1, your system is affected by this vulnerability.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without requiring signup.
While there are no specific workarounds, it is advisable to monitor your system closely and apply the patch as soon as possible to mitigate risks.
Related vulnerabilities
Recent vulnerabilities recorded for linux.