First published: Mon Oct 21 2024(Updated: )
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
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | >=2.6.27<5.10.227 | |
Linux Kernel | >=5.11<5.15.168 | |
Linux Kernel | >=5.16<6.1.113 | |
Linux Kernel | >=6.2<6.6.57 | |
Linux Kernel | >=6.7<6.11.4 | |
Linux Kernel | =6.12-rc1 | |
Linux Kernel | =6.12-rc2 | |
debian/linux | <=5.10.223-1<=5.10.226-1 | 6.1.123-1 6.1.128-1 6.12.12-1 6.12.15-1 |
debian/linux-6.1 | 6.1.119-1~deb11u1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-50044 has not been explicitly assigned a severity rating, but it relates to a potential deadlock issue in the Bluetooth RFCOMM module of the Linux kernel.
To fix CVE-2024-50044, update the Linux kernel to versions that address the vulnerability, such as 5.10.227, 5.15.168, 6.1.113, or later.
CVE-2024-50044 affects multiple versions of the Linux kernel between 2.6.27 and 6.12-rc2, specifically those within certain version ranges.
CVE-2024-50044 involves the rfcomm_sk_state_change function in the Bluetooth RFCOMM implementation of the Linux kernel.
Distributions running affected versions of the Linux kernel, such as Debian, may be vulnerable to CVE-2024-50044.