GHSA-mf4h-hfv8-f4v4
A use-after-free (UAF) vulnerability exists in the Linux kernel's Bluetooth subsystem related to the handling of L2CAP socket cleanup during concurrent operations. Specifically, a race condition between socket acceptance and HCI disconnect can cause freed memory to be accessed, leading to kernel memory corruption. This issue has been identified and fixed in the Bluetooth master branch of the Linux kernel.
AI Analysis
Technical Summary
The vulnerability (CVE-2026-53357) involves a use-after-free in the Linux kernel Bluetooth code, specifically in the l2cap_sock_cleanup_listen() function when it concurrently interacts with l2cap_conn_del() triggered by HCI disconnect events. The problem arises because bt_accept_dequeue() releases a socket reference prematurely, and concurrent cleanup operations can free the socket and its associated L2CAP channel while cleanup_listen() still attempts to access them. This leads to a KASAN-detected slab-use-after-free error. The fix involves taking proper socket references and locking to prevent concurrent use-after-free conditions. The issue is distinct from previous fixes addressing related race conditions and was confirmed by extensive testing to eliminate use-after-free reports.
Potential Impact
This vulnerability can cause kernel memory corruption due to use-after-free conditions in the Bluetooth subsystem. While no direct exploit in the wild is known, such memory corruption could potentially lead to system instability or privilege escalation if exploited. The issue affects the Linux kernel Bluetooth stack during concurrent socket acceptance and HCI disconnect operations.
Mitigation Recommendations
A fix has been implemented in the Linux kernel Bluetooth master branch that properly manages socket references and locking to prevent the use-after-free condition. Users and administrators should update to a Linux kernel version that includes this fix once it is released. Patch status is not yet confirmed in stable releases; check the vendor advisory for current remediation guidance.
GHSA-mf4h-hfv8-f4v4
Description
A use-after-free (UAF) vulnerability exists in the Linux kernel's Bluetooth subsystem related to the handling of L2CAP socket cleanup during concurrent operations. Specifically, a race condition between socket acceptance and HCI disconnect can cause freed memory to be accessed, leading to kernel memory corruption. This issue has been identified and fixed in the Bluetooth master branch of the Linux kernel.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability (CVE-2026-53357) involves a use-after-free in the Linux kernel Bluetooth code, specifically in the l2cap_sock_cleanup_listen() function when it concurrently interacts with l2cap_conn_del() triggered by HCI disconnect events. The problem arises because bt_accept_dequeue() releases a socket reference prematurely, and concurrent cleanup operations can free the socket and its associated L2CAP channel while cleanup_listen() still attempts to access them. This leads to a KASAN-detected slab-use-after-free error. The fix involves taking proper socket references and locking to prevent concurrent use-after-free conditions. The issue is distinct from previous fixes addressing related race conditions and was confirmed by extensive testing to eliminate use-after-free reports.
Potential Impact
This vulnerability can cause kernel memory corruption due to use-after-free conditions in the Bluetooth subsystem. While no direct exploit in the wild is known, such memory corruption could potentially lead to system instability or privilege escalation if exploited. The issue affects the Linux kernel Bluetooth stack during concurrent socket acceptance and HCI disconnect operations.
Mitigation Recommendations
A fix has been implemented in the Linux kernel Bluetooth master branch that properly manages socket references and locking to prevent the use-after-free condition. Users and administrators should update to a Linux kernel version that includes this fix once it is released. Patch status is not yet confirmed in stable releases; check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-mf4h-hfv8-f4v4
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-53357"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a46ecd727e9c7971943f52a
Added to database: 07/02/2026, 22:57:27 UTC
Last enriched: 07/02/2026, 23:23:00 UTC
Last updated: 07/03/2026, 00:11:28 UTC
Views: 2
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.