Linux
drm/amdgpu: clamp the isolation index for rings outside a partition
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: clamp the isolation index for rings outside a partition adev->isolation[] has one slot per partition, but a ring that is not assigned to one keeps AMDGPU_XCP_NO_PARTITION, which is ~0, so indexing the array with it is out of bounds. SDMA submissions hit this on both the isolation enforcement and the VM flush path and trip UBSAN. Fall back to the first slot the way the cleaner shader path already does, and stop taking the address before the ring type check that makes it relevant.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= bd22e44ad415ac22e3a4f9a983d2a085f6cb4427, < 964de255497ffd7cb8a86e405b8ac6d927e7e177
- >= bd22e44ad415ac22e3a4f9a983d2a085f6cb4427, < 0bfb938182d1313e5cac32ae38dbaaa4eabe4af4
- >= bd22e44ad415ac22e3a4f9a983d2a085f6cb4427, < b30900566642ceb2c9e12b56c2afec28d0fd91a0
- 4277dc1942a8979abe1ef2b55069f42497f885c0
- >= 6.14.9, < 6.15
Fixed in 964de255497ffd7cb8a86e405b8ac6d927e7e177, 0bfb938182d1313e5cac32ae38dbaaa4eabe4af4, b30900566642ceb2c9e12b56c2afec28d0fd91a0, 6.15
- 6.15
Fixed in 0, 6.18.51, 7.2.5, 7.3
Mitigation
Upgrade Linux to 964de255497ffd7cb8a86e405b8ac6d927e7e177 or 0bfb938182d1313e5cac32ae38dbaaa4eabe4af4 or b30900566642ceb2c9e12b56c2afec28d0fd91a0 or 6.15 or later.
Upgrade Linux to 0 or 6.18.51 or 7.2.5 or 7.3 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.