
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-68174 is a race condition vulnerability in the Linux kernel's AMD GPU driver (amdkfd) that can lead to a divide-by-zero kernel crash. The flaw exists in the partition switching logic, where the kfd_processes_table emptiness check is insufficient to prevent concurrent access between a workqueue releasing a KFD process and a partition switch tearing down KFD nodes. It was published on December 16, 2025, and affects the Linux kernel's amdgpu driver. The EPSS score is approximately 0.018% (Low), indicating limited exploitation probability at this time (Feedly).
The root cause is a time-of-check/time-of-use (TOCTOU) race condition (CWE-362) in the AMD KFD (Kernel Fusion Driver) partition switching code. When Process A (a workqueue) executes kfd_process_wq_release and accesses kfd_node members, and Process B concurrently triggers a partition switch via amdgpu_xcp_pre_partition_switch → amdgpu_amdkfd_device_fini_sw → KFD node teardown, the node can be destroyed while still in use. The existing guard only checks whether kfd_processes_table is empty, but the table entry is removed in kfd_process_notifier_release — before the actual process teardown completes in kfd_process_wq_release — leaving a window where the node is accessed after being freed. The fix introduces an atomic counter kfd_processes_count per kfd_dev that is incremented on KFD process creation and decremented only after kfd_process_wq_release completes, closing the race (Feedly).
Successful exploitation of this race condition results in a divide-by-zero kernel panic (divide error: 0000 [#1] SMP NOPTI) triggered in kfd_get_num_sdma_engines, causing a system crash and denial of service. The crash occurs in kernel context (workqueue kfd_process_wq), meaning it affects the entire host system rather than a single process. There is no evidence of confidentiality or integrity impact; the primary consequence is availability loss through a kernel crash on systems using AMD GPUs with KFD support (Feedly).
There is no known public exploit code or evidence of in-the-wild exploitation for CVE-2025-68174. The vulnerability requires local access and the ability to trigger concurrent KFD process teardown and partition switching, making it difficult to exploit reliably without specific timing conditions. The EPSS score is 0.000180 (approximately 0.018%), reflecting very low exploitation probability. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Feedly).
divide error: 0000 [#1] SMP NOPTI with a stack trace referencing kfd_get_num_sdma_engines in the amdgpu module and workqueue kfd_process_wq kfd_process_wq_release.kworker threads associated with kfd_process_wq on systems with AMD GPU hardware.The fix has been merged into the Linux kernel stable tree via commits 45da20e00d5da842e17dfc633072b127504f0d0e and 536d80f660ec12058e461f4db387ea42bee9250d. Administrators should update to a patched kernel version that includes these commits. As a workaround, avoiding concurrent KFD process teardown and GPU partition switching operations can reduce exposure. Distributions including SUSE have begun shipping kernel updates addressing this issue (Feedly, Linux Security).
Fix availability across major Linux distributions and their releases.
bionic
linux
bionic (esm-infra)
linux
bionic (fips-updates)
linux-fips
bionic (fips)
linux-fips
devel
linux
focal
linux
focal (esm-infra)
linux
focal (fips-updates)
linux-fips
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."