Wiz Agents & Workflows are here

CVE-2025-39706
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-39706 affects the Linux kernel, specifically related to the AMD Kernel Fusion Driver (KFD) debugfs functionality. The vulnerability was discovered and disclosed on September 5, 2025, impacting the kernel's Direct Rendering Manager (DRM) subsystem (NVD).

Technical details

The vulnerability occurs in the drm/amdkfd component when KFD debugfs is destroyed before kfd_process_destroy_wq. Since KFD proc content was moved to kernel debugfs, destroying KFD debugfs prior to kfd_process_destroy_wq leads to a kernel NULL pointer issue. The problem manifests when /sys/kernel/debug/kfd is already destroyed in kfd_debugfs_fini but kfd_process_destroy_wq attempts to call kfd_debugfs_remove_process. The line debugfs_remove_recursive(entry->proc_dentry) attempts to remove /sys/kernel/debug/kfd/proc/ while /sys/kernel/debug/kfd is already gone, resulting in a kernel hang due to a NULL pointer dereference (NVD). The vulnerability has been assigned a CVSS v3 base score of 5.5 (Rapid7).

Impact

When exploited, this vulnerability can cause the kernel to hang due to a NULL pointer dereference, potentially leading to system instability or denial of service conditions (NVD).

Mitigation and workarounds

The issue has been resolved by moving kfd_process_destroy_wq prior to kfd_debugfs_fini in the execution sequence. This fix prevents the NULL pointer problem by ensuring proper cleanup order of the debugfs entries (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23395CRITICAL9.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoYesMar 25, 2026
CVE-2026-23399MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoYesMar 28, 2026
CVE-2026-23398MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoYesMar 26, 2026
CVE-2026-23397MEDIUM4.4
  • Linux KernelLinux Kernel
  • kernel-devel
NoYesMar 26, 2026
CVE-2026-31788N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-trace-kvm
NoYesMar 25, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management