Privilege escalation via Bluetooth SCO socket race
Published Dec 8, 2025 · Updated Aug 5, 2026
Use-after-free in the Linux kernel allows local users to escalate privileges through crafted Bluetooth SCO socket activity. An unlocked sk_state check in sco_sock_connect lets concurrent connect and close operations leave conn->sk pointing to a freed socket. Basic local access and Bluetooth link events are sufficient; reclaiming the slot enables kernel-memory disclosure, an eight-byte write, control-flow hijack, or a system crash.
Summary
What happened
Use-after-free in the Linux kernel allows local users to escalate privileges through crafted Bluetooth SCO socket activity. An unlocked sk_state check in sco_sock_connect lets concurrent connect and close operations leave conn->sk pointing to a freed socket. Basic local access and Bluetooth link events are sufficient; reclaiming the slot enables kernel-memory disclosure, an eight-byte write, control-flow hijack, or a system crash.
The record
- CVE
- CVE-2025-40309
- Published
- Dec 8, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- adjacent
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 8, 2025CVE 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=6.13
- Affected versionversion=e6720779ae612a14ac4ba7fe4fd5b27d900d932c <391f83547b7b2c63e4b572ab838e10a06cfa4425
- Affected versionversion=e6720779ae612a14ac4ba7fe4fd5b27d900d932c <ecb9a843be4d6fd710d7026e359f21015a062572
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