Vulnerability · Published Apr 17, 2024 · Assigned by Linux
CVE-2024-26886Bluetooth: af_bluetooth: Fix deadlock
Medium 6.5
In plain English
A medium-severity use-after-free in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: af_bluetooth: Fix deadlock Attemting to do sock_lock on .recvmsg may cause a deadlock as shown bellow, so instead of using sock_sock this uses sk_receive_queue.lock on bt_sock_ioctl to avoid the UAF: INFO: task kworker/u9:1:121 blocked for more than 30 seconds. Not tainted 6.7.6-lemon #183 Workqueue: hci0 hci_rx_work Call Trace: <TASK> __schedule+0x37d/0xa00 schedule+0x32/0xe0 __lock_sock+0x68/0xa0 ? __pfx_autoremove_wake_function+0x10/0x10 lock_sock_nested+0x43/0x50 l2cap_sock_recv_cb+0x21/0xa0 l2cap_recv_frame+0x55b/0x30a0 ? psi_task_switch+0xeb/0x270 ? finish_task_switch.isra.0+0x93/0x2a0 hci_rx_work+0x33a/0x3f0 process_one_work+0x13a/0x2f0 worker_thread+0x2f0/0x410 ? __pfx_worker_thread+0x10/0x10 kthread+0xe0/0x110 ? __pfx_kthread+0x10/0x10 ret_from_fork+0x2c/0x50 ? __pfx_kthread+0x10/0x10 ret_from_fork_asm+0x1b/0x30 </TASK>
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | bpftool | 7.3.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-64k | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-64k-core | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-64k-debug | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-64k-debug-core | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-64k-debug-devel | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-64k-debug-devel-matched | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-64k-debug-modules | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-64k-debug-modules-core | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-64k-debug-modules-extra | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-64k-devel | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-64k-devel-matched | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-64k-modules | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-64k-modules-core | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-64k-modules-extra | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-abi-stablelists | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-core | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-cross-headers | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-debug | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-debug-core | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-debug-devel | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-debug-devel-matched | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-debug-modules | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-debug-modules-core | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-debug-modules-extra | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-debug-uki-virt | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-devel | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-devel-matched | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-doc | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-headers | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-modules | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-modules-core | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-modules-extra | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-rt | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-rt-core | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-rt-debug | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-rt-debug-core | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-rt-debug-devel | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-rt-debug-modules | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-rt-debug-modules-core | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-rt-debug-modules-extra | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-rt-devel | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-rt-modules | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-rt-modules-core | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-rt-modules-extra | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-tools | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-tools-libs | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-tools-libs-devel | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-uki-virt | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-zfcpdump | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-zfcpdump-core | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-zfcpdump-devel | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-zfcpdump-devel-matched | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-zfcpdump-modules | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-zfcpdump-modules-core | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | kernel-zfcpdump-modules-extra | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | libperf | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | perf | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | python3-perf | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | rtla | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux:9 | rv | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| Debian:12 | linux | 6.1.85-1 | DEBIAN-CVE-2024-26886 |
| Debian:13 | linux | 6.7.12-1 | DEBIAN-CVE-2024-26886 |
| Debian:14 | linux | 6.7.12-1 | DEBIAN-CVE-2024-26886 |
| Rocky Linux:9 | kernel | 0:5.14.0-427.35.1.el9_4.cloud.1.0 | RXSA-2024:6567 |
| Rocky Linux:9 | kernel | 0:5.14.0-427.35.1.el9_4 | RLSA-2024:6567 |
| Ubuntu:22.04:LTS | linux | 5.15.0-117.127 | USN-6923-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-117.127 | UBUNTU-CVE-2024-26886 |
| Ubuntu:24.04:LTS | linux | 6.8.0-35.35 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1066.72 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1066.72 | USN-6923-1 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1009.9 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1070.79 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1070.79 | USN-6956-1 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1008.8 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1070.79.1 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1070.79.1 | USN-6956-1 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1065.73 | USN-6923-1 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1065.73 | UBUNTU-CVE-2024-26886 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1008.9 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1063.69 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1063.69 | USN-6923-1 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1004.7 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1049.56 | USN-6923-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1049.56 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1059.62 | USN-6923-2 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1059.62 | UBUNTU-CVE-2024-26886 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1006.6 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1061.67 | USN-6923-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1061.67 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1063.68 | USN-6923-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1063.68 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-117.127 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-117.127 | USN-6923-1 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-35.35.1 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1061.62 | USN-6923-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1061.62 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | 6.8.0-1006.6 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1064.70 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1064.70 | USN-6923-1 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1006.6 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1059.62 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1059.62 | USN-6923-2 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1005.5 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:24.04:LTS | linux-riscv | 6.8.0-35.35.1 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1035.39 | UBUNTU-CVE-2024-26886 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1035.39 | USN-7019-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 2b16d960c79abc397f102c3d23d30005b68cb036 – before 60673f442984fe689d4127a5dd4be414247b3d6737f71e2c9f515834841826f4eb68ec33cfb2a1ff – before 0309acebc4b3884bfda332558bb8a1df052f4f391d576c3a5af850bf11fbd103f9ba11aa6d6061fb – before 64be3c6154886200708da0dfe259705fb992416c2e07e8348ea454615e268222ae3fc240421be768 – before 817e8138ce86001b2fa5c63d6ede756e205a01f72e07e8348ea454615e268222ae3fc240421be768 – before 2c9e2df022ef8b9d7fac58a04a2ef4ed252889552e07e8348ea454615e268222ae3fc240421be768 – before f7b94bdc1ec107c92262716b073b3e816d4784fbdb1b14eec8c61a20374de9f9c2ddc6c9406a8c425.15.146 – before 5.15.209 |
| Linux | Linux | 6.7 |
Weakness: CWE-416 · Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://git.kernel.org/stable/c/60673f442984fe689d4127a5dd4be414247b3d67
- https://git.kernel.org/stable/c/0309acebc4b3884bfda332558bb8a1df052f4f39
- https://git.kernel.org/stable/c/64be3c6154886200708da0dfe259705fb992416c
- https://git.kernel.org/stable/c/817e8138ce86001b2fa5c63d6ede756e205a01f7
- https://git.kernel.org/stable/c/2c9e2df022ef8b9d7fac58a04a2ef4ed25288955
- https://git.kernel.org/stable/c/f7b94bdc1ec107c92262716b073b3e816d4784fb
- https://git.kernel.org/stable/c/cb8adca52f306563d958a863bb0cbae9c184d1ae x_transferred