CVE-2026-23461

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
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:*:*:*:*:*:*

History

24 Jul 2026, 22:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: Bluetooth: L2CAP: Corrección de uso después de liberación en l2cap_unregister_user Después del commit ab4eedb790ca ('Bluetooth: L2CAP: Corrección de lista corrupta en hci_chan_del'), l2cap_conn_del() utiliza conn -> lock para proteger el acceso a conn -> users. Sin embargo, l2cap_register_user() y l2cap_unregister_user() no utilizan conn -> lock, creando una condición de carrera donde estas funciones pueden acceder a conn -> users y conn -> hchan concurrentemente con l2cap_conn_del(). Esto puede llevar a uso después de liberación y errores de corrupción de lista, según lo informado por syzbot. Esto se corrige cambiando l2cap_register_user() y l2cap_unregister_user() para que utilicen conn -> lock en lugar de hci_dev_lock(), asegurando un bloqueo consistente para la estructura l2cap_conn.

20 May 2026, 15:30

Type Values Removed Values Added
CWE CWE-416
CPE cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:-:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/11a87dd5df428a4b79a84d2790cac7f3c73f1f0d - () https://git.kernel.org/stable/c/11a87dd5df428a4b79a84d2790cac7f3c73f1f0d - Patch
References () https://git.kernel.org/stable/c/71030f3b3015a412133a805ff47970cdcf30c2b8 - () https://git.kernel.org/stable/c/71030f3b3015a412133a805ff47970cdcf30c2b8 - Patch
References () https://git.kernel.org/stable/c/752a6c9596dd25efd6978a73ff21f3b592668f4a - () https://git.kernel.org/stable/c/752a6c9596dd25efd6978a73ff21f3b592668f4a - Patch
References () https://git.kernel.org/stable/c/c22a5e659959eb77c2fbb58a5adfaf3c3dab7abf - () https://git.kernel.org/stable/c/c22a5e659959eb77c2fbb58a5adfaf3c3dab7abf - Patch
References () https://git.kernel.org/stable/c/da3000cbe4851458a22be38bb18c0689c39fdd5f - () https://git.kernel.org/stable/c/da3000cbe4851458a22be38bb18c0689c39fdd5f - Patch

27 Apr 2026, 14:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8

03 Apr 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-03 16:16

Updated : 2026-07-24 22:10


NVD link : CVE-2026-23461

Mitre link : CVE-2026-23461

CVE.ORG link : CVE-2026-23461


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free