CVE-2025-37854
HIGHLinux Kernel 5.18-6.1.134, 6.2-6.6.87, 6.7-6.12.23, 6.13-6.13.11, 6.14-6.14.2 - Use-After-Free in KFD Cleanup Worker
Title source: llmDescription
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.
References (7)
Core 7
Core References
Scores
CVSS v3
7.8
EPSS
0.0007
EPSS Percentile
21.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-416
Status
published
Products (21)
debian/debian_linux
11.0
linux/Kernel
5.18.0 - 6.1.135linux
linux/Kernel
6.13.0 - 6.13.12linux
linux/Kernel
6.14.0 - 6.14.3linux
linux/Kernel
6.2.0 - 6.6.88linux
linux/Kernel
6.7.0 - 6.12.24linux
Linux/Linux
< 5.18
Linux/Linux
5.18
Linux/Linux
6.1.135 - 6.1.*
Linux/Linux
6.12.24 - 6.12.*
... and 11 more
Published
May 09, 2025
Tracked Since
Feb 18, 2026