CVE-2025-40283
kernel: Bluetooth: btusb: reorder cleanup in btusb_disconnect to avoid UAF
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 6, 2025
Updated · July 30, 2026
Description
A use-after-free was found in the btusb Bluetooth driver in the Linux kernel. In btusb_disconnect(), calling usb_driver_release_interface() frees the btusb data structure, but the code subsequently accesses fields from this freed structure, causing a use-after-free condition.
Statement
This occurs during Bluetooth USB adapter disconnect. Physical access to unplug the device or control over USB subsystem is needed. The UAF happens in disconnect path, limiting attack surface.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-825 · Expired Pointer Dereference