# CVE-2023-53016: Bluetooth: Fix possible deadlock in rfcomm_sk_state_change

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-03-27T16:43:44.528Z
- Modified: 2026-06-17T06:44:07.533Z
- Weaknesses: CWE-416, CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1804fdf6e494e5e2938c65d8391690b59bcff897 before 98aec50ff7f60cc6f2d6a4396b475c547e58b04d; from 1804fdf6e494e5e2938c65d8391690b59bcff897 before 17511bd84871f4a6106cb335616e086880313f3f; from 1804fdf6e494e5e2938c65d8391690b59bcff897 before 1d80d57ffcb55488f0ec0b77928d4f82d16b6a90; 5.15 (not affected: before 5.15; from 5.15.91 up to 5.15.*; from 6.1.9 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 5.15 before 5.15.91; from 5.16 before 6.1.9; 6.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/98aec50ff7f60cc6f2d6a4396b475c547e58b04d> (patch)
- <https://git.kernel.org/stable/c/17511bd84871f4a6106cb335616e086880313f3f> (patch)
- <https://git.kernel.org/stable/c/1d80d57ffcb55488f0ec0b77928d4f82d16b6a90> (patch)

## Sources

- CVE List: [CVE-2023-53016](https://www.cve.org/CVERecord?id=CVE-2023-53016), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53016](https://nvd.nist.gov/vuln/detail/CVE-2023-53016), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-53016 · Whole record: https://cve.day/CVE-2023-53016.json · Rebuilt by cve.day 2026-11-25T22:58:34.602Z
