CVE Catalog

CVE-2025-39706

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.15%

4th percentile - higher than 4% of all known CVEs

Summary

In the Linux kernel drm/amdkfd driver, the destruction order was changed so kfd_process_destroy_wq runs before debugfs teardown. Previously this caused a NULL pointer dereference and kernel hang.

Risk Assessment

A kernel hang or crash may occur during KFD process teardown. Affects systems with AMD GPUs using KFD.

Recommendation

Update the Linux kernel to a patched version. Avoid unpatched systems with AMD KFD in production.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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)

Vulnerability data from NVD (NIST) · CISA KEV · EPSS