Description
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 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
bd22e44ad415ac22e3a4f9a983d2a085f6cb4427 to < 964de255497ffd7cb8a86e405b8ac6d927e7e177affectedbd22e44ad415ac22e3a4f9a983d2a085f6cb4427 to < 0bfb938182d1313e5cac32ae38dbaaa4eabe4af4affectedbd22e44ad415ac22e3a4f9a983d2a085f6cb4427 to < b30900566642ceb2c9e12b56c2afec28d0fd91a0affected4277dc1942a8979abe1ef2b55069f42497f885c0affected6.14.9 to < 6.15affected
Linux Linux
Default version status: affected
6.15affected0 to < 6.15unaffected6.18.51 to ≤ 6.18.*unaffected7.2.5 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected