{"id":"CVE-2025-39861","published":"2025-09-19T15:26:31Z","modified":"2026-05-11T21:37:51Z","title":"Bluetooth: vhci: Prevent use-after-free by removing debugfs files early","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: vhci: Prevent use-after-free by removing debugfs files early\n\nMove the creation of debugfs files into a dedicated function, and ensure\nthey are explicitly removed during vhci_release(), before associated\ndata structures are freed.\n\nPreviously, debugfs files such as \"force_suspend\", \"force_wakeup\", and\nothers were created under hdev->debugfs but not removed in\nvhci_release(). Since vhci_release() frees the backing vhci_data\nstructure, any access to these files after release would result in\nuse-after-free errors.\n\nAlthough hdev->debugfs is later freed in hci_release_dev(), user can\naccess files after vhci_data is freed but before hdev->debugfs is\nreleased.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00241,"percentile":0.09146,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/bd75eba88e88d7b896b0c737b02a74a12afc235f","tags":[]},{"url":"https://git.kernel.org/stable/c/1503756fffe76d5aea2371a4b8dee20c3577bcfd","tags":[]},{"url":"https://git.kernel.org/stable/c/7cc08f2f127b9a66f46ea918e34353811a7cb378","tags":[]},{"url":"https://git.kernel.org/stable/c/28010791193a4503f054e8d69a950ef815deb539","tags":[]}],"priority":{"score":7.3,"factors":[{"name":"EPSS percentile","points":1.83},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ab4e4380d4e158486e595013a2635190e07e28ce, < bd75eba88e88d7b896b0c737b02a74a12afc235f",">= ab4e4380d4e158486e595013a2635190e07e28ce, < 1503756fffe76d5aea2371a4b8dee20c3577bcfd",">= ab4e4380d4e158486e595013a2635190e07e28ce, < 7cc08f2f127b9a66f46ea918e34353811a7cb378",">= ab4e4380d4e158486e595013a2635190e07e28ce, < 28010791193a4503f054e8d69a950ef815deb539"]},{"vendor":"Linux","product":"Linux","versions":["6.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-01-14T19:23:17.100703Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-30339","exploited":false,"provenance":"source"}}