Skip to main content
EPSS 0.1%top 96%

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)

0
High
Published: 12/07/2025 (12/07/2025, 00:30:56 UTC)
Source: GCVE Database

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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 17:39:32 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses