What’s Vulnerable › Vulnerabilities

CVE-2024-35951: drm/panfrost: Fix the error path in panfrost_mmu_map_fault_addr()

Description

In the Linux kernel, the following vulnerability has been resolved: drm/panfrost: Fix the error path in panfrost_mmu_map_fault_addr() Subject: [PATCH] drm/panfrost: Fix the error path in panfrost_mmu_map_fault_addr() If some the pages or sgt allocation failed, we shouldn't release the pages ref we got earlier, otherwise we will end up with unbalanced get/put_pages() calls. We should instead leave everything in place and let the BO release function deal with extra cleanup when the object is destroyed, or let the fault handler try again next time it's called.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.6.28, 6.8.7; Linux 6.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-35951 or the next vulnerability affects your stack