Local privilege escalation via Bluetooth teardown race
Published May 23, 2024 · Updated Aug 5, 2026
Use-after-free in the Linux Bluetooth Microsoft extension allows local users to gain kernel privileges through an HCI teardown race. The msft_do_close function retains msft_data while msft_unregister clears and frees the same object, then locks its freed filter_lock. A local user with HCI device-management access can race adapter power-down against transport teardown, enabling kernel reads, writes, panic, or privilege escalation.
Summary
What happened
Use-after-free in the Linux Bluetooth Microsoft extension allows local users to gain kernel privileges through an HCI teardown race. The msft_do_close function retains msft_data while msft_unregister clears and frees the same object, then locks its freed filter_lock. A local user with HCI device-management access can race adapter power-down against transport teardown, enabling kernel reads, writes, panic, or privilege escalation.
The record
- CVE
- CVE-2024-36012
- Published
- May 23, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 23, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.12
- Affected versionversion=bf6a4e30ffbd9e9ef8934582feb937f6532f8b68 <10f9f426ac6e752c8d87bf4346930ba347aaabac
- Affected versionversion=bf6a4e30ffbd9e9ef8934582feb937f6532f8b68 <4f1de02de07748da80a8178879bc7a1df37fdf56
- Affected versionversion=bf6a4e30ffbd9e9ef8934582feb937f6532f8b68 <a85a60e62355e3bf4802dead7938966824b23940
- Affected versionversion=bf6a4e30ffbd9e9ef8934582feb937f6532f8b68 <e3880b531b68f98d3941d83f2f6dd11cf4fd6b76
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo