CVE-2024-50044
Linux Bluetooth RFCOMM Deadlock Vulnerability
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
INFO
Published Date :
Oct. 21, 2024, 8:15 p.m.
Last Modified :
Nov. 8, 2024, 4:15 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
1.4
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-50044
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-50044
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-50044
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 08, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/b77b3fb12fd483cae7c28648903b1d8a6b275f01 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/869c6ee62ab8f01bf2419e45326642be5c9b670a [No types assigned] -
Initial Analysis by [email protected]
Oct. 24, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L Changed Reference Type https://git.kernel.org/stable/c/08d1914293dae38350b8088980e59fbc699a72fe No Types Assigned https://git.kernel.org/stable/c/08d1914293dae38350b8088980e59fbc699a72fe Patch Changed Reference Type https://git.kernel.org/stable/c/38b2d5a57d125e1c17661b8308c0240c4a43b534 No Types Assigned https://git.kernel.org/stable/c/38b2d5a57d125e1c17661b8308c0240c4a43b534 Patch Changed Reference Type https://git.kernel.org/stable/c/496b2ab0fd10f205e08909a125485fdc98843dbe No Types Assigned https://git.kernel.org/stable/c/496b2ab0fd10f205e08909a125485fdc98843dbe Patch Changed Reference Type https://git.kernel.org/stable/c/4cb9807c9b53bf1e5560420d26f319f528b50268 No Types Assigned https://git.kernel.org/stable/c/4cb9807c9b53bf1e5560420d26f319f528b50268 Patch Changed Reference Type https://git.kernel.org/stable/c/ced98072d3511b232ae1d3347945f35f30c0e303 No Types Assigned https://git.kernel.org/stable/c/ced98072d3511b232ae1d3347945f35f30c0e303 Patch Changed Reference Type https://git.kernel.org/stable/c/ef44274dae9b0a90d1a97ce8b242a3b8243a7745 No Types Assigned https://git.kernel.org/stable/c/ef44274dae9b0a90d1a97ce8b242a3b8243a7745 Patch Added CWE NIST CWE-667 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.27 up to (excluding) 5.10.227 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.168 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.113 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.57 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.11.4 *cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:* -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 21, 2024
Action Type Old Value New Value Added 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 Added Reference kernel.org https://git.kernel.org/stable/c/ef44274dae9b0a90d1a97ce8b242a3b8243a7745 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/496b2ab0fd10f205e08909a125485fdc98843dbe [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ced98072d3511b232ae1d3347945f35f30c0e303 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/38b2d5a57d125e1c17661b8308c0240c4a43b534 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/4cb9807c9b53bf1e5560420d26f319f528b50268 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/08d1914293dae38350b8088980e59fbc699a72fe [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-50044
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-50044
weaknesses.