7.0high
drm/panthor: Fully disable the AS even if it's going to be re-assigned
- Severity
- 7.0high CVSS:3.1 by Linux
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 32e593d74c39249ae14c8f0de88eec677c621aa7 before 5594fb17b332b570ad8a845bf451274621f45539, from 32e593d74c39249ae14c8f0de88eec677c621aa7 before a431d4ec5d938893060f69a018a2c47651c282d9, 7.0 Not affected: before 7.0, from 7.3.6 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139339 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-139339 changed 2026-12-01 | Public domain |