CVE Catalog

CVE-2025-37854

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.26%

17th percentile - higher than 17% of all known CVEs

Summary

In the amdkfd driver in the Linux kernel, there is a use-after-free bug during mode1 GPU reset. After KFD aborts processes, user queues may still write to freed system memory, corrupting data structures and causing driver crash.

Risk Assessment

This vulnerability can lead to driver and system crashes, and potentially compromise memory integrity.

Recommendation

Apply the Linux kernel patch that terminates user queues before freeing memory and synchronizes with GPU reset.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS