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.
Fix
Patch, vendor advisory and mitigation references on NVD 5
- https://git.kernel.org/stable/c/11a87dd5df428a4b79a84d2790cac7f3c73f1f0d Patch
- https://git.kernel.org/stable/c/71030f3b3015a412133a805ff47970cdcf30c2b8 Patch
- https://git.kernel.org/stable/c/752a6c9596dd25efd6978a73ff21f3b592668f4a Patch
- https://git.kernel.org/stable/c/c22a5e659959eb77c2fbb58a5adfaf3c3dab7abf Patch
- https://git.kernel.org/stable/c/da3000cbe4851458a22be38bb18c0689c39fdd5f Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 3
- CwesCWE-416 → CWE-416, CWE-362NVD modified 2026-10-19 19:17
- StatusAnalyzed → ModifiedNVD modified 2026-10-19 19:17
- First seenCVSS 8.8 · linuxNVD modified 2026-10-16 15:17
Affected (CPE criteria) 11
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.14:-:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.14:rc6:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.14:rc7:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
References 5
- https://git.kernel.org/stable/c/11a87dd5df428a4b79a84d2790cac7f3c73f1f0d Patch
- https://git.kernel.org/stable/c/71030f3b3015a412133a805ff47970cdcf30c2b8 Patch
- https://git.kernel.org/stable/c/752a6c9596dd25efd6978a73ff21f3b592668f4a Patch
- https://git.kernel.org/stable/c/c22a5e659959eb77c2fbb58a5adfaf3c3dab7abf Patch
- https://git.kernel.org/stable/c/da3000cbe4851458a22be38bb18c0689c39fdd5f Patch