# CVE-2022-50386: Bluetooth: L2CAP: Fix user-after-free

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 40% of CVEs (2026-11-30)
- Published: 2025-09-18T13:33:07.191Z
- Modified: 2026-08-05T08:58:30.414Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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

(As written by CVE List.)

## Affected

- Linux Linux: from 3df91ea20e744344100b10ae69a17211fcf5b207 before 11e40d6c0823f699d8ad501e48d1c3ae4be386cd; from 3df91ea20e744344100b10ae69a17211fcf5b207 before 843fc4e386dd84b806a7f07fb062d8c3a44e5364; from 3df91ea20e744344100b10ae69a17211fcf5b207 before d91fc2836562f299f34e361e089e9fe154da4f73; from 3df91ea20e744344100b10ae69a17211fcf5b207 before 7d6f9cb24d2b2f6b6370eac074e2e6b1bafdad45; from 3df91ea20e744344100b10ae69a17211fcf5b207 before 0c108cf3ad386e0084277093b55a351c49e0be27; from 3df91ea20e744344100b10ae69a17211fcf5b207 before d1e894f950ad48897d1a7cb05909ea29d8c3810e; from 3df91ea20e744344100b10ae69a17211fcf5b207 before 6ffde6e03085874ae22263ff4cef4869f797e84f; from 3df91ea20e744344100b10ae69a17211fcf5b207 before 15fc21695eb606bdc5d483b92118ee42610a952d; from 3df91ea20e744344100b10ae69a17211fcf5b207 before 35fcbc4243aad7e7d020b7c1dfb14bb888b20a4f; 3.4 (not affected: before 3.4; from 4.9.331 up to 4.9.*; from 4.14.296 up to 4.14.*; from 4.19.262 up to 4.19.*; from 5.4.220 up to 5.4.*; from 5.10.150 up to 5.10.*; from 5.15.75 up to 5.15.*; from 5.19.17 up to 5.19.*; from 6.0.3 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: before 4.9.331; from 4.10 before 4.14.296; from 4.15 before 4.19.262; from 4.20 before 5.4.220; from 5.5 before 5.10.150; from 5.11 before 5.15.75; from 5.16 before 5.19.17; from 6.0 before 6.0.3

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 8.0 High `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.0 High `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/11e40d6c0823f699d8ad501e48d1c3ae4be386cd> (patch)
- <https://git.kernel.org/stable/c/843fc4e386dd84b806a7f07fb062d8c3a44e5364> (patch)
- <https://git.kernel.org/stable/c/d91fc2836562f299f34e361e089e9fe154da4f73> (patch)
- <https://git.kernel.org/stable/c/7d6f9cb24d2b2f6b6370eac074e2e6b1bafdad45> (patch)
- <https://git.kernel.org/stable/c/0c108cf3ad386e0084277093b55a351c49e0be27> (patch)
- <https://git.kernel.org/stable/c/d1e894f950ad48897d1a7cb05909ea29d8c3810e> (patch)
- <https://git.kernel.org/stable/c/6ffde6e03085874ae22263ff4cef4869f797e84f> (patch)
- <https://git.kernel.org/stable/c/15fc21695eb606bdc5d483b92118ee42610a952d> (patch)
- <https://git.kernel.org/stable/c/35fcbc4243aad7e7d020b7c1dfb14bb888b20a4f> (patch)

## Sources

- CVE List: [CVE-2022-50386](https://www.cve.org/CVERecord?id=CVE-2022-50386), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-50386](https://nvd.nist.gov/vuln/detail/CVE-2022-50386), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-50386 · Whole record: https://cve.day/CVE-2022-50386.json · Rebuilt by cve.day 2026-11-25T22:58:21.192Z
