Kernel memory access via stale debugfs files
Published Sep 19, 2025 · Updated Sep 19, 2025
Use-after-free in Linux kernel Bluetooth vhci allows local users with root access to access freed kernel memory through stale debugfs files. The vhci_release() path frees vhci_data without first removing force_suspend, force_wakeup, and related files under hdev->debugfs, leaving their callbacks backed by released storage. The gap before hci_release_dev() removes the directory permits privileged accesses that can trigger invalid kernel-memory use and a system crash.
Summary
What happened
Use-after-free in Linux kernel Bluetooth vhci allows local users with root access to access freed kernel memory through stale debugfs files. The vhci_release() path frees vhci_data without first removing force_suspend, force_wakeup, and related files under hdev->debugfs, leaving their callbacks backed by released storage. The gap before hci_release_dev() removes the directory permits privileged accesses that can trigger invalid kernel-memory use and a system crash.
The record
- CVE
- CVE-2025-39861
- Published
- Sep 19, 2025
- Updated
- Sep 19, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Sep 19, 2025CVE publishedPublication date reported by the CVE source.
- Sep 19, 2025Record 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.4
- Affected versionversion=ab4e4380d4e158486e595013a2635190e07e28ce <1503756fffe76d5aea2371a4b8dee20c3577bcfd
- Affected versionversion=ab4e4380d4e158486e595013a2635190e07e28ce <28010791193a4503f054e8d69a950ef815deb539
- Affected versionversion=ab4e4380d4e158486e595013a2635190e07e28ce <7cc08f2f127b9a66f46ea918e34353811a7cb378
- Affected versionversion=ab4e4380d4e158486e595013a2635190e07e28ce <bd75eba88e88d7b896b0c737b02a74a12afc235f
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