PT-2025-20505 · Linux+6 · Linux Kernel+6
Published
2025-02-27
·
Updated
2026-04-20
·
CVE-2025-37854
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A use-after-free race bug exists in the Linux kernel, specifically in the drm/amdkfd component. This issue occurs when the HW scheduler hangs and a mode1 reset is used to recover the GPU. After the process aborts, user queues still access system memory before it is reset, while the KFD cleanup worker frees system memory and VRAM. This can lead to the corruption of data structures and cause a driver crash. The bug is related to the KFD allocation and reuse of freed system memory.
Recommendations
To fix this issue, the KFD cleanup worker should terminate user queues, then flush the reset domain wq to wait for any GPU ongoing reset to complete, and then free outstanding BOs.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu