CVE-2025-39706
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-09-05

Last updated on: 2025-11-03

Assigner: kernel.org

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)
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-09-05
Last Modified
2025-11-03
Generated
2026-05-07
AI Q&A
2025-09-05
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel 6.1.153-1
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a kernel NULL pointer dereference issue in the Linux kernel's AMD KFD (Kernel Fusion Driver) debugfs handling. It occurs because the KFD debugfs directory is destroyed before a work queue (kfd_process_destroy_wq) that tries to remove process-specific debugfs entries is executed. When the work queue runs, it attempts to remove entries under a debugfs directory that no longer exists, causing the kernel to hang due to a NULL pointer dereference.


How can this vulnerability impact me? :

This vulnerability can cause the Linux kernel to hang (freeze) due to a NULL pointer dereference when accessing debugfs entries related to AMD KFD. This can lead to system instability or denial of service, affecting the availability of the system.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, update your Linux kernel to a version that includes the fix where kfd_process_destroy_wq is moved prior to kfd_debugfs_fini, preventing the kernel NULL pointer dereference and hang. Avoid manually destroying /sys/kernel/debug/kfd debugfs entries before the kernel properly handles them.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart