CVE-2025-39706 Details
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Destroy KFD debugfs after destroy KFD wq Since KFD proc content was moved to kernel debugfs, we can't destroy KFD debugfs before kfd_process_destroy_wq. Move kfd_process_destroy_wq prior to kfd_debugfs_fini to fix a kernel NULL pointer problem. It happens when /sys/kernel/debug/kfd was already destroyed in kfd_debugfs_fini but kfd_process_destroy_wq calls kfd_debugfs_remove_process. This line debugfs_remove_recursive(entry->proc_dentry); tries to remove /sys/kernel/debug/kfd/proc/<pid> while /sys/kernel/debug/kfd is already gone. It hangs the kernel by kernel NULL pointer. (cherry picked from commit 0333052d90683d88531558dcfdbf2525cc37c233)
A vulnerability in the Linux kernel's KFD (Kernel Fusion Driver) module can cause a denial-of-service condition by improperly managing debugfs entries. The issue arises because KFD process information was transitioned to the kernel's debugfs. The current sequence of operations can lead to a NULL pointer dereference. Specifically, when the KFD debugfs directory is removed, but the corresponding process entries are still being cleared, it creates a situation where the kernel attempts to access a non-existent directory, causing a hang. This vulnerability affects several versions of the Linux kernel.
Users can ensure that the KFD debugfs is properly managed by updating to a version of the Linux kernel that includes the latest KFD debugfs handling improvements. Instructions for downloading the patched kernel can be found on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cert-portal.siemens.com/productcert/html/ssa-032379.html | siemens-SADP | |
| https://git.kernel.org/stable/c/2e58401a24e7b2d4ec619104e1a76590c1284a4c | kernel.org | Patch |
| https://git.kernel.org/stable/c/74ee7445c3b61c3bd899a54bd82c1982cb3a8206 | kernel.org | Patch |
| https://git.kernel.org/stable/c/910735ded17cc306625e7e1cdcc8102f7ac60994 | kernel.org | Patch |
| https://git.kernel.org/stable/c/96609a51e6134542bf90e053c2cd2fe4f61ebce3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/fc35c955da799ba62f6f977d58e0866d0251e3f8 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.19, < 6.1.149 >= 6.2, < 6.6.103 >= 6.7, < 6.12.44 >= 6.13, < 6.16.4 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 12, 2026 | CVE Modified | siemens-SADP |
| Jan 8, 2026 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Sep 5, 2025 | New CVE Received | kernel.org |