Bluetooth: btusb: reorder cleanup in btusb_disconnect to avoid UAF
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.4.302, 5.10.247, 5.15.197, 6.1.159, 6.6.117, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From fd913ef7ce619467c6b0644af48ba1fec499c623 · fixed in 297dbf87989e09af98f81f2bcb938041785557e8; From fd913ef7ce619467c6b0644af48ba1fec499c623 · fixed in f858f004bc343a7ae9f2533bbb2a3ab27428532f; From fd913ef7ce619467c6b0644af48ba1fec499c623 · fixed in 7a6d1e740220ff9dfcb6a8c994d6ba49e76db198; From fd913ef7ce619467c6b0644af48ba1fec499c623 · fixed in 5dc00065a0496c36694afe11e52a5bc64524a9b8; From fd913ef7ce619467c6b0644af48ba1fec499c623 · fixed in 1c28c1e1522c773a94e26950ffb145e88cd9834b; From fd913ef7ce619467c6b0644af48ba1fec499c623 · fixed in 95b9b98c93b1c0916a3d4cf4540b7f5d69145a0d; From fd913ef7ce619467c6b0644af48ba1fec499c623 · fixed in a2610ecd9fd5708be8997ca8f033e4200c0bb6af; From fd913ef7ce619467c6b0644af48ba1fec499c623 · fixed in 23d22f2f71768034d6ef86168213843fc49bf550
- Linux Linux
4.11
- KernelLinux
From 4.11.0 · fixed in 5.4.302; From 5.5.0 · fixed in 5.10.247; From 5.11.0 · fixed in 5.15.197; From 5.16.0 · fixed in 6.1.159; From 6.2.0 · fixed in 6.6.117; From 6.7.0 · fixed in 6.12.59; From 6.13.0 · fixed in 6.17.9
References 8
git.kernel.org
- stable/c/297dbf87989e09af98f81f2bcb938041785557e8
- stable/c/f858f004bc343a7ae9f2533bbb2a3ab27428532f
- stable/c/7a6d1e740220ff9dfcb6a8c994d6ba49e76db198
- stable/c/5dc00065a0496c36694afe11e52a5bc64524a9b8
- stable/c/1c28c1e1522c773a94e26950ffb145e88cd9834b
- stable/c/95b9b98c93b1c0916a3d4cf4540b7f5d69145a0d
- stable/c/a2610ecd9fd5708be8997ca8f033e4200c0bb6af
- stable/c/23d22f2f71768034d6ef86168213843fc49bf550