CVE-2025-40283

Source
https://cve.org/CVERecord?id=CVE-2025-40283
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40283.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-40283
Downstream
Related
Published
2025-12-06T21:51:07.409Z
Modified
2026-03-20T12:43:14.989076Z
Summary
Bluetooth: btusb: reorder cleanup in btusb_disconnect to avoid UAF
Details

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 btusbdisconnect(). Calling "usbdriverreleaseinterface(&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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40283.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fd913ef7ce619467c6b0644af48ba1fec499c623
Fixed
297dbf87989e09af98f81f2bcb938041785557e8
Fixed
f858f004bc343a7ae9f2533bbb2a3ab27428532f
Fixed
7a6d1e740220ff9dfcb6a8c994d6ba49e76db198
Fixed
5dc00065a0496c36694afe11e52a5bc64524a9b8
Fixed
1c28c1e1522c773a94e26950ffb145e88cd9834b
Fixed
95b9b98c93b1c0916a3d4cf4540b7f5d69145a0d
Fixed
a2610ecd9fd5708be8997ca8f033e4200c0bb6af
Fixed
23d22f2f71768034d6ef86168213843fc49bf550

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40283.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.11.0
Fixed
5.4.302
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.247
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.197
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.159
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.117
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.59
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.17.9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40283.json"