CVE-2025-37854 Details
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.
A use-after-free vulnerability has been identified in the Linux kernel's AMD GPU driver (drm/amdkfd). This issue arises when the hardware scheduler hangs and a mode1 reset is applied to recover the GPU. During this process, the Kernel Fusion Driver (KFD) signals user space to abort processes. However, after the processes are terminated, user queues can still access system memory via the GPU before the hardware is fully reset. Meanwhile, the KFD cleanup worker frees the system memory and releases video RAM. This creates a race condition where KFD can allocate and reuse the freed memory, allowing user queue writes to corrupt data structures and cause driver crashes.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/57c9dabda80ac167de8cd71231baae37cc2f442d | kernel.org | Patch |
| https://git.kernel.org/stable/c/6f30a847432cae84c7428e9b684b3e3fa49b2391 | kernel.org | Patch |
| https://git.kernel.org/stable/c/89af6b39f028c130d4362f57042927f005423e6a | kernel.org | Patch |
| https://git.kernel.org/stable/c/9c4bcdf4068aae3e17e31c144300be405cfa03ff | kernel.org | Patch |
| https://git.kernel.org/stable/c/f0b4440cdc1807bb6ec3dce0d6de81170803569b | kernel.org | Patch |
| https://git.kernel.org/stable/c/ffd37d7d44d7e0b6e769d4fe6590e327f8cc3951 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html | CVE | Mailing List |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.18, < 6.1.135 >= 6.2, < 6.6.88 >= 6.7, < 6.12.24 >= 6.13, < 6.13.12 >= 6.14, < 6.14.3 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 17, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| May 9, 2025 | New CVE Received | kernel.org |