CVE-2025-39861

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:*

History

19 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: Bluetooth: vhci: Prevenir uso después de liberación al eliminar los archivos debugfs tempranamente Mover la creación de archivos debugfs a una función dedicada, y asegurar que sean eliminados explícitamente durante vhci_release(), antes de que se liberen las estructuras de datos asociadas. Anteriormente, los archivos debugfs como 'force_suspend', 'force_wakeup' y otros se creaban bajo hdev->debugfs pero no se eliminaban en vhci_release(). Dado que vhci_release() libera la estructura de datos subyacente vhci_data, cualquier acceso a estos archivos después de la liberación resultaría en errores de uso después de liberación. Aunque hdev->debugfs se libera posteriormente en hci_release_dev(), el usuario puede acceder a los archivos después de que vhci_data sea liberado pero antes de que hdev->debugfs sea liberado.

Information

Published : 2025-09-19 16:15

Updated : 2026-10-19 21:10


NVD link : CVE-2025-39861

Mitre link : CVE-2025-39861

CVE.ORG link : CVE-2025-39861


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free