Kernel NULL Pointer Dereference in Linux Package: Critical Vulnerability in Debugfs Handling
Summary
CVE-2025-39706: 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... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Linux kernel is the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to applications. It supports a wide range of functionalities, including process management, memory management, and device control. The kernel's stability and security are paramount, as vulnerabilities can lead to system crashes or unauthorized access. This specific vulnerability affects the Linux package across multiple Debian versions, highlighting the importance of maintaining an updated and secure kernel.
Vulnerability Detail
In the Linux kernel, a critical vulnerability has been identified related to the handling of the KFD (Kernel Fusion Driver) debug filesystem. The issue arises when the KFD debugfs is destroyed before the associated work queue (kfd_process_destroy_wq) is properly managed. This sequence leads to a NULL pointer dereference, causing the kernel to hang when attempting to remove already destroyed debugfs entries. The vulnerability was introduced due to a change in the order of operations during the destruction process, which can lead to severe system instability.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
Currently, there are no specific workarounds provided for this vulnerability. The best course of action is to apply the necessary updates as soon as they are available.
Conclusion
The CVE-2025-39706 vulnerability in the Linux kernel poses a significant risk due to its potential to cause system hangs and instability. Users are urged to update their Linux packages to the latest versions to mitigate this risk. Regular updates and monitoring for vulnerabilities are essential for maintaining a secure operating environment.
See every vulnerability recorded for linux →
FAQ
CVE-2025-39706 is a vulnerability in the Linux kernel related to the improper handling of the KFD debug filesystem, leading to a potential kernel hang.
The vulnerability affects Debian versions 11, 12, 13, and 14, specifically in the Linux package.
You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.
If exploited, this vulnerability can lead to system instability, crashes, or denial of service due to the kernel hanging.
It is recommended to regularly check for and apply updates to your Linux kernel to ensure that you are protected against known vulnerabilities.
Related vulnerabilities
Recent vulnerabilities recorded for linux.