In the Linux kernel, the following vulnerability has been resolved: amd/amdkfd: enhance kfd process check in switch partition current switch… (CVE-2025-68174)
A race condition vulnerability in the Linux kernel's AMD GPU driver (amdkfd) was resolved by enhancing the process check during partition switching. The issue involved improper synchronization between workqueue process teardown and partition switching, leading to potential use-after-free or invalid memory access. This could cause system instability or crashes. The fix introduced an atomic process counter to properly track process lifecycle and prevent the race condition.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's amdkfd driver arises from a race condition between two processes: one executing kfd_process_wq_release (workqueue teardown) and another switching partitions via amdgpu_xcp_pre_partition_switch. The original check only verified if the kfd_processes_table was empty, but entries are deleted asynchronously, causing a race that can lead to accessing freed memory (kfd_node). The patch added an atomic kfd_processes_count per device to track active processes accurately, preventing the race and associated kernel crashes.
Potential Impact
Exploitation of this race condition can lead to kernel crashes (divide errors) and potential denial of service due to invalid memory accesses in the AMD GPU kernel driver. The CVSS vector indicates high impact on confidentiality, integrity, and availability, but no known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability description references a patch that introduces an atomic process counter to fix the race condition. Users should monitor official Linux kernel updates and apply relevant patches when available to mitigate this issue.
In the Linux kernel, the following vulnerability has been resolved: amd/amdkfd: enhance kfd process check in switch partition current switch… (CVE-2025-68174)
Description
A race condition vulnerability in the Linux kernel's AMD GPU driver (amdkfd) was resolved by enhancing the process check during partition switching. The issue involved improper synchronization between workqueue process teardown and partition switching, leading to potential use-after-free or invalid memory access. This could cause system instability or crashes. The fix introduced an atomic process counter to properly track process lifecycle and prevent the race condition.
CVSS v3.1
Score 7.8high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's amdkfd driver arises from a race condition between two processes: one executing kfd_process_wq_release (workqueue teardown) and another switching partitions via amdgpu_xcp_pre_partition_switch. The original check only verified if the kfd_processes_table was empty, but entries are deleted asynchronously, causing a race that can lead to accessing freed memory (kfd_node). The patch added an atomic kfd_processes_count per device to track active processes accurately, preventing the race and associated kernel crashes.
Potential Impact
Exploitation of this race condition can lead to kernel crashes (divide errors) and potential denial of service due to invalid memory accesses in the AMD GPU kernel driver. The CVSS vector indicates high impact on confidentiality, integrity, and availability, but no known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability description references a patch that introduces an atomic process counter to fix the race condition. Users should monitor official Linux kernel updates and apply relevant patches when available to mitigate this issue.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-r696-8qvr-qpj7
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-68174"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6b72d39c2644c7f84782cc
Added to database: 07/30/2026, 15:50:43 UTC
Last enriched: 07/30/2026, 18:40:26 UTC
Last updated: 09/10/2026, 19:38:47 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.