CVE-2024-26886

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
17/04/2024
Last modified:
21/03/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> Bluetooth: af_bluetooth: Fix deadlock<br /> <br /> Attemting to do sock_lock on .recvmsg may cause a deadlock as shown<br /> bellow, so instead of using sock_sock this uses sk_receive_queue.lock<br /> on bt_sock_ioctl to avoid the UAF:<br /> <br /> INFO: task kworker/u9:1:121 blocked for more than 30 seconds.<br /> Not tainted 6.7.6-lemon #183<br /> Workqueue: hci0 hci_rx_work<br /> Call Trace:<br /> <br /> __schedule+0x37d/0xa00<br /> schedule+0x32/0xe0<br /> __lock_sock+0x68/0xa0<br /> ? __pfx_autoremove_wake_function+0x10/0x10<br /> lock_sock_nested+0x43/0x50<br /> l2cap_sock_recv_cb+0x21/0xa0<br /> l2cap_recv_frame+0x55b/0x30a0<br /> ? psi_task_switch+0xeb/0x270<br /> ? finish_task_switch.isra.0+0x93/0x2a0<br /> hci_rx_work+0x33a/0x3f0<br /> process_one_work+0x13a/0x2f0<br /> worker_thread+0x2f0/0x410<br /> ? __pfx_worker_thread+0x10/0x10<br /> kthread+0xe0/0x110<br /> ? __pfx_kthread+0x10/0x10<br /> ret_from_fork+0x2c/0x50<br /> ? __pfx_kthread+0x10/0x10<br /> ret_from_fork_asm+0x1b/0x30<br />

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.10.206 (including) 5.11 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.15.146 (including) 5.16 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.1.70 (including) 6.1.83 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.6.9 (including) 6.6.23 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.7.11 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.8 (including) 6.8.2 (excluding)