Local privilege escalation via amdkfd reset race
Published May 9, 2025 · Updated Aug 5, 2026
Use-after-free in the Linux amdkfd driver allows local users with render-node access to corrupt kernel memory during mode1 AMD GPU reset. During recovery, kfd_process_wq_release frees system-memory and VRAM objects before live user queues stop using their GPU mappings, leaving reallocated kernel data writable. A local unprivileged process must access /dev/kfd and a DRM render node, create and map queues, force a scheduler hang, and exit; the race supports kernel-memory disclosure or corruption, privilege escalation, and a driver or kernel crash.
Summary
What happened
Use-after-free in the Linux amdkfd driver allows local users with render-node access to corrupt kernel memory during mode1 AMD GPU reset. During recovery, kfd_process_wq_release frees system-memory and VRAM objects before live user queues stop using their GPU mappings, leaving reallocated kernel data writable. A local unprivileged process must access /dev/kfd and a DRM render node, create and map queues, force a scheduler hang, and exit; the race supports kernel-memory disclosure or corruption, privilege escalation, and a driver or kernel crash.
The record
- CVE
- CVE-2025-37854
- Published
- May 9, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 9, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record 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=5.18
- Affected versionversion=a4c63cafa58b4bd9e15511bab77a4752b93d3aa0 <57c9dabda80ac167de8cd71231baae37cc2f442d
- Affected versionversion=a4c63cafa58b4bd9e15511bab77a4752b93d3aa0 <6f30a847432cae84c7428e9b684b3e3fa49b2391
- Affected versionversion=a4c63cafa58b4bd9e15511bab77a4752b93d3aa0 <89af6b39f028c130d4362f57042927f005423e6a
- Affected versionversion=a4c63cafa58b4bd9e15511bab77a4752b93d3aa0 <9c4bcdf4068aae3e17e31c144300be405cfa03ff
- Affected versionversion=a4c63cafa58b4bd9e15511bab77a4752b93d3aa0 <f0b4440cdc1807bb6ec3dce0d6de81170803569b
- Affected versionversion=a4c63cafa58b4bd9e15511bab77a4752b93d3aa0 <ffd37d7d44d7e0b6e769d4fe6590e327f8cc3951
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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.
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