Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: force complete the KIQ ring fences on reset Like the MES scheduler ring, the KIQ ring sets no_scheduler = true and uses a polling fence, so it is skipped by the force-completion loop in amdgpu_device_pre_asic_reset(). Its hw fence value lives in wb (GTT) memory and survives a MODE1 reset while fence_drv.sync_seq keeps advancing, so after a reset the first KIQ submission can poll forever on a seq that is never written back. Force complete the KIQ ring fences too so their hw fence is realigned to sync_seq.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
65781c78ad74e4260fbec92c0ecc05738044e177 to < 83c54ed3be2f71a21e0f12ce5ca64435e33ba440affected65781c78ad74e4260fbec92c0ecc05738044e177 to < 11adb2bae30a3155395594e5c9bc0daf0c4ffa15affected65781c78ad74e4260fbec92c0ecc05738044e177 to < 9944329e409b04d71fa22f39b38a4bd78b75bcd9affected65781c78ad74e4260fbec92c0ecc05738044e177 to < c26cbd5c33cd72daa03079235de60688a3c97c52affected65781c78ad74e4260fbec92c0ecc05738044e177 to < bdd6a58743e00ebc6d52b9cdf9aafb4e535e0b71affected65781c78ad74e4260fbec92c0ecc05738044e177 to < fd65d1742992361fc2201ecb4e43411e6e417fcbaffected
Linux Linux
Default version status: affected
4.13affected0 to < 4.13unaffected6.1.191 to ≤ 6.1.*unaffected6.6.160 to ≤ 6.6.*unaffected6.12.114 to ≤ 6.12.*unaffected6.18.57 to ≤ 6.18.*unaffected7.2.5 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/83c54ed3be2f71a21e0f12ce5ca64435e33ba440 ↗
- https://git.kernel.org/stable/c/11adb2bae30a3155395594e5c9bc0daf0c4ffa15 ↗
- https://git.kernel.org/stable/c/9944329e409b04d71fa22f39b38a4bd78b75bcd9 ↗
- https://git.kernel.org/stable/c/c26cbd5c33cd72daa03079235de60688a3c97c52 ↗
- https://git.kernel.org/stable/c/bdd6a58743e00ebc6d52b9cdf9aafb4e535e0b71 ↗
- https://git.kernel.org/stable/c/fd65d1742992361fc2201ecb4e43411e6e417fcb ↗