Junglewise Threat Intelligence

CVE-2026-64178: Linux Kernel use-after-free in Bluetooth BNEP connection handling

CVE-2026-64178 · Severity: info · CVSS 2.1 · Published 2026-07-19

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's Bluetooth subsystem that could lead to a system crash. The issue occurs when the system attempts to read a network device name that has already been deleted during a specific connection process. Exploiting this requires administrative privileges and precise timing, making it a low-risk issue for most organizations.

Technical details

A use-after-free (UAF) vulnerability exists in net/bluetooth/bnep/core.c within the Linux kernel. The function bnep_add_connection() prematurely releases the 'bnep_session_sem' semaphore before reading 'dev->name'. This creates a race condition where the 'bnep_session()' thread can concurrently free the 'net_device' structure, specifically if triggered by a concurrent 'bnep_del_connection()' call. An attacker requires CAP_NET_ADMIN privileges to trigger the vulnerable code path. The fix involves extending the semaphore protection to encompass the device name access.

Affected products

  • Linux Linux Kernel 2.6.12 to 6.9.x

Timeline

  • 2026-05-12: disclosed: Vulnerability reported by Jann Horn
  • 2026-06-01: patched: Fixes committed to various stable branches
  • 2026-07-19: advisory: CVE published and NVD record created

References

Related threats