Linux Kernel Bluetooth Possible Deadlock Vulnerability in RFCOMM State Change Handling

Vulnerability

A vulnerability in the Linux kernel's Bluetooth implementation could lead to a deadlock during RFCOMM state change operations. The issue arises because the function 'rfcomm_sock_connect' acquires a socket lock and waits for the RFCOMM lock, while 'rfcomm_sock_release' could simultaneously hold the RFCOMM lock and attempt to acquire the socket lock, creating a deadlock situation. This vulnerability has been addressed by modifying the lock management to prevent such a deadlock, ensuring that the socket lock is released before opening a DLC connection, and maintaining the socket's reference count to avoid use-after-free issues.

Impact

Exploitation of this vulnerability could lead to a deadlock condition, causing the system to hang or become unresponsive while waiting for locks to be released.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.3
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.