CVE-2025-39861
Bluetooth: vhci: Prevent use-after-free by removing debugfs files early
Reported by linux · Published September 19, 2025
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: vhci: Prevent use-after-free by removing debugfs files early Move the creation of debugfs files into a dedicated function, and ensure they are explicitly removed during vhci_release(), before associated data structures are freed. Previously, debugfs files such as "force_suspend", "force_wakeup", and others were created under hdev->debugfs but not removed in vhci_release(). Since vhci_release() frees the backing vhci_data structure, any access to these files after release would result in use-after-free errors. Although hdev->debugfs is later freed in hci_release_dev(), user can access files after vhci_data is freed but before hdev->debugfs is released.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ab4e4380d4e158486e595013a2635190e07e28ce, ab4e4380d4e158486e595013a2635190e07e28ce, ab4e4380d4e158486e595013a2635190e07e28ce |
| Linux | Linux | 6.4, 0, 6.6.105 |
| linux | linux_kernel | 6.4, 6.4, 6.4 |
| Linux | Linux | *, *, 6.4 |
Timeline
- Sep 19, 2025 CVE Published
- Sep 20, 2025 EPSS Score (30 in total, the first dated here)
- Oct 4, 2025 Coalition ESS Score (9 in total, the first dated here)
- Oct 12, 2025 PoC Published (9 in total, the first dated here)
- Dec 15, 2025 Security Advisory (98 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (87 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-39861
vulnetix vdb fixes CVE-2025-39861
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-39861/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart