Kernel code execution via KFD teardown race
Published Dec 16, 2025 · Updated Dec 16, 2025
Use-after-free in Linux kernel AMD KFD 6.5 through 6.17.7 allows local users to execute code in the kernel via a teardown race. The kfd_processes_table entry is removed before deferred kfd_process_wq_release work finishes, so a partition switch can free kfd_node while that work still dereferences it. Exploitation requires local /dev/kfd access and an overlapping XCP partition switch on supported AMD GPU hardware; outcomes include a kernel crash or kernel-context code execution.
Summary
What happened
Use-after-free in Linux kernel AMD KFD 6.5 through 6.17.7 allows local users to execute code in the kernel via a teardown race. The kfd_processes_table entry is removed before deferred kfd_process_wq_release work finishes, so a partition switch can free kfd_node while that work still dereferences it. Exploitation requires local /dev/kfd access and an overlapping XCP partition switch on supported AMD GPU hardware; outcomes include a kernel crash or kernel-context code execution.
The record
- CVE
- CVE-2025-68174
- Published
- Dec 16, 2025
- Updated
- Dec 16, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 16, 2025CVE publishedPublication date reported by the CVE source.
- Dec 16, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <45da20e00d5da842e17dfc633072b127504f0d0e
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <536d80f660ec12058e461f4db387ea42bee9250d
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo