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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
187d2929206e6b098312c174ea873e4cedf5420d to < 31806711e8a4b75e09b1c43652f2a6420e6e1002affected187d2929206e6b098312c174ea873e4cedf5420d to < e18070c622c63f0cab170348e320454728c277aaaffected187d2929206e6b098312c174ea873e4cedf5420d to < 1fc9af813b25e146d3607669247d0f970f5a87c3affected
Linux Linux
Default version status: affected
5.4affected0 to < 5.4unaffected6.6.28 to ≤ 6.6.*unaffected6.8.7 to ≤ 6.8.*unaffected6.9 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/31806711e8a4b75e09b1c43652f2a6420e6e1002 ↗
- https://git.kernel.org/stable/c/e18070c622c63f0cab170348e320454728c277aa ↗
- https://git.kernel.org/stable/c/1fc9af813b25e146d3607669247d0f970f5a87c3 ↗
- http://www.openwall.com/lists/oss-security/2024/05/30/2 ↗
- http://www.openwall.com/lists/oss-security/2024/05/30/1 ↗