CWE
416
Advisory Published
Updated

CVE-2025-37854: drm/amdkfd: Fix mode1 reset crash issue

First published: Fri May 09 2025(Updated: )

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.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux kernel

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-37854?

    CVE-2025-37854 has been evaluated and categorized based on its potential impact on system security.

  • How do I fix CVE-2025-37854?

    To mitigate CVE-2025-37854, users should apply the latest updates and patches provided by their Linux distribution.

  • What systems are affected by CVE-2025-37854?

    CVE-2025-37854 affects the Linux kernel, specifically those versions that utilize the drm/amdkfd module.

  • What is the impact of CVE-2025-37854 on system performance?

    CVE-2025-37854 could lead to instability and potential crashes in graphics processing related to kernel functionalities.

  • Has CVE-2025-37854 been resolved?

    Yes, CVE-2025-37854 has been resolved through updates to the Linux kernel to address the identified issues.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203