{"id":"CVE-2024-35951","revision":"83fcbdfb6c6f459ab0a9d4668e197031","records":[{"revision":"83fcbdfb6c6f459ab0a9d4668e197031","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-35951","aliases":[],"title":"drm/panfrost: Fix the error path in panfrost_mmu_map_fault_addr()","description":"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.","state":0,"publishedAt":"2024-05-20T09:41:45.999+00:00","modifiedAt":"2026-08-05T11:31:10.737+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/gpu/drm/panfrost/panfrost_mmu.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"187d2929206e6b098312c174ea873e4cedf5420d\",\n                            \"lessThan\": \"31806711e8a4b75e09b1c43652f2a6420e6e1002\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"187d2929206e6b098312c174ea873e4cedf5420d\",\n                            \"lessThan\": \"e18070c622c63f0cab170348e320454728c277aa\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"187d2929206e6b098312c174ea873e4cedf5420d\",\n                            \"lessThan\": \"1fc9af813b25e146d3607669247d0f970f5a87c3\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/gpu/drm/panfrost/panfrost_mmu.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"5.4\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"5.4\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.28\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.8.7\",\n                            \"lessThanOrEqual\": \"6.8.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.9\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/31806711e8a4b75e09b1c43652f2a6420e6e1002","https://git.kernel.org/stable/c/e18070c622c63f0cab170348e320454728c277aa","https://git.kernel.org/stable/c/1fc9af813b25e146d3607669247d0f970f5a87c3"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-35951","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-35951","identifiers":["CVE-2024-35951"]},"retained":false,"historicalAffected":[]}],"coverage":[]}