CVE-2025-39861
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-39861 is a vulnerability discovered in the Linux kernel's Bluetooth Virtual HCI (vhci) implementation, disclosed on September 19, 2025. The vulnerability specifically affects the handling of debugfs files in the Bluetooth subsystem (NVD).

Technical details

The vulnerability stems from improper management of debugfs files in the vhcirelease() function. Debugfs files such as 'forcesuspend' and 'forcewakeup' were created under hdev->debugfs but not properly removed during vhcirelease(). When vhcirelease() frees the backing vhcidata structure, any subsequent access to these files results in use-after-free errors. The issue persists in the window between vhcidata being freed and before hdev->debugfs is released in hcirelease_dev(). The vulnerability has been assigned a CVSS v3.1 base score of 7.0, indicating moderate severity (Red Hat).

Impact

The vulnerability could lead to use-after-free conditions in the Linux kernel's Bluetooth subsystem, potentially resulting in system crashes or memory corruption. This affects systems running the vulnerable versions of the Linux kernel, particularly those utilizing the Bluetooth Virtual HCI functionality (NVD).

Mitigation and workarounds

The vulnerability has been resolved by moving the creation of debugfs files into a dedicated function and ensuring they are explicitly removed during vhci_release(), before associated data structures are freed. This fix has been implemented in the Linux kernel (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-39866N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-devel
NoYesSep 19, 2025
CVE-2025-39865N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-devel-matched
NoYesSep 19, 2025
CVE-2025-39864N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoYesSep 19, 2025
CVE-2025-39863N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoYesSep 19, 2025
CVE-2025-39861N/AN/A
  • Linux KernelLinux Kernel
  • rv
NoYesSep 19, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management