Linux kernel interrupt failure in AMDGPU ring overflow handling
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux | — |
Original description
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: clear RB_OVERFLOW bit when enabling interrupts for navi10_ih
Port this change to navi10_ih.c: commit afbf7955ff01 ("drm/amdgpu: clear RB_OVERFLOW bit when enabling interrupts")
Setting IH_RB_WPTR to 0 does not clear RB_OVERFLOW if RB_ENABLE is not set. Pulse WPTR_OVERFLOW_CLEAR after RB_ENABLE (and with WPTR_OVERFLOW_ENABLE) so overflow is cleared when interrupts are enabled.
(cherry picked from commit 713fb4ab04f4d2af6120f8eb607c5673b2759b38)
From the CVE record · Linux