All reports
Medium

kernel: Bluetooth: bnep: Fix UAF read of dev->name

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-64178

Probability of exploitation in the next 30 days: 0.30%

FIRST EPSS · 2026-11-24

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

A flaw was found in the Linux kernel's Bluetooth Network Encapsulation Protocol (BNEP) module. A local attacker with administrative network capabilities (CAP_NET_ADMIN) could exploit a use-after-free vulnerability in the bnep_add_connection() function. This occurs because the function fails to properly manage a semaphore while reading device names, allowing a concurrent operation to free the network device. While difficult to exploit due to timing requirements and privilege prerequisites, this flaw could potentially lead to system instability or information disclosure.