CVE-2025-39860
published high CVSS 3.1 · 8.0Bluetooth: Fix use-after-free in l2cap_sock_cleanup_listen()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa2da00d1ea1abfb04f846638e210b5b5166e3c9c to < 964cbb198f9c46c2b2358cd1faffc04c1e8248cf · 06f87c96216bc5cd1094c23492274f77f1d5dd3b to < 83e1d9892ef51785cf0760b7681436760dda435a · fbe5a2fed8156cc19eb3b956602b0a1dd46a302d to < 47f6090bcf75c369695d21c3f179db8a56bbbd49 · 29fac18499332211b2615ade356e2bd8b3269f98 to < 2ca99fc3512a8074de20ee52a87b492dfcc41a4d · 1728137b33c00d5a2b5110ed7aafb42e7c32e4a1 to < 6077d16b5c0f65d571eee709de2f0541fb5ef0ca · 1728137b33c00d5a2b5110ed7aafb42e7c32e4a1 to < 306b0991413b482dbf5585b423022123bb505966 · 1728137b33c00d5a2b5110ed7aafb42e7c32e4a1 to < 3dff390f55ccd9ce12e91233849769b5312180c2 · 1728137b33c00d5a2b5110ed7aafb42e7c32e4a1 to < 862c628108562d8c7a516a900034823b381d3cba · 51822644a047eac2310fab0799b64e3430b5a111 · 82cdb2ccbe43337798393369f0ceb98699fe6037 · 10426afe65c8bf7b24dd0c7be4dcc65f86fc99f9 · 5.4.253 to < 5.4.299 · 5.10.190 to < 5.10.243 · 5.15.126 to < 5.15.192 · 6.1.45 to < 6.1.151 · 4.14.322 to < 4.15 · 4.19.291 to < 4.20 · 6.4.10 to < 6.5 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.5 (affected) · 0 to < 6.5 (unaffected · semver) · 5.4.299 through 5.4.* (unaffected · semver) · 5.10.243 through 5.10.* (unaffected · semver) · 5.15.192 through 5.15.* (unaffected · semver) · 6.1.151 through 6.1.* (unaffected · semver) · 6.6.105 through 6.6.* (unaffected · semver) · 6.12.46 through 6.12.* (unaffected · semver) · 6.16.6 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Siemens | — | RUGGEDCOM RST2428P0 to < V3.3 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0 to < V3.3 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.153-1 | DSA-6009-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
Show 113 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SCALANCE XCH3280 to < V3.3 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SCALANCE XCM3240 to < V3.3 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SCALANCE XCM3280 to < V3.3 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SCALANCE XCM3320 to < V3.3 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SCALANCE XRH334 (24 V DC, 8xFO, CC)0 to < V3.3 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SCALANCE XRM334 (230 V AC, 12xFO)0 to < V3.3 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SCALANCE XRM334 (230 V AC, 8xFO)0 to < V3.3 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+)0 to < V3.3 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SCALANCE XRM334 (24 V DC, 12xFO)0 to < V3.3 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SCALANCE XRM334 (24 V DC, 8xFO)0 to < V3.3 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+)0 to < V3.3 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SCALANCE XRM334 (2x230 V AC, 12xFO)0 to < V3.3 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SCALANCE XRM334 (2x230 V AC, 8xFO)0 to < V3.3 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+)0 to < V3.3 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC CN 41000 to < V5.0 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Debian | bullseye | linux | Advisory build | 5.10.244-1 | DLA-4327-1 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.153-1~deb11u1 | DLA-4328-1 |
| Debian | trixie | linux | Advisory build | 6.12.48-1 | DSA-6008-1 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.349.3.1.el7uek | ELSA-2025-25755 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.349.3.1.el7uek | ELSA-2025-25755 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.349.3.1.el7uek | ELSA-2025-25755 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.349.3.1.el7uek | ELSA-2025-25755 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.349.3.1.el7uek | ELSA-2025-25755 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.349.3.1.el7uek | ELSA-2025-25755 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.349.3.1.el7uek | ELSA-2025-25755 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.349.3.1.el7uek | ELSA-2025-25755 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.349.3.1.el8uek | ELSA-2025-25755 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.349.3.1.el8uek | ELSA-2025-25755 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.349.3.1.el8uek | ELSA-2025-25755 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.349.3.1.el8uek | ELSA-2025-25755 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.349.3.1.el8uek | ELSA-2025-25755 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.349.3.1.el8uek | ELSA-2025-25755 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.349.3.1.el8uek | ELSA-2025-25755 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.349.3.1.el8uek | ELSA-2025-25755 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.349.3.1.el8uek | ELSA-2025-25755 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: Fix use-after-free in l2cap_sock_cleanup_listen() syzbot reported the splat below without a repro. In the splat, a single thread calling bt_accept_dequeue() freed sk and touched it after that. The root cause would be the racy l2cap_sock_cleanup_listen() call added by the cited commit. bt_accept_dequeue() is called under lock_sock() except for l2cap_sock_release(). Two threads could see the same socket during the list iteration in bt_accept_dequeue(): CPU1 CPU2 (close()) ---- ---- sock_hold(sk) sock_hold(sk); lock_sock(sk) <-- block close() sock_put(sk) bt_accept_unlink(sk) sock_put(sk) <-- refcnt by bt_accept_enqueue() release_sock(sk) lock_sock(sk) sock_put(sk) bt_accept_unlink(sk) sock_put(sk) <-- last refcnt bt_accept_unlink(sk) <-- UAF Depending on the timing, the other thread could show up in the "Freed by task" part. Let's call l2cap_sock_cleanup_listen() under lock_sock() in l2cap_sock_release(). [0]: BUG: KASAN: slab-use-after-free in debug_spin_lock_before kernel/locking/spinlock_debug.c:86 [inline] BUG: KASAN: slab-use-after-free in do_raw_spin_lock+0x26f/0x2b0 kernel/locking/spinlock_debug.c:115 Read of size 4 at addr ffff88803b7eb1c4 by task syz.5.3276/16995 CPU: 3 UID: 0 PID: 16995 Comm: syz.5.3276 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xcd/0x630 mm/kasan/report.c:482 kasan_report+0xe0/0x110 mm/kasan/report.c:595 debug_spin_lock_before kernel/locking/spinlock_debug.c:86 [inline] do_raw_spin_lock+0x26f/0x2b0 kernel/locking/spinlock_debug.c:115 spin_lock_bh include/linux/spinlock.h:356 [inline] release_sock+0x21/0x220 net/core/sock.c:3746 bt_accept_dequeue+0x505/0x600 net/bluetooth/af_bluetooth.c:312 l2cap_sock_cleanup_listen+0x5c/0x2a0 net/bluetooth/l2cap_sock.c:1451 l2cap_sock_release+0x5c/0x210 net/bluetooth/l2cap_sock.c:1425 __sock_release+0xb3/0x270 net/socket.c:649 sock_close+0x1c/0x30 net/socket.c:1439 __fput+0x3ff/0xb70 fs/file_table.c:468 task_work_run+0x14d/0x240 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xeb/0x110 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x3f6/0x4c0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2accf8ebe9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffdb6cb1378 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00000000000426fb RCX: 00007f2accf8ebe9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f2acd1b7da0 R08: 0000000000000001 R09: 00000012b6cb166f R10: 0000001b30e20000 R11: 0000000000000246 R12: 00007f2acd1b609c R13: 00007f2acd1b6090 R14: ffffffffffffffff R15: 00007ffdb6cb1490 </TASK> Allocated by task 5326: kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:388 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:405 kasan_kmalloc include/linux/kasan.h:260 [inline] __do_kmalloc_node mm/slub.c:4365 [inline] __kmalloc_nopro ---truncated---
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.0 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:A - The vulnerability lives in the Bluetooth L2CAP socket layer, and the objects that get freed and reused are child sockets that only ever exist because an adjacent Bluetooth peer established L2CAP connections to the listening PSM (`l2cap_connect_cfm` → `l2cap_sock_new_connection_cb`). The attack surface therefore spans the Bluetooth piconet/radio range. AC:L - The attacker controls both sides of the race — one thread blocked in `accept()` on the listening L2CAP socket and another calling `close()` on the same fd — and can retry indefinitely while keeping many pending children queued to widen the `bt_accept_dequeue()` iteration window. Nothing about the race depends on conditions outside the attacker's influence. PR:L - `l2cap_sock_create()` requires no capability for `SOCK_SEQPACKET`/`SOCK_STREAM` (only `SOCK_RAW` gates on `CAP_NET_RAW`), and binding a dynamic PSM ≥ 0x1001 bypasses the `CAP_NET_BIND_SERVICE` check, so an ordinary unprivileged local user can create, listen on, accept from and close the socket that triggers the race. UI:N - The race is driven entirely by the attacker's own threads performing `accept()` and `close()` syscalls plus inbound L2CAP connections; no victim action is needed. S:U - The use-after-free corrupts kernel heap memory within the same kernel security authority; there is no crossing of a VM, IOMMU, or sandbox boundary. C:H - The freed `struct sock` is read after free (`debug_spin_lock_before`/`release_sock`) and lives in a general kmalloc cache, so an attacker who sprays replacement objects into the freed slot can read back attacker-chosen or sensitive kernel data through the stale socket, giving an arbitrary-read path. I:H - After the free the kernel still writes into the object — `list_del_init()` on the freed `accept_q` node (an unlink write of attacker-groomable pointers), `sk_acceptq_removed()`, a refcount decrement, and spinlock stores — yielding a write primitive into reclaimed heap memory that is exploitable for control-flow hijack and privilege escalation. A:H - The bug is a confirmed slab use-after-free (syzbot KASAN splat) that corrupts the parent's accept queue list and takes a spinlock on freed memory, reliably producing an oops/panic and unbootable-level kernel instability.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a2da00d1ea1abfb04f846638e210b5b5166e3c9c to < 964cbb198f9c46c2b2358cd1faffc04c1e8248cf (affected · git)06f87c96216bc5cd1094c23492274f77f1d5dd3b to < 83e1d9892ef51785cf0760b7681436760dda435a (affected · git)fbe5a2fed8156cc19eb3b956602b0a1dd46a302d to < 47f6090bcf75c369695d21c3f179db8a56bbbd49 (affected · git)29fac18499332211b2615ade356e2bd8b3269f98 to < 2ca99fc3512a8074de20ee52a87b492dfcc41a4d (affected · git)1728137b33c00d5a2b5110ed7aafb42e7c32e4a1 to < 6077d16b5c0f65d571eee709de2f0541fb5ef0ca (affected · git)1728137b33c00d5a2b5110ed7aafb42e7c32e4a1 to < 306b0991413b482dbf5585b423022123bb505966 (affected · git)1728137b33c00d5a2b5110ed7aafb42e7c32e4a1 to < 3dff390f55ccd9ce12e91233849769b5312180c2 (affected · git)1728137b33c00d5a2b5110ed7aafb42e7c32e4a1 to < 862c628108562d8c7a516a900034823b381d3cba (affected · git)51822644a047eac2310fab0799b64e3430b5a111 (affected · git)82cdb2ccbe43337798393369f0ceb98699fe6037 (affected · git)10426afe65c8bf7b24dd0c7be4dcc65f86fc99f9 (affected · git)5.4.253 to < 5.4.299 (affected · semver)5.10.190 to < 5.10.243 (affected · semver)5.15.126 to < 5.15.192 (affected · semver)6.1.45 to < 6.1.151 (affected · semver)4.14.322 to < 4.15 (affected · semver)4.19.291 to < 4.20 (affected · semver)6.4.10 to < 6.5 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.5 (affected)0 to < 6.5 (unaffected · semver)5.4.299 through 5.4.* (unaffected · semver)5.10.243 through 5.10.* (unaffected · semver)5.15.192 through 5.15.* (unaffected · semver)6.1.151 through 6.1.* (unaffected · semver)6.6.105 through 6.6.* (unaffected · semver)6.12.46 through 6.12.* (unaffected · semver)6.16.6 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| Siemens | RUGGEDCOM RST2428P | 0 to < V3.3 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | 0 to < V3.3 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE XCH328 | 0 to < V3.3 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE XCM324 | 0 to < V3.3 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE XCM328 | 0 to < V3.3 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE XCM332 | 0 to < V3.3 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE XRH334 (24 V DC, 8xFO, CC) | 0 to < V3.3 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE XRM334 (230 V AC, 12xFO) | 0 to < V3.3 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE XRM334 (230 V AC, 8xFO) | 0 to < V3.3 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) | 0 to < V3.3 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE XRM334 (24 V DC, 12xFO) | 0 to < V3.3 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE XRM334 (24 V DC, 8xFO) | 0 to < V3.3 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) | 0 to < V3.3 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE XRM334 (2x230 V AC, 12xFO) | 0 to < V3.3 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE XRM334 (2x230 V AC, 8xFO) | 0 to < V3.3 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) | 0 to < V3.3 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC CN 4100 | 0 to < V5.0 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
0No weakness assertions.
References
12- https://cert-portal.siemens.com/productcert/html/ssa-032379.html
- https://cert-portal.siemens.com/productcert/html/ssa-089022.html
- https://git.kernel.org/stable/c/2ca99fc3512a8074de20ee52a87b492dfcc41a4d
- https://git.kernel.org/stable/c/306b0991413b482dbf5585b423022123bb505966
- https://git.kernel.org/stable/c/3dff390f55ccd9ce12e91233849769b5312180c2
- https://git.kernel.org/stable/c/47f6090bcf75c369695d21c3f179db8a56bbbd49
- https://git.kernel.org/stable/c/6077d16b5c0f65d571eee709de2f0541fb5ef0ca
- https://git.kernel.org/stable/c/83e1d9892ef51785cf0760b7681436760dda435a
- https://git.kernel.org/stable/c/862c628108562d8c7a516a900034823b381d3cba
- https://git.kernel.org/stable/c/964cbb198f9c46c2b2358cd1faffc04c1e8248cf
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Provider assertions
4Linux · cna
Bluetooth: Fix use-after-free in l2cap_sock_cleanup_listen()
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c327042c3da16a00ad38f8fec3001cfced2edf946f1750fd5962bea6ab54d423
- Ingested
- 15 Oct 2026, 23:26:25 UTC
- Source record
- Official CVE record