{"id":"CVE-2024-35951","summary":"drm/panfrost: Fix the error path in panfrost_mmu_map_fault_addr()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/panfrost: Fix the error path in panfrost_mmu_map_fault_addr()\n\nSubject: [PATCH] drm/panfrost: Fix the error path in\n panfrost_mmu_map_fault_addr()\n\nIf some the pages or sgt allocation failed, we shouldn't release the\npages ref we got earlier, otherwise we will end up with unbalanced\nget/put_pages() calls. We should instead leave everything in place\nand let the BO release function deal with extra cleanup when the object\nis destroyed, or let the fault handler try again next time it's called.","modified":"2026-03-20T12:36:45.357437Z","published":"2024-05-20T09:41:45.999Z","related":["SUSE-SU-2024:2008-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2135-1","SUSE-SU-2024:2190-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20249-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35951.json"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/05/30/1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/05/30/2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1fc9af813b25e146d3607669247d0f970f5a87c3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/31806711e8a4b75e09b1c43652f2a6420e6e1002"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e18070c622c63f0cab170348e320454728c277aa"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35951.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35951"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"187d2929206e6b098312c174ea873e4cedf5420d"},{"fixed":"31806711e8a4b75e09b1c43652f2a6420e6e1002"},{"fixed":"e18070c622c63f0cab170348e320454728c277aa"},{"fixed":"1fc9af813b25e146d3607669247d0f970f5a87c3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35951.json"}}],"schema_version":"1.7.5"}