CVE-2025-37854
drm/amdkfd: Fix mode1 reset crash issue
Reported by linux · Published May 9, 2025
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Fix mode1 reset crash issue If HW scheduler hangs and mode1 reset is used to recover GPU, KFD signal user space to abort the processes. After process abort exit, user queues still use the GPU to access system memory before h/w is reset while KFD cleanup worker free system memory and free VRAM. There is use-after-free race bug that KFD allocate and reuse the freed system memory, and user queue write to the same system memory to corrupt the data structure and cause driver crash. To fix this race, KFD cleanup worker terminate user queues, then flush reset_domain wq to wait for any GPU ongoing reset complete, and then free outstanding BOs.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | 89af6b39f028c130d4362f57042927f005423e6a |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, a4c63cafa58b4bd9e15511bab77a4752b93d3aa0 |
| Linux | Linux | 5.18, 0, 6.1.135 |
| Linux | Linux | *, 6.13.12, 6.14.3 |
| linux | linux_kernel | 5.18, 5.18, 5.18 |
Timeline
- May 9, 2025 EPSS Score (30 in total, the first dated here)
- May 9, 2025 CVE Published
- Oct 12, 2025 PoC Published (5 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (80 in total, the first dated here)
- Mar 29, 2026 Security Advisory (82 in total, the first dated here)
- Jun 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-37854
vulnetix vdb fixes CVE-2025-37854
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-37854/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart