Linux
drm/amdgpu: Add bounds checking to ib_{get,set}_value
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Add bounds checking to ib_{get,set}_value The uvd/vce/vcn code accesses the IB at predefined offsets without checking that the IB is large enough. Check the bounds here. The caller is responsible for making sure it can handle arbitrary return values. Also make the idx a uint32_t to prevent overflows causing the condition to fail.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 5da6c6430be0acb25b4242bce0323fc514d4e3cf
- >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 0fb5cb556b249b2b64c0f818136c4c3e838ef53f
- >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < a853178d23e774adfe3a35073c375b04b3b20f7d
- >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < fec8b11b55e53ff51a741e56894fe331a516f5c6
- >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < ee26fcf7c5cf131f0b6a732faa27d79ec61b8ec7
- >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 66085e206431ef88ce36f53c1f53d570790ccc9e
Fixed in 5da6c6430be0acb25b4242bce0323fc514d4e3cf, 0fb5cb556b249b2b64c0f818136c4c3e838ef53f, a853178d23e774adfe3a35073c375b04b3b20f7d, fec8b11b55e53ff51a741e56894fe331a516f5c6, ee26fcf7c5cf131f0b6a732faa27d79ec61b8ec7, 66085e206431ef88ce36f53c1f53d570790ccc9e
- 4.2
Fixed in 0, 6.1.175, 6.6.140, 6.12.90, 6.18.32, 7.0.9, 7.1
Mitigation
Upgrade Linux to 5da6c6430be0acb25b4242bce0323fc514d4e3cf or 0fb5cb556b249b2b64c0f818136c4c3e838ef53f or a853178d23e774adfe3a35073c375b04b3b20f7d or fec8b11b55e53ff51a741e56894fe331a516f5c6 or ee26fcf7c5cf131f0b6a732faa27d79ec61b8ec7 or 66085e206431ef88ce36f53c1f53d570790ccc9e or later.
Upgrade Linux to 0 or 6.1.175 or 6.6.140 or 6.12.90 or 6.18.32 or 7.0.9 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.