All reports
Medium

kernel: Bluetooth: fix UAF in bt_accept_dequeue()

Affected versions

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

Exploitation

CVE-2026-64406

Probability of exploitation in the next 30 days: 0.28%

FIRST EPSS · 2026-11-20

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: fix UAF in bt_accept_dequeue() bt_accept_get() takes a temporary reference before dropping the accept queue lock. bt_accept_dequeue() currently drops that reference before bt_accept_unlink(), leaving only the queue reference. bt_accept_unlink() drops the queue reference. The subsequent sock_hold() therefore accesses freed memory if it was the final reference, as observed by KASAN during listening L2CAP socket cleanup. Retain the temporary queue-walk reference through unlink and hand it to the caller on success. Drop it explicitly on the closed and not-yet-connected paths.

A flaw was found in the Linux kernel's Bluetooth subsystem. This use-after-free (UAF) vulnerability in the bt_accept_dequeue() function occurs because a temporary reference is prematurely dropped, leading to sock_hold() accessing freed memory. An attacker could potentially exploit this to cause a denial of service (DoS) or other unpredictable system behavior.