CVE
CVE-2026-64406
CNA 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.
Affected versions
All Linux kernel vulnerabilities →
- 7.2-rc2This version only
- 7.2-rc1This version only
- ≥ 7.1.1, < 7.1.4Fixed in 7.1.4
- 7.1This version only
- 7.1-rc7This version only
- 7.1-rc6This version only
- 7.1-rc5This version only
- ≥ 7.0.11, < 7.1Fixed in 7.1
- ≥ 6.18.34, < 6.18.39Fixed in 6.18.39
- ≥ 6.12.92, < 6.12.96Fixed in 6.12.96
- ≥ 6.6.142, < 6.6.145Fixed in 6.6.145
- ≥ 6.1.175, < 6.1.178Fixed in 6.1.178
- ≥ 5.15.210, < 5.15.212Fixed in 5.15.212
- ≥ 5.10.259, < 5.10.261Fixed in 5.10.261
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/0a98ff4e7b867f72fbb4e1237d81e9fa02ded0a0 · Patch
- git.kernel.org/stable/c/26168db1ce5a9766cde021b18e590a101c056614 · Patch
- git.kernel.org/stable/c/4bd0b274054f2679f28b70222b607bb0afc3ab9a · Patch
- git.kernel.org/stable/c/50c662bdcd51b03033a0abed6716bfd377ba1049 · Patch
- git.kernel.org/stable/c/6303ed4bbe0095f4cc195225479bf506e010d1db · Patch
- git.kernel.org/stable/c/96ad400d5132eb333f28f6f1e2d58f0728ca9547 · Patch
- git.kernel.org/stable/c/c0577c55219be42b6ea2ea8db11e85bfab6f4e8d · Patch
- git.kernel.org/stable/c/c66a95e60b65d876a927123b0ed36bd6177d9ca6 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.