← CVE Intelligence

CVE-2024-35951

drm/panfrost: Fix the error path in panfrost_mmu_map_fault_addr() PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 187d2929206e6b098312c174ea873e4cedf5420d before 31806711e8a4b75e09b1c43652f2a6420e6e1002; affected 187d2929206e6b098312c174ea873e4cedf5420d before e18070c622c63f0cab170348e320454728c277aa; affected 187d2929206e6b098312c174ea873e4cedf5420d before 1fc9af813b25e146d3607669247d0f970f5a87c3
Linux / Linuxaffected 5.4; unaffected 0 before 5.4; unaffected 6.6.28 through 6.6.*; unaffected 6.8.7 through 6.8.*; unaffected 6.9 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.