CVE-2025-39706
MEDIUMLinux Kernel - NULL Pointer Dereference in KFD Debugfs Removal
Title source: llmDescription
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)
References (7)
Core 7
Core References
Third Party Advisory, Mailing List
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Vendor Advisory
https://cert-portal.siemens.com/productcert/html/ssa-032379.html
Scores
CVSS v3
5.5
EPSS
0.0002
EPSS Percentile
6.9%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-476
Status
published
Products (18)
debian/debian_linux
11.0
linux/Kernel
3.19.0 - 6.1.149linux
linux/Kernel
6.13.0 - 6.16.4linux
linux/Kernel
6.2.0 - 6.6.103linux
linux/Kernel
6.7.0 - 6.12.44linux
Linux/Linux
< 3.19
Linux/Linux
3.19
Linux/Linux
4a488a7ad71401169cecee75dc94bcce642e2c53 - 2e58401a24e7b2d4ec619104e1a76590c1284a4c
Linux/Linux
4a488a7ad71401169cecee75dc94bcce642e2c53 - 74ee7445c3b61c3bd899a54bd82c1982cb3a8206
Linux/Linux
4a488a7ad71401169cecee75dc94bcce642e2c53 - 910735ded17cc306625e7e1cdcc8102f7ac60994
... and 8 more
Published
Sep 05, 2025
Tracked Since
Feb 18, 2026