Bluetooth: btusb: reorder cleanup in btusb_disconnect to avoid UAF (Linux Linux)

CVE-2025-40283
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.14 % · percentile 3 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected fd913ef7ce619467c6b0644af48ba1fec499c623 < 297dbf87989e09af98f81f2bcb938041785557e8 ; affected fd913ef7ce619467c6b0644af48ba1fec499c623 < f858f004bc343a7ae9f2533bbb2a3ab27428532f ; affected fd913ef7ce619467c6b0644af48ba1fec499c623 < 7a6d1e740220ff9dfcb6a8c994d6ba49e76db198 ; affected fd913ef7ce619467c6b0644af48ba1fec499c623 < 5dc00065a0496c36694afe11e52a5bc64524a9b8 ; affected fd913ef7ce619467c6b0644af48ba1fec499c623 < 1c28c1e1522c773a94e26950ffb145e88cd9834b ; affected fd913ef7ce619467c6b0644af48ba1fec499c623 < 95b9b98c93b1c0916a3d4cf4540b7f5d69145a0d
Linux · Linuxaffected 4.11 ; unaffected 0 < 4.11 ; unaffected 5.4.302 ≤ 5.4.* ; unaffected 5.10.247 ≤ 5.10.* ; unaffected 5.15.197 ≤ 5.15.* ; unaffected 6.1.159 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD