CVE-2023-53016

MEDIUM

Linux Kernel 5.15-5.15.90 6.1.9-6.1.* 6.2 - Deadlock in RFCOMM Socket State Change

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0012
EPSS Percentile 2.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-667 CWE-416
Status published
Products (10)
Linux/Linux < 5.15
Linux/Linux 1804fdf6e494e5e2938c65d8391690b59bcff897 - 17511bd84871f4a6106cb335616e086880313f3f
Linux/Linux 1804fdf6e494e5e2938c65d8391690b59bcff897 - 1d80d57ffcb55488f0ec0b77928d4f82d16b6a90
Linux/Linux 1804fdf6e494e5e2938c65d8391690b59bcff897 - 98aec50ff7f60cc6f2d6a4396b475c547e58b04d
Linux/Linux 5.15
Linux/Linux 5.15.91 - 5.15.*
Linux/Linux 6.1.9 - 6.1.*
Linux/Linux 6.2
linux/linux_kernel 6.2 rc1 (4 CPE variants)
linux/linux_kernel 5.15 - 5.15.91
Published Mar 27, 2025
Tracked Since Feb 18, 2026