drm/msm: Recover HW before retire hung submit
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1a370be9ac51129e40b0ed7fa71d2b2b92bc47e5 · < b303e1d52811de7d1bcf793560754d4df68d4a1c| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/msm: Recover HW before retire hung submit
During recovery, it is not safe to retire the hung submit before we recover the GPU. Retiring the submit triggers BO free and that can result in GPU pagefaults since the GPU may be actively accessing those BOs.
To fix this, retire the submits after gpu recovery is complete in recover_worker().
Patchwork: https://patchwork.freedesktop.org/patch/730655/
From the CVE record · Linux
The Linux kernel’s drm/msm recovery path can retire a hung submit before GPU recovery finishes, freeing buffer objects that the GPU may still be accessing. This can cause GPU page faults; the input does not specify attacker access requirements or whether user interaction is needed.
Teams running Linux kernels with the drm/msm driver should check their versions; affected versions are not specified.