CVE-2025-37854
drm/amdkfd: Fix mode1 reset crash issue
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 57c9dabda80ac167de8cd71231baae37cc2f442d; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 89af6b39f028c130d4362f57042927f005423e6a; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < ffd37d7d44d7e0b6e769d4fe6590e327f8cc3951; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 6f30a847432cae84c7428e9b684b3e3fa49b2391; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 9c4bcdf4068aae3e17e31c144300be405cfa03ff; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < f0b4440cdc1807bb6ec3dce0d6de81170803569b
- Anyone running Linux 5.18
Vulnerability facts
- Affected
- Linux >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 57c9dabda80ac167de8cd71231baae37cc2f442d; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 89af6b39f028c130d4362f57042927f005423e6a; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < ffd37d7d44d7e0b6e769d4fe6590e327f8cc3951; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 6f30a847432cae84c7428e9b684b3e3fa49b2391; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 9c4bcdf4068aae3e17e31c144300be405cfa03ff; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < f0b4440cdc1807bb6ec3dce0d6de81170803569b; Linux 5.18
- Fixed in
- Linux 57c9dabda80ac167de8cd71231baae37cc2f442d, Linux 89af6b39f028c130d4362f57042927f005423e6a, Linux 6f30a847432cae84c7428e9b684b3e3fa49b2391, Linux 9c4bcdf4068aae3e17e31c144300be405cfa03ff
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 57c9dabda80ac167de8cd71231baae37cc2f442d; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 89af6b39f028c130d4362f57042927f005423e6a; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < ffd37d7d44d7e0b6e769d4fe6590e327f8cc3951; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 6f30a847432cae84c7428e9b684b3e3fa49b2391; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 9c4bcdf4068aae3e17e31c144300be405cfa03ff; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < f0b4440cdc1807bb6ec3dce0d6de81170803569b | — | cvelist |
| Linux | 5.18 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-37854. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-37854.md Affected: Linux >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 57c9dabda80ac167de8cd71231baae37cc2f442d; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 89af6b39f028c130d4362f57042927f005423e6a; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < ffd37d7d44d7e0b6e769d4fe6590e327f8cc3951; >= a4c63cafa58b4bd9e15511b… Fixed in: Linux 57c9dabda80ac167de8cd71231baae37cc2f442d, Linux 89af6b39f028c130d4362f57042927f005423e6a, Linux 6f30a847432cae84c7428e9b684b3e3fa49b2391, Linux 9c4bcdf4068aae3e17e31c144300be405cfa03ff Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/57c9dabda80ac167de8cd71231baae37cc2f442d
- https://git.kernel.org/stable/c/89af6b39f028c130d4362f57042927f005423e6a
- https://git.kernel.org/stable/c/ffd37d7d44d7e0b6e769d4fe6590e327f8cc3951
- https://git.kernel.org/stable/c/6f30a847432cae84c7428e9b684b3e3fa49b2391
- https://git.kernel.org/stable/c/9c4bcdf4068aae3e17e31c144300be405cfa03ff
- https://git.kernel.org/stable/c/f0b4440cdc1807bb6ec3dce0d6de81170803569b
FAQ
Is CVE-2025-37854 being exploited?
There is no confirmed exploitation: CVE-2025-37854 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-37854?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-37854?
Linux >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 57c9dabda80ac167de8cd71231baae37cc2f442d; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 89af6b39f028c130d4362f57042927f005423e6a; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < ffd37d7d44d7e0b6e769d4fe6590e327f8cc3951; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 6f30a847432cae84c7428e9b684b3e3fa49b2391; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 9c4bcdf4068aae3e17e31c144300be405cfa03ff; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < f0b4440cdc1807bb6ec3dce0d6de81170803569b; Linux 5.18.
Is there a fix for CVE-2025-37854?
Yes. Fixed in Linux 57c9dabda80ac167de8cd71231baae37cc2f442d, Linux 89af6b39f028c130d4362f57042927f005423e6a, Linux 6f30a847432cae84c7428e9b684b3e3fa49b2391, Linux 9c4bcdf4068aae3e17e31c144300be405cfa03ff. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-37854?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.