# CVE-2026-72336: Bluetooth: 6lowpan: hold L2CAP conn across debugfs control

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-28)
- **Published:** 2026-08-15T05:55:44.487Z
- **Modified:** 2026-10-30T13:19:49.630Z

## Who should check

- Anyone running Linux \>= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, \< 1df008a0770843caaeb7148705fc104bfb266630; \>= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, \< ba1f1ef6522e63aa5dd29805b4390ea2ccadf05e; \>= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, \< d2a8dc1f619c9e0e4126bee795c39ebddd2ec8ff; \>= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, \< 23a83bac3356e7b211bcdcf581a31f7b536a2c24; \>= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, \< 32c48c7f6cc8c7888e46a8c81622154ccafda5d2; \>= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, \< 518aa9505fa10ea5662349e5d2efd8c9e32a820b
- Anyone running Linux 3.17

## Description

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: 6lowpan: hold L2CAP conn across debugfs control

get\_l2cap\_conn() looks up an LE hci\_conn under hdev protection, but
then drops that protection before reading hcon-\>l2cap\_data and before
lowpan\_control\_write() later dereferences conn-\>hcon.  A disconnect or
device close can tear down the same L2CAP connection in that window.

The buggy scenario involves two paths, with each column showing the order
within that path:

6LoWPAN control write:              HCI disconnect/device close:
  1. get\_l2cap\_conn() finds hcon      1. hci\_disconn\_cfm() dispatches
     and hcon-\>l2cap\_data.               the L2CAP disconnect callback.
  2. get\_l2cap\_conn() drops hdev      2. l2cap\_conn\_del() clears
     protection and returns conn.        hcon-\>l2cap\_data and drops the
                                         L2CAP connection reference.
  3. lowpan\_control\_write() reads     3. hci\_conn\_del() removes and drops
     conn-\>hcon.                         the HCI connection.

Take a reference to the L2CAP connection with
l2cap\_conn\_hold\_unless\_zero() while hdev is still locked, and drop that
reference after the debugfs command's last use of conn.  This mirrors the
existing L2CAP ACL receive-side handoff and keeps the connection
dereferenceable after leaving hdev protection.  Export the existing helper
so the bluetooth\_6lowpan module can use the same lifetime primitive.

Validation reproduced this kernel report:
BUG: KASAN: slab-use-after-free in lowpan\_control\_write+0x374/0x520
The buggy address belongs to the object at ffff888111b9d000 which belongs
to the cache kmalloc-1k of size 1024
The buggy address is located 0 bytes inside of freed 1024-byte region
\[ffff888111b9d000, ffff888111b9d400)
Read of size 8
Call trace:
  dump\_stack\_lvl+0x66/0xa0
  print\_report+0xce/0x5f0
  lowpan\_control\_write+0x374/0x520 (net/bluetooth/6lowpan.c:1131)
  srso\_alias\_return\_thunk+0x5/0xfbef5
  \_\_virt\_addr\_valid+0x19f/0x330
  kasan\_report+0xe0/0x110
  \_\_debugfs\_file\_get+0xf7/0x400
  full\_proxy\_write+0x9e/0xd0
  vfs\_write+0x1b0/0x810
  ksys\_write+0xd2/0x170
  dnotify\_flush+0x32/0x220
  do\_syscall\_64+0x115/0x6a0 (arch/x86/entry/syscall\_64.c:87)
  entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
Allocated by task stack:
  kasan\_save\_stack+0x33/0x60
  kasan\_save\_track+0x17/0x60
  \_\_kasan\_kmalloc+0xaa/0xb0
  l2cap\_conn\_add+0x45/0x520
  l2cap\_chan\_connect+0xac6/0xd90
  l2cap\_sock\_connect+0x216/0x350
  \_\_sys\_connect+0x101/0x130
  \_\_x64\_sys\_connect+0x40/0x50
  do\_syscall\_64+0x115/0x6a0 (arch/x86/entry/syscall\_64.c:87)
  entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
Freed by task stack:
  kasan\_save\_stack+0x33/0x60
  kasan\_save\_track+0x17/0x60
  kasan\_save\_free\_info+0x3b/0x60
  \_\_kasan\_slab\_free+0x5f/0x80
  kfree+0x313/0x590
  hci\_conn\_hash\_flush+0xc0/0x140
  hci\_dev\_close\_sync+0x41a/0xb00
  hci\_dev\_close+0x12f/0x160
  hci\_sock\_ioctl+0x157/0x570
  sock\_do\_ioctl+0xf7/0x210
  sock\_ioctl+0x32f/0x490
  \_\_x64\_sys\_ioctl+0xc7/0x110
  do\_syscall\_64+0x115/0x6a0 (arch/x86/entry/syscall\_64.c:87)
  entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
  kasan\_record\_aux\_stack+0xa7/0xc0
  insert\_work+0x32/0x100
  \_\_queue\_work+0x262/0xa60
  queue\_work\_on+0xad/0xb0
  l2cap\_connect\_cfm+0x4ef/0x670
  hci\_le\_remote\_feat\_complete\_evt+0x247/0x430
  hci\_event\_packet+0x360/0x6f0
  hci\_rx\_work+0x2ae/0x7a0
  process\_one\_work+0x4fd/0xbc0
  worker\_thread+0x2d8/0x570
  kthread+0x1ad/0x1f0
  ret\_from\_fork+0x3c9/0x540
  ret\_from\_fork\_asm+0x1a/0x30

## Affected and fixed versions

- Linux: \>= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, \< 1df008a0770843caaeb7148705fc104bfb266630; \>= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, \< ba1f1ef6522e63aa5dd29805b4390ea2ccadf05e; \>= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, \< d2a8dc1f619c9e0e4126bee795c39ebddd2ec8ff; \>= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, \< 23a83bac3356e7b211bcdcf581a31f7b536a2c24; \>= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, \< 32c48c7f6cc8c7888e46a8c81622154ccafda5d2; \>= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, \< 518aa9505fa10ea5662349e5d2efd8c9e32a820b (cvelist)
- Linux: 3.17 (cvelist)

## Mitigation

- Upgrade Linux to 518aa9505fa10ea5662349e5d2efd8c9e32a820b or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-72336. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72336.md
Affected: Linux >= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, < 1df008a0770843caaeb7148705fc104bfb266630; >= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, < ba1f1ef6522e63aa5dd29805b4390ea2ccadf05e; >= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, < d2a8dc1f619c9e0e4126bee795c39ebddd2ec8ff; >= 6b8d4a6a03144c5996f98db…
Fixed in: Linux 1df008a0770843caaeb7148705fc104bfb266630, Linux 23a83bac3356e7b211bcdcf581a31f7b536a2c24, Linux 32c48c7f6cc8c7888e46a8c81622154ccafda5d2, Linux 518aa9505fa10ea5662349e5d2efd8c9e32a820b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-72336 being exploited?

There is no confirmed exploitation: CVE-2026-72336 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-72336?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-72336?

Linux \>= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, \< 1df008a0770843caaeb7148705fc104bfb266630; \>= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, \< ba1f1ef6522e63aa5dd29805b4390ea2ccadf05e; \>= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, \< d2a8dc1f619c9e0e4126bee795c39ebddd2ec8ff; \>= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, \< 23a83bac3356e7b211bcdcf581a31f7b536a2c24; \>= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, \< 32c48c7f6cc8c7888e46a8c81622154ccafda5d2; \>= 6b8d4a6a03144c5996f98db7f8256267b0d72a3a, \< 518aa9505fa10ea5662349e5d2efd8c9e32a820b; Linux 3.17.

### Is there a fix for CVE-2026-72336?

Yes. Fixed in Linux 1df008a0770843caaeb7148705fc104bfb266630, Linux 23a83bac3356e7b211bcdcf581a31f7b536a2c24, Linux 32c48c7f6cc8c7888e46a8c81622154ccafda5d2, Linux 518aa9505fa10ea5662349e5d2efd8c9e32a820b. Upgrade Linux to 518aa9505fa10ea5662349e5d2efd8c9e32a820b or later.

### How do I check if I'm affected by CVE-2026-72336?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/1df008a0770843caaeb7148705fc104bfb266630>
- other: <https://git.kernel.org/stable/c/ba1f1ef6522e63aa5dd29805b4390ea2ccadf05e>
- other: <https://git.kernel.org/stable/c/d2a8dc1f619c9e0e4126bee795c39ebddd2ec8ff>
- other: <https://git.kernel.org/stable/c/23a83bac3356e7b211bcdcf581a31f7b536a2c24>
- other: <https://git.kernel.org/stable/c/32c48c7f6cc8c7888e46a8c81622154ccafda5d2>
- other: <https://git.kernel.org/stable/c/518aa9505fa10ea5662349e5d2efd8c9e32a820b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-72336>

HTML: <https://flawdb.com/CVE-2026-72336> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-72336>
