drm/amdkfd: debugfs hang_hws skip GPU with MES
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 4a488a7ad71401169cecee75dc94bcce642e2c53 · < fe9d0061c413f8fb8c529b18b592b04170850ded| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amdkfd: debugfs hang_hws skip GPU with MES
debugfs hang_hws is used by GPU reset test with HWS, for MES this crash the kernel with NULL pointer access because dqm->packet_mgr is not setup for MES path.
Skip GPU with MES for now, MES hang_hws debugfs interface will be supported later.
From the CVE record · Linux
The Linux kernel's amdkfd debugfs hang_hws interface can dereference a NULL pointer on GPUs using MES because the packet manager is not set up for that path. Someone using the interface to run a GPU reset test with HWS on an MES GPU can crash the kernel; the input does not specify authentication requirements.
Engineers running the Linux kernel with amdkfd and MES-enabled GPUs should check their systems; affected versions are not specified.