In the Linux kernel, the following vulnerability has been resolved: Bluetooth: fix UAF in bt_accept_dequeue() bt_accept_get() takes a temporary… (CVE-2026-64406)
A use-after-free (UAF) vulnerability in the Linux kernel's Bluetooth subsystem was resolved. The issue occurs in the bt_accept_dequeue() function where a temporary reference is dropped prematurely, leading to potential access of freed memory during socket cleanup. This flaw was detected by KASAN during L2CAP socket listening cleanup. The fix involves retaining the temporary reference through unlink operations and properly dropping it on closed or not-yet-connected paths.
AI Analysis
Technical Summary
CVE-2026-64406 describes a use-after-free vulnerability in the Linux kernel Bluetooth code, specifically in the bt_accept_dequeue() and bt_accept_get() functions. The vulnerability arises because bt_accept_get() takes a temporary reference before releasing the accept queue lock, but bt_accept_dequeue() drops this reference before calling bt_accept_unlink(), which drops the queue reference. If the queue reference was the final one, subsequent sock_hold() calls access freed memory, causing a use-after-free condition. The issue was identified by KASAN during socket cleanup for listening L2CAP sockets. The patch retains the temporary queue-walk reference through unlink and ensures it is properly managed on success or dropped on closed/not-connected paths.
Potential Impact
This vulnerability can lead to use-after-free memory access in the Bluetooth subsystem of the Linux kernel, potentially causing kernel crashes or undefined behavior. There is no evidence of known exploits in the wild. The impact is limited to affected kernel Bluetooth socket operations during connection handling and cleanup.
Mitigation Recommendations
A fix has been implemented to address this vulnerability by retaining the temporary reference correctly and managing its lifecycle properly. Since this is a Linux kernel vulnerability, applying the official kernel patches that include this fix is recommended. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor or Linux kernel advisories for the current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: fix UAF in bt_accept_dequeue() bt_accept_get() takes a temporary… (CVE-2026-64406)
Description
A use-after-free (UAF) vulnerability in the Linux kernel's Bluetooth subsystem was resolved. The issue occurs in the bt_accept_dequeue() function where a temporary reference is dropped prematurely, leading to potential access of freed memory during socket cleanup. This flaw was detected by KASAN during L2CAP socket listening cleanup. The fix involves retaining the temporary reference through unlink operations and properly dropping it on closed or not-yet-connected paths.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-64406 describes a use-after-free vulnerability in the Linux kernel Bluetooth code, specifically in the bt_accept_dequeue() and bt_accept_get() functions. The vulnerability arises because bt_accept_get() takes a temporary reference before releasing the accept queue lock, but bt_accept_dequeue() drops this reference before calling bt_accept_unlink(), which drops the queue reference. If the queue reference was the final one, subsequent sock_hold() calls access freed memory, causing a use-after-free condition. The issue was identified by KASAN during socket cleanup for listening L2CAP sockets. The patch retains the temporary queue-walk reference through unlink and ensures it is properly managed on success or dropped on closed/not-connected paths.
Potential Impact
This vulnerability can lead to use-after-free memory access in the Bluetooth subsystem of the Linux kernel, potentially causing kernel crashes or undefined behavior. There is no evidence of known exploits in the wild. The impact is limited to affected kernel Bluetooth socket operations during connection handling and cleanup.
Mitigation Recommendations
A fix has been implemented to address this vulnerability by retaining the temporary reference correctly and managing its lifecycle properly. Since this is a Linux kernel vulnerability, applying the official kernel patches that include this fix is recommended. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor or Linux kernel advisories for the current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-vm2j-8ch2-x289
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64406"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420a9c2644c7f8083bae
Added to database: 07/25/2026, 23:08:58 UTC
Last enriched: 07/25/2026, 23:25:40 UTC
Last updated: 07/26/2026, 04:40:11 UTC
Views: 5
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.