CVE-2026-23461

HIGH

Bluetooth: L2CAP: Fix use-after-free in l2cap_unregister_user

Title source: cna
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Fix use-after-free in l2cap_unregister_user After commit ab4eedb790ca ("Bluetooth: L2CAP: Fix corrupted list in hci_chan_del"), l2cap_conn_del() uses conn->lock to protect access to conn->users. However, l2cap_register_user() and l2cap_unregister_user() don't use conn->lock, creating a race condition where these functions can access conn->users and conn->hchan concurrently with l2cap_conn_del(). This can lead to use-after-free and list corruption bugs, as reported by syzbot. Fix this by changing l2cap_register_user() and l2cap_unregister_user() to use conn->lock instead of hci_dev_lock(), ensuring consistent locking for the l2cap_conn structure.

Scores

CVSS v3 8.8
EPSS 0.0002
EPSS Percentile 6.6%
Attack Vector ADJACENT_NETWORK
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (20)
Linux/Linux < 6.14
Linux/Linux 18ab6b6078fa8191ca30a3065d57bf35d5635761
Linux/Linux 6.12.20 - 6.12.78
Linux/Linux 6.12.78 - 6.12.*
Linux/Linux 6.13.8 - 6.14
Linux/Linux 6.14
Linux/Linux 6.18.20 - 6.18.*
Linux/Linux 6.19.10 - 6.19.*
Linux/Linux 6.6.130 - 6.6.*
Linux/Linux 6.6.84 - 6.6.130
... and 10 more
Published Apr 03, 2026
Tracked Since Apr 03, 2026