CVE-2025-40283 Bluetooth: btusb: reorder cleanup in btusb_disconnect to avoid UAF
A use-after-free vulnerability in the Linux kernel's Bluetooth USB driver allows attackers to potentially execute code or cause a system crash.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-40283?
CVE-2025-40283 is a high-severity use after free vulnerability in Linux, published on 6 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: btusb: reorder cleanup in btusb_disconnect to avoid UAF
There is a KASAN: slab-use-after-free read in btusb_disconnect(). Calling "usb_driver_release_interface(&btusb_driver, data->intf)" will free the btusb data associated with the interface. The same data is then used later in the function, hence the UAF.
Fix by moving the accesses to btusb data to before the data is free'd.
Which versions are affected by CVE-2025-40283?
How do I fix CVE-2025-40283?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2025-40283 being exploited?
There is no known exploitation of CVE-2025-40283 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2025-40283, DEBIAN-CVE-2025-40283, GHSA-x57x-cxmg-52pw, ROOT-OS-DEBIAN-12-CVE-2025-40283, ROOT-OS-DEBIAN-13-CVE-2025-40283, ROOT-OS-UBUNTU-2204-CVE-2025-40283 and 2 more.