# CVE-2025-40283: Bluetooth: btusb: reorder cleanup in btusb\_disconnect to avoid UAF

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-28)
- **Published:** 2025-12-06T21:51:07.409Z
- **Modified:** 2026-10-15T22:19:06.820Z

## Who should check

- Anyone running Linux \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< 297dbf87989e09af98f81f2bcb938041785557e8; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< f858f004bc343a7ae9f2533bbb2a3ab27428532f; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< 7a6d1e740220ff9dfcb6a8c994d6ba49e76db198; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< 5dc00065a0496c36694afe11e52a5bc64524a9b8; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< 1c28c1e1522c773a94e26950ffb145e88cd9834b; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< 95b9b98c93b1c0916a3d4cf4540b7f5d69145a0d; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< a2610ecd9fd5708be8997ca8f033e4200c0bb6af; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< 23d22f2f71768034d6ef86168213843fc49bf550
- Anyone running Linux 4.11

## 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.

## Affected and fixed versions

- Linux: \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< 297dbf87989e09af98f81f2bcb938041785557e8; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< f858f004bc343a7ae9f2533bbb2a3ab27428532f; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< 7a6d1e740220ff9dfcb6a8c994d6ba49e76db198; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< 5dc00065a0496c36694afe11e52a5bc64524a9b8; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< 1c28c1e1522c773a94e26950ffb145e88cd9834b; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< 95b9b98c93b1c0916a3d4cf4540b7f5d69145a0d; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< a2610ecd9fd5708be8997ca8f033e4200c0bb6af; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< 23d22f2f71768034d6ef86168213843fc49bf550 (cvelist)
- Linux: 4.11 (cvelist)

## Mitigation

- Upgrade Linux to 23d22f2f71768034d6ef86168213843fc49bf550 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-40283. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40283.md
Affected: Linux >= fd913ef7ce619467c6b0644af48ba1fec499c623, < 297dbf87989e09af98f81f2bcb938041785557e8; >= fd913ef7ce619467c6b0644af48ba1fec499c623, < f858f004bc343a7ae9f2533bbb2a3ab27428532f; >= fd913ef7ce619467c6b0644af48ba1fec499c623, < 7a6d1e740220ff9dfcb6a8c994d6ba49e76db198; >= fd913ef7ce619467c6b0644…
Fixed in: Linux 297dbf87989e09af98f81f2bcb938041785557e8, Linux 7a6d1e740220ff9dfcb6a8c994d6ba49e76db198, Linux 5dc00065a0496c36694afe11e52a5bc64524a9b8, Linux 1c28c1e1522c773a94e26950ffb145e88cd9834b, Linux 95b9b98c93b1c0916a3d4cf4540b7f5d69145a0d, Linux 23d22f2f71768034d6ef86168213843fc49bf550

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-40283 being exploited?

There is no confirmed exploitation: CVE-2025-40283 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-40283?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-40283?

Linux \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< 297dbf87989e09af98f81f2bcb938041785557e8; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< f858f004bc343a7ae9f2533bbb2a3ab27428532f; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< 7a6d1e740220ff9dfcb6a8c994d6ba49e76db198; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< 5dc00065a0496c36694afe11e52a5bc64524a9b8; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< 1c28c1e1522c773a94e26950ffb145e88cd9834b; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< 95b9b98c93b1c0916a3d4cf4540b7f5d69145a0d; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< a2610ecd9fd5708be8997ca8f033e4200c0bb6af; \>= fd913ef7ce619467c6b0644af48ba1fec499c623, \< 23d22f2f71768034d6ef86168213843fc49bf550; Linux 4.11.

### Is there a fix for CVE-2025-40283?

Yes. Fixed in Linux 297dbf87989e09af98f81f2bcb938041785557e8, Linux 7a6d1e740220ff9dfcb6a8c994d6ba49e76db198, Linux 5dc00065a0496c36694afe11e52a5bc64524a9b8, Linux 1c28c1e1522c773a94e26950ffb145e88cd9834b, Linux 95b9b98c93b1c0916a3d4cf4540b7f5d69145a0d, Linux 23d22f2f71768034d6ef86168213843fc49bf550. Upgrade Linux to 23d22f2f71768034d6ef86168213843fc49bf550 or later.

### How do I check if I'm affected by CVE-2025-40283?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/297dbf87989e09af98f81f2bcb938041785557e8>
- other: <https://git.kernel.org/stable/c/f858f004bc343a7ae9f2533bbb2a3ab27428532f>
- other: <https://git.kernel.org/stable/c/7a6d1e740220ff9dfcb6a8c994d6ba49e76db198>
- other: <https://git.kernel.org/stable/c/5dc00065a0496c36694afe11e52a5bc64524a9b8>
- other: <https://git.kernel.org/stable/c/1c28c1e1522c773a94e26950ffb145e88cd9834b>
- other: <https://git.kernel.org/stable/c/95b9b98c93b1c0916a3d4cf4540b7f5d69145a0d>
- other: <https://git.kernel.org/stable/c/a2610ecd9fd5708be8997ca8f033e4200c0bb6af>
- other: <https://git.kernel.org/stable/c/23d22f2f71768034d6ef86168213843fc49bf550>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-40283>

HTML: <https://flawdb.com/CVE-2025-40283> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-40283>
