CVE-2026-64406

Bluetooth: fix UAF in bt_accept_dequeue()

Published Jul 25, 2026 CVSS 3.1 · 8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is a use‑after‑free in the Bluetooth subsystem of the Linux kernel. When a Bluetooth connection is accepted, the function that walks the accept queue drops a temporary reference too early, causing the subsequent unlink operation to release the final reference before the queue is fully cleared. The following sock_hold() then accesses memory that has already been freed, as reported by KASAN. This flaw can corrupt kernel memory and is identified as CWE‑416. An attacker who can force a L2CAP listening socket to exercise this code path might read or overwrite privileged data, enabling elevated privileges or arbitrary code execution.

Affected Systems

All Linux kernel releases that have not incorporated the patch are affected. The CPE strings explicitly list Linux kernel 7.1 and various release candidates for 7.2 (RC1, RC2, RC5, RC6, RC7). Earlier stable releases are also likely vulnerable until the fix is applied. Any distribution that ships one of these kernel versions and runs the Bluetooth stack is impacted.

Risk and Exploitability

The CVSS score of 8.0 indicates high severity, while the EPSS score of less than 1 % reflects a very low current exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker to send crafted Bluetooth packets or otherwise manipulate the accept queue during a listening session. If successful, the attacker could read or write kernel memory, leading to privilege escalation or full system compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel with the patch that preserves the temporary queue reference, or install a newer kernel release that contains the fix.
  • If an update cannot be applied immediately, disable the Bluetooth service: stop the bluetooth daemon, unload the Bluetooth kernel modules, and block incoming Bluetooth traffic using firewall rules.
  • Verify that the system no longer accepts external Bluetooth connections by probing for active L2CAP listeners and monitoring logs for connection attempts.

Generated by OpenCVE AI on September 4, 2026 at 22:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4717-1 linux security update
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
Ubuntu USN Ubuntu USN USN-8726-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8727-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-3 Linux kernel (IBM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8800-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-2 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-4 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8917-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8918-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-416
CPEs cpe:2.3:o:linux:linux_kernel:7.1:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.2:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.2:rc2:*:*:*:*:*:*
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
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.
Title Bluetooth: fix UAF in bt_accept_dequeue()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 8:38 PM
Reserved
Jul 19, 2026, 3:36 PM
Status
Modified
Published
Jul 25, 2026, 10:17 AM
Modified
Oct 19, 2026, 9:17 PM
Severity
Moderate
Public date
Jul 25, 2026, 12:00 AM