In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btusb: reorder cleanup in btusb_disconnect to avoid UAF There is a… (CVE-2025-40283)
A use-after-free (UAF) vulnerability was identified and resolved in the Linux kernel's Bluetooth USB driver (btusb). The issue occurs in the btusb_disconnect function where the driver releases an interface and frees associated data, but subsequently accesses that freed data, leading to a UAF condition. This vulnerability could allow an attacker with local privileges to cause memory corruption with high impact on confidentiality, integrity, and availability. The fix involves reordering the cleanup code to avoid accessing freed memory.
AI Analysis
Technical Summary
CVE-2025-40283 describes a use-after-free vulnerability in the Linux kernel Bluetooth USB driver (btusb). Specifically, in the btusb_disconnect() function, the call to usb_driver_release_interface(&btusb_driver, data->intf) frees the btusb data associated with the interface, but the function later accesses this freed data, causing a slab-use-after-free read detected by KASAN. The vulnerability is resolved by reordering the cleanup steps to ensure no access occurs after the data is freed.
Potential Impact
The vulnerability allows local attackers with limited privileges to exploit a use-after-free condition, potentially leading to arbitrary code execution or denial of service. The CVSS v3.1 vector indicates low attack complexity and privileges required, with no user interaction needed, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to reorder the cleanup in btusb_disconnect and avoid the use-after-free condition. Users and administrators should update to the fixed Linux kernel version once available. Patch status is not explicitly confirmed in the provided data; therefore, check the official Linux kernel advisories or vendor updates for the exact fixed versions and apply them promptly.
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btusb: reorder cleanup in btusb_disconnect to avoid UAF There is a… (CVE-2025-40283)
Description
A use-after-free (UAF) vulnerability was identified and resolved in the Linux kernel's Bluetooth USB driver (btusb). The issue occurs in the btusb_disconnect function where the driver releases an interface and frees associated data, but subsequently accesses that freed data, leading to a UAF condition. This vulnerability could allow an attacker with local privileges to cause memory corruption with high impact on confidentiality, integrity, and availability. The fix involves reordering the cleanup code to avoid accessing freed memory.
CVSS v3.1
Score 7.8high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-40283 describes a use-after-free vulnerability in the Linux kernel Bluetooth USB driver (btusb). Specifically, in the btusb_disconnect() function, the call to usb_driver_release_interface(&btusb_driver, data->intf) frees the btusb data associated with the interface, but the function later accesses this freed data, causing a slab-use-after-free read detected by KASAN. The vulnerability is resolved by reordering the cleanup steps to ensure no access occurs after the data is freed.
Potential Impact
The vulnerability allows local attackers with limited privileges to exploit a use-after-free condition, potentially leading to arbitrary code execution or denial of service. The CVSS v3.1 vector indicates low attack complexity and privileges required, with no user interaction needed, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to reorder the cleanup in btusb_disconnect and avoid the use-after-free condition. Users and administrators should update to the fixed Linux kernel version once available. Patch status is not explicitly confirmed in the provided data; therefore, check the official Linux kernel advisories or vendor updates for the exact fixed versions and apply them promptly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-x57x-cxmg-52pw
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-40283"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6b72d49c2644c7f8479526
Added to database: 07/30/2026, 15:50:44 UTC
Last enriched: 07/30/2026, 17:39:32 UTC
Last updated: 09/10/2026, 19:38:46 UTC
Views: 9
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.