Skip to content
Not rated

CVE-2024-50044 In the Linux kernel, the following vulnerability has been resolved: Bluetooth: RFCOMM: FIX possible deadlock in…

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: RFCOMM: FIX possible deadlock in rfcomm_sk_state_change rfcomm_sk_state_change attempts to use sock_lock so it must never be called with it locked but rfcomm_sock_ioctl always attempt to lock it causing the following trace: ====================================================== WARNING: possible circular locking dependency detected 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Not tainted ------------------------------------------------------ syz-executor386/5093 is trying to acquire lock: ffff88807c396258 (sk_lock-AF_BLUETOOTH-BTPROTO_RFCOMM){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1671 [inline] ffff88807c396258 (sk_lock-AF_BLUETOOTH-BTPROTO_RFCOMM){+.+.}-{0:0}, at: rfcomm_sk_state_change+0x5b/0x310 net/bluetooth/rfcomm/sock.c:73 but task is already holding lock: ffff88807badfd28 (&d->lock){+.+.}-{3:3}, at: __rfcomm_dlc_close+0x226/0x6a0 net/bluetooth/rfcomm/core.c:491

Affected products and versions

Product Affected versions Fixed in
Linux 6.12 earliest → < 6.12 6.12
Linux 6.11 earliest → < 6.11.4 6.11.4
Linux 6.6 earliest → < 6.6.57 6.6.57
Linux 6.1 earliest → < 6.1.113 6.1.113
Linux 5.15 earliest → < 5.15.168 5.15.168
Linux 5.10 earliest → < 5.10.227 5.10.227
Linux 5.4 earliest → < 5.4.285 5.4.285
Linux 4.19 earliest → < 4.19.323 4.19.323
Linux 2.6.27 No fix stated
Show the 4 other branches
Product Affected versions Fixed in
RUGGEDCOM RST2428P Versions not published
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family Versions not published
SCALANCE XCM-/XRM-/XCH-/XRH-300 family Versions not published
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 earliest → < 1.1.1 1.1.1

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE