CVE-2025-39861: Bluetooth: vhci: Prevent use-after-free by removing debugfs files early
Bluetooth: vhci: Prevent use-after-free by removing debugfs files early
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1 - Compensating control
In the Bluetooth vhci implementation, explicitly remove the debugfs files during vhci_release() before freeing the associated vhci_data and other data structures.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-39861?
CVE-2025-39861 has a medium severity rating due to the potential for a use-after-free vulnerability in the Linux kernel's Bluetooth subsystem.
How do I fix CVE-2025-39861?
To fix CVE-2025-39861, you should upgrade to the patched version of the Linux kernel available from your distribution's repository.
What systems are affected by CVE-2025-39861?
CVE-2025-39861 affects the Linux kernel with Bluetooth support, particularly systems that utilize vhci.
What is the nature of the vulnerability in CVE-2025-39861?
CVE-2025-39861 is a use-after-free vulnerability that can potentially lead to unexpected behavior or exploitation.
How was CVE-2025-39861 resolved?
CVE-2025-39861 was resolved by reordering the management of debugfs files to ensure they are properly removed to prevent the vulnerability.