CVE-2026-23461

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

State
Published
Severity
8.8 High
Published
Apr 3, 2026
Updated
Oct 19, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

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

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Affected Products

ProductVersions
LinuxLinux
  • efc30877bd4bc85fefe98d80af60fafc86e5775e to before 11a87dd5df428a4b79a84d2790cac7f3c73f1f0dAffected
  • f87271d21dd4ee83857ca11b94e7b4952749bbae to before c22a5e659959eb77c2fbb58a5adfaf3c3dab7abfAffected
  • ab4eedb790cae44313759b50fe47da285e2519d5 to before da3000cbe4851458a22be38bb18c0689c39fdd5fAffected
  • ab4eedb790cae44313759b50fe47da285e2519d5 to before 71030f3b3015a412133a805ff47970cdcf30c2b8Affected
  • ab4eedb790cae44313759b50fe47da285e2519d5 to before 752a6c9596dd25efd6978a73ff21f3b592668f4aAffected
  • 18ab6b6078fa8191ca30a3065d57bf35d5635761Affected
  • 6.6.84 to before 6.6.130Affected
  • 6.12.20 to before 6.12.78Affected
  • 6.13.8 to before 6.14Affected
LinuxLinux
  • 6.14Affected
  • before 6.14Not affected
  • 6.6.130 through 6.6.*Not affected
  • 6.12.78 through 6.12.*Not affected
  • 6.18.20 through 6.18.*Not affected
  • 6.19.10 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.