Linux
drm/panthor: Fix UAF on kernel BO VA nodes
In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Fix UAF on kernel BO VA nodes If the MMU is down, panthor_vm_unmap_range() might return an error. We expect the page table to be updated still, and if the MMU is blocked, the rest of the GPU should be blocked too, so no risk of accessing physical memory returned to the system (which the current code doesn't cover for anyway). Proceed with the rest of the cleanup instead of bailing out and leaving the va_node inserted in the drm_mm, which leads to UAF when other adjacent nodes are removed from the drm_mm tree.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 8a1cc07578bf42d85f008316873d710ff684dd29, < 5a0060ddfc1fcfdb0f7b4fa1b7b3b0c436151391
- >= 8a1cc07578bf42d85f008316873d710ff684dd29, < 1123eadb843588b361c96f53a771202b7953154f
- >= 8a1cc07578bf42d85f008316873d710ff684dd29, < 0612704b6f6ddf2ae223019c52148c5ac76cf70e
- >= 8a1cc07578bf42d85f008316873d710ff684dd29, < 98dd5143447af0ee33551776d8b2560c35d0bc4a
Fixed in 5a0060ddfc1fcfdb0f7b4fa1b7b3b0c436151391, 1123eadb843588b361c96f53a771202b7953154f, 0612704b6f6ddf2ae223019c52148c5ac76cf70e, 98dd5143447af0ee33551776d8b2560c35d0bc4a
- 6.10
Fixed in 0, 6.12.63, 6.17.13, 6.18.2, 6.19
Mitigation
Upgrade Linux to 5a0060ddfc1fcfdb0f7b4fa1b7b3b0c436151391 or 1123eadb843588b361c96f53a771202b7953154f or 0612704b6f6ddf2ae223019c52148c5ac76cf70e or 98dd5143447af0ee33551776d8b2560c35d0bc4a or later.
Upgrade Linux to 0 or 6.12.63 or 6.17.13 or 6.18.2 or 6.19 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.