CVE-2025-40283

Bluetooth: btusb: reorder cleanup in btusb_disconnect to avoid UAF

State
Published
Severity
7.8 High
Published
Dec 6, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • fd913ef7ce619467c6b0644af48ba1fec499c623 to before 297dbf87989e09af98f81f2bcb938041785557e8Affected
  • fd913ef7ce619467c6b0644af48ba1fec499c623 to before f858f004bc343a7ae9f2533bbb2a3ab27428532fAffected
  • fd913ef7ce619467c6b0644af48ba1fec499c623 to before 7a6d1e740220ff9dfcb6a8c994d6ba49e76db198Affected
  • fd913ef7ce619467c6b0644af48ba1fec499c623 to before 5dc00065a0496c36694afe11e52a5bc64524a9b8Affected
  • fd913ef7ce619467c6b0644af48ba1fec499c623 to before 1c28c1e1522c773a94e26950ffb145e88cd9834bAffected
  • fd913ef7ce619467c6b0644af48ba1fec499c623 to before 95b9b98c93b1c0916a3d4cf4540b7f5d69145a0dAffected
  • fd913ef7ce619467c6b0644af48ba1fec499c623 to before a2610ecd9fd5708be8997ca8f033e4200c0bb6afAffected
  • fd913ef7ce619467c6b0644af48ba1fec499c623 to before 23d22f2f71768034d6ef86168213843fc49bf550Affected
LinuxLinux
  • 4.11Affected
  • before 4.11Not affected
  • 5.4.302 through 5.4.*Not affected
  • 5.10.247 through 5.10.*Not affected
  • 5.15.197 through 5.15.*Not affected
  • 6.1.159 through 6.1.*Not affected
  • 6.6.117 through 6.6.*Not affected
  • 6.12.59 through 6.12.*Not affected
  • 6.17.9 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.