Vulnerability · Published Sep 18, 2025 · Assigned by Linux
CVE-2022-50386Bluetooth: L2CAP: Fix user-after-free
High 8.8
In plain English
A high-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.4% (higher than 31% 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: L2CAP: Fix user-after-free This uses l2cap_chan_hold_unless_zero() after calling __l2cap_get_chan_blah() to prevent the following trace: Bluetooth: l2cap_core.c:static void l2cap_chan_destroy(struct kref *kref) Bluetooth: chan 0000000023c4974d Bluetooth: parent 00000000ae861c08 ================================================================== BUG: KASAN: use-after-free in __mutex_waiter_is_first kernel/locking/mutex.c:191 [inline] BUG: KASAN: use-after-free in __mutex_lock_common kernel/locking/mutex.c:671 [inline] BUG: KASAN: use-after-free in __mutex_lock+0x278/0x400 kernel/locking/mutex.c:729 Read of size 8 at addr ffff888006a49b08 by task kworker/u3:2/389
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-core | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-debug | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-devel | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-doc | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-headers | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-modules | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-rt | 4.18.0-553.81.1.rt7.422.el8_10 | ALSA-2025:19103 |
| AlmaLinux:8 | kernel-rt-core | 4.18.0-553.81.1.rt7.422.el8_10 | ALSA-2025:19103 |
| AlmaLinux:8 | kernel-rt-debug | 4.18.0-553.81.1.rt7.422.el8_10 | ALSA-2025:19103 |
| AlmaLinux:8 | kernel-rt-debug-core | 4.18.0-553.81.1.rt7.422.el8_10 | ALSA-2025:19103 |
| AlmaLinux:8 | kernel-rt-debug-devel | 4.18.0-553.81.1.rt7.422.el8_10 | ALSA-2025:19103 |
| AlmaLinux:8 | kernel-rt-debug-modules | 4.18.0-553.81.1.rt7.422.el8_10 | ALSA-2025:19103 |
| AlmaLinux:8 | kernel-rt-debug-modules-extra | 4.18.0-553.81.1.rt7.422.el8_10 | ALSA-2025:19103 |
| AlmaLinux:8 | kernel-rt-devel | 4.18.0-553.81.1.rt7.422.el8_10 | ALSA-2025:19103 |
| AlmaLinux:8 | kernel-rt-modules | 4.18.0-553.81.1.rt7.422.el8_10 | ALSA-2025:19103 |
| AlmaLinux:8 | kernel-rt-modules-extra | 4.18.0-553.81.1.rt7.422.el8_10 | ALSA-2025:19103 |
| AlmaLinux:8 | kernel-tools | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-zfcpdump | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-zfcpdump-core | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-zfcpdump-devel | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-zfcpdump-modules | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | kernel-zfcpdump-modules-extra | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | perf | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| AlmaLinux:8 | python3-perf | 4.18.0-553.81.1.el8_10 | ALSA-2025:19102 |
| Debian:12 | linux | 6.0.3-1 | DEBIAN-CVE-2022-50386 |
| Debian:13 | linux | 6.0.3-1 | DEBIAN-CVE-2022-50386 |
| Debian:14 | linux | 6.0.3-1 | DEBIAN-CVE-2022-50386 |
| Rocky Linux:8 | kernel | 0:4.18.0-553.81.1.el8_10 | RLSA-2025:19102 |
| Rocky Linux:8 | kernel-rt | 0:4.18.0-553.81.1.rt7.422.el8_10 | RLSA-2025:19103 |
| Ubuntu:22.04:LTS | linux | 5.15.0-60.66 | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1030.34 | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1033.40 | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1033.40.1 | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1029.36 | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1027.32 | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1015.19 | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1025.28 | UBUNTU-CVE-2022-50386 |
| Ubuntu:24.04:LTS | linux-intel | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1025.30 | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1028.33 | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-60.66 | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1017.17 | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1029.35 | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1024.26 | UBUNTU-CVE-2022-50386 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:24.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2022-50386 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2022-50386 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 3df91ea20e744344100b10ae69a17211fcf5b207 – before 11e40d6c0823f699d8ad501e48d1c3ae4be386cd3df91ea20e744344100b10ae69a17211fcf5b207 – before 843fc4e386dd84b806a7f07fb062d8c3a44e53643df91ea20e744344100b10ae69a17211fcf5b207 – before d91fc2836562f299f34e361e089e9fe154da4f733df91ea20e744344100b10ae69a17211fcf5b207 – before 7d6f9cb24d2b2f6b6370eac074e2e6b1bafdad453df91ea20e744344100b10ae69a17211fcf5b207 – before 0c108cf3ad386e0084277093b55a351c49e0be273df91ea20e744344100b10ae69a17211fcf5b207 – before d1e894f950ad48897d1a7cb05909ea29d8c3810e3df91ea20e744344100b10ae69a17211fcf5b207 – before 6ffde6e03085874ae22263ff4cef4869f797e84f3df91ea20e744344100b10ae69a17211fcf5b207 – before 15fc21695eb606bdc5d483b92118ee42610a952d |
| Linux | Linux | 3.4 |
Weakness: CWE-416 · Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://git.kernel.org/stable/c/11e40d6c0823f699d8ad501e48d1c3ae4be386cd
- https://git.kernel.org/stable/c/843fc4e386dd84b806a7f07fb062d8c3a44e5364
- https://git.kernel.org/stable/c/d91fc2836562f299f34e361e089e9fe154da4f73
- https://git.kernel.org/stable/c/7d6f9cb24d2b2f6b6370eac074e2e6b1bafdad45
- https://git.kernel.org/stable/c/0c108cf3ad386e0084277093b55a351c49e0be27
- https://git.kernel.org/stable/c/d1e894f950ad48897d1a7cb05909ea29d8c3810e
- https://git.kernel.org/stable/c/6ffde6e03085874ae22263ff4cef4869f797e84f
- https://git.kernel.org/stable/c/15fc21695eb606bdc5d483b92118ee42610a952d
- https://git.kernel.org/stable/c/35fcbc4243aad7e7d020b7c1dfb14bb888b20a4f