Kernel NULL Pointer Dereference in Linux Package: Critical Vulnerability in Debugfs Handling

linux Updated 02 Oct 2025

Summary

05/09/2025
N/A
No i
Unrated
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback