In the Linux kernel, the following vulnerability has been resolved: Bluetooth: bnep: Fix UAF read of dev->name bnep_add_connection() needs to keep… (CVE-2026-64178)
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: bnep: Fix UAF read of dev->name bnep_add_connection() needs to keep holding the bnep_session_sem while reading dev->name (just like bnep_get_connlist() does); otherwise the bnep_session() thread can concurrently free the net_device, which can for example be triggered by a concurrent bnep_del_connection(). (This UAF is fairly uninteresting from a security perspective; calling bnep_add_connection() requires passing a capable(CAP_NET_ADMIN) check. It also requires completely tearing down a netdev during a fairly tight race window.)
AI Analysis
Technical Summary
The Linux kernel Bluetooth bnep subsystem had a use-after-free vulnerability (CVE-2026-64178) caused by bnep_add_connection() not holding the bnep_session_sem semaphore while accessing dev->name. This allowed a concurrent bnep_session() thread to free the net_device during a race condition triggered by bnep_del_connection(). Exploitation requires CAP_NET_ADMIN capability and precise timing to tear down the network device concurrently. The vulnerability has been resolved in the Linux kernel.
Potential Impact
The vulnerability could lead to a use-after-free read of dev->name in the Bluetooth bnep code. However, exploitation requires elevated privileges (CAP_NET_ADMIN) and a narrow race window involving network device teardown, limiting practical impact. No known exploits are reported in the wild.
Mitigation Recommendations
A fix for this vulnerability has been applied in the Linux kernel. Users should update to a kernel version that includes this fix. Since exploitation requires CAP_NET_ADMIN privileges and a specific race condition, systems with proper privilege separation and updated kernels are protected.
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: bnep: Fix UAF read of dev->name bnep_add_connection() needs to keep… (CVE-2026-64178)
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: bnep: Fix UAF read of dev->name bnep_add_connection() needs to keep holding the bnep_session_sem while reading dev->name (just like bnep_get_connlist() does); otherwise the bnep_session() thread can concurrently free the net_device, which can for example be triggered by a concurrent bnep_del_connection(). (This UAF is fairly uninteresting from a security perspective; calling bnep_add_connection() requires passing a capable(CAP_NET_ADMIN) check. It also requires completely tearing down a netdev during a fairly tight race window.)
CVSS v3.1
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel Bluetooth bnep subsystem had a use-after-free vulnerability (CVE-2026-64178) caused by bnep_add_connection() not holding the bnep_session_sem semaphore while accessing dev->name. This allowed a concurrent bnep_session() thread to free the net_device during a race condition triggered by bnep_del_connection(). Exploitation requires CAP_NET_ADMIN capability and precise timing to tear down the network device concurrently. The vulnerability has been resolved in the Linux kernel.
Potential Impact
The vulnerability could lead to a use-after-free read of dev->name in the Bluetooth bnep code. However, exploitation requires elevated privileges (CAP_NET_ADMIN) and a narrow race window involving network device teardown, limiting practical impact. No known exploits are reported in the wild.
Mitigation Recommendations
A fix for this vulnerability has been applied in the Linux kernel. Users should update to a kernel version that includes this fix. Since exploitation requires CAP_NET_ADMIN privileges and a specific race condition, systems with proper privilege separation and updated kernels are protected.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-8h46-ffj6-v52h
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64178"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5d27a82a4a8d598912a563
Added to database: 07/19/2026, 19:38:16 UTC
Last enriched: 07/19/2026, 19:41:34 UTC
Last updated: 07/20/2026, 19:41:21 UTC
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.