Description
In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Fully disable the AS even if it's going to be re-assigned We're trying to be smart by skipping the UPDATE(UNMAPPED) step, but it remains to be proven it adds any noticeable overhead. Moreover, it's breaking the assumption that, once the VM is unbound, no access can happen on it. For instance, say the panthor_mmu_as_enable() call in panthor_vm_active() fails after we've called panthor_vm_release_as_locked(), we're now in a state where the HW still points to the old page table, but SW slot points to the new VM, which is not truly HW-bound. If, after the as_slots lock is released, the evicted VM itself is released, the HW might have access to memory that has been returned to the system until the reset we scheduled (because of the faulty AS_COMMAND) is effective. Let's make this bullet-proof by doing a full bound -> unbound -> bound cycle on AS slot recycling.
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
32e593d74c39249ae14c8f0de88eec677c621aa7 to < 5594fb17b332b570ad8a845bf451274621f45539affected32e593d74c39249ae14c8f0de88eec677c621aa7 to < a431d4ec5d938893060f69a018a2c47651c282d9affected
Linux Linux
Default version status: affected
7.0affected0 to < 7.0unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected