CVE-2025-37854

HighCVSS 7.8/10Last modified Jul 30, 2026

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.

Metrics

CVSS 3.1 7.8/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 57c9dabda80ac167de8cd71231baae37cc2f442d; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 89af6b39f028c130d4362f57042927f005423e6a; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < ffd37d7d44d7e0b6e769d4fe6590e327f8cc3951; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 6f30a847432cae84c7428e9b684b3e3fa49b2391; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < 9c4bcdf4068aae3e17e31c144300be405cfa03ff; >= a4c63cafa58b4bd9e15511bab77a4752b93d3aa0, < f0b4440cdc1807bb6ec3dce0d6de81170803569b
LinuxLinux5.18

References

Timeline

Published
May 9, 2025
Last modified
Jul 30, 2026
NVD status
Modified

Related CVEs from 2025

CVE-2025-378555.5In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Guard Possible Null Pointer Dereference [WHY] In someCVE-2025-378565.5In the Linux kernel, the following vulnerability has been resolved: btrfs: harden block_group::bg_list against list_del() races As far as CVE-2025-378575.5In the Linux kernel, the following vulnerability has been resolved: scsi: st: Fix array overflow in st_setup() Change the array size to foCVE-2025-378585.5In the Linux kernel, the following vulnerability has been resolved: fs/jfs: Prevent integer overflow in AG size calculation The JFS filesyCVE-2025-378595.5In the Linux kernel, the following vulnerability has been resolved: page_pool: avoid infinite loop to schedule delayed worker We noticed tCVE-2025-37868.8A vulnerability was found in Tenda AC15 up to 15.03.05.19 and classified as critical. This issue affects the function fromSetWirelessRepeat CVE-2025-378605.5In the Linux kernel, the following vulnerability has been resolved: sfc: fix NULL dereferences in ef100_process_design_param() Since citedCVE-2025-378617.8In the Linux kernel, the following vulnerability has been resolved: scsi: mpi3mr: Synchronous access b/w reset and tm thread for reply queuCVE-2025-378625.5In the Linux kernel, the following vulnerability has been resolved: HID: pidff: Fix null pointer dereference in pidff_find_fields This funCVE-2025-378635.5In the Linux kernel, the following vulnerability has been resolved: ovl: don't allow datadir only In theory overlayfs could support upper CVE-2025-378645.5In the Linux kernel, the following vulnerability has been resolved: net: dsa: clean up FDB, MDB, VLAN entries on unbind As explained in maCVE-2025-378655.5In the Linux kernel, the following vulnerability has been resolved: net: dsa: mv88e6xxx: fix -ENOENT when deleting VLANs and MST is unsuppo
CVE-2025-37854: High severity, CVSS 7.8 | Vulnix