CVE-2023-53016

Medium

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: Fix possible deadlock in rfcomm_sk_state_change syzbot reports a possible deadlock in rfcomm_sk_state_change [1]. While rfcomm_sock_connect acquires the sk lock and waits for the rfcomm lock, rfcomm_sock_release could have the rfcomm lock and hit a deadlock for acquiring the sk lock. Here's a simplified flow: rfcomm_sock_connect: lock_sock(sk) rfcomm_dlc_open: rfcomm_lock() rfcomm_sock_release: rfcomm_sock_shutdown: rfcomm_lock() __rfcomm_dlc_close: rfcomm_k_state_change: lock_sock(sk) This patch drops the sk lock before calling rfcomm_dlc_open to avoid the possible deadlock and holds sk's reference count to prevent use-after-free after rfcomm_dlc_open completes.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedMar 27, 2025
First seenMar 27, 2025
Weakness typeCWE-667CWE-667

How to fix

Update
  • linux linux_kernel5.15.91, 6.1.9 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.15 ≤ v < 5.15.91, 5.16 ≤ v < 6.1.9, 6.25.15.91, 6.1.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.