← CVE Intelligence

CVE-2025-40283

Bluetooth: btusb: reorder cleanup in btusb_disconnect to avoid UAF PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected fd913ef7ce619467c6b0644af48ba1fec499c623 before 297dbf87989e09af98f81f2bcb938041785557e8; affected fd913ef7ce619467c6b0644af48ba1fec499c623 before f858f004bc343a7ae9f2533bbb2a3ab27428532f; affected fd913ef7ce619467c6b0644af48ba1fec499c623 before 7a6d1e740220ff9dfcb6a8c994d6ba49e76db198; affected fd913ef7ce619467c6b0644af48ba1fec499c623 before 5dc00065a0496c36694afe11e52a5bc64524a9b8; affected fd913ef7ce619467c6b0644af48ba1fec499c623 before 1c28c1e1522c773a94e26950ffb145e88cd9834b; affected fd913ef7ce619467c6b0644af48ba1fec499c623 before 95b9b98c93b1c0916a3d4cf4540b7f5d69145a0d; affected fd913ef7ce619467c6b0644af48ba1fec499c623 before a2610ecd9fd5708be8997ca8f033e4200c0bb6af; affected fd913ef7ce619467c6b0644af48ba1fec499c623 before 23d22f2f71768034d6ef86168213843fc49bf550
Linux / Linuxaffected 4.11; unaffected 0 before 4.11; unaffected 5.4.302 through 5.4.*; unaffected 5.10.247 through 5.10.*; unaffected 5.15.197 through 5.15.*; unaffected 6.1.159 through 6.1.*; unaffected 6.6.117 through 6.6.*; unaffected 6.12.59 through 6.12.*; unaffected 6.17.9 through 6.17.*; unaffected 6.18 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.