CVE-2025-40283

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinuxfd913ef7ce619467c6b0644af48ba1fec499c623 < 297dbf87989e09af98f81f2bcb938041785557e8affected
LinuxLinuxfd913ef7ce619467c6b0644af48ba1fec499c623 < f858f004bc343a7ae9f2533bbb2a3ab27428532faffected
LinuxLinuxfd913ef7ce619467c6b0644af48ba1fec499c623 < 7a6d1e740220ff9dfcb6a8c994d6ba49e76db198affected
LinuxLinuxfd913ef7ce619467c6b0644af48ba1fec499c623 < 5dc00065a0496c36694afe11e52a5bc64524a9b8affected
LinuxLinuxfd913ef7ce619467c6b0644af48ba1fec499c623 < 1c28c1e1522c773a94e26950ffb145e88cd9834baffected
LinuxLinuxfd913ef7ce619467c6b0644af48ba1fec499c623 < 95b9b98c93b1c0916a3d4cf4540b7f5d69145a0daffected
LinuxLinuxfd913ef7ce619467c6b0644af48ba1fec499c623 < a2610ecd9fd5708be8997ca8f033e4200c0bb6afaffected
LinuxLinuxfd913ef7ce619467c6b0644af48ba1fec499c623 < 23d22f2f71768034d6ef86168213843fc49bf550affected
LinuxLinux4.11affected
LinuxLinux0 < 4.11unaffected
LinuxLinux5.4.302 <= 5.4.*unaffected
LinuxLinux5.10.247 <= 5.10.*unaffected
LinuxLinux5.15.197 <= 5.15.*unaffected
LinuxLinux6.1.159 <= 6.1.*unaffected
LinuxLinux6.6.117 <= 6.6.*unaffected
LinuxLinux6.12.59 <= 6.12.*unaffected
LinuxLinux6.17.9 <= 6.17.*unaffected
LinuxLinux6.18 <= *unaffected

Weaknesses

References