{"id":"CVE-2024-35951","aliases":["CVE-2024-35951"],"related":[],"kind":"vulnerability","state":"published","title":"drm/panfrost: Fix the error path in panfrost_mmu_map_fault_addr()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/panfrost: corrige la ruta de error en panfrost_mmu_map_fault_addr() Asunto: [PATCH] drm/panfrost: corrige la ruta de error en panfrost_mmu_map_fault_addr() Si algunas páginas o la asignación de sgt fallaron, No deberíamos publicar la referencia de páginas que obtuvimos anteriormente, de lo contrario terminaremos con llamadas get/put_pages() desequilibradas. En su lugar, deberíamos dejar todo en su lugar y dejar que la función de liberación de BO se encargue de una limpieza adicional cuando se destruya el objeto, o dejar que el controlador de fallos lo intente nuevamente la próxima vez que se llame.","source":"nvd"}],"published":"2024-05-20T09:41:45.999Z","modified":"2026-10-30T13:17:27.683Z","severity":{"scorer":"Linux","scheme":"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,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"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,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"187d2929206e6b098312c174ea873e4cedf5420d","fixed":"f959d043b745b352c7d1c9b832a57ffcf05bc935","status":"affected"},{"type":"git","introduced":"187d2929206e6b098312c174ea873e4cedf5420d","fixed":"31806711e8a4b75e09b1c43652f2a6420e6e1002","status":"affected"},{"type":"git","introduced":"187d2929206e6b098312c174ea873e4cedf5420d","fixed":"e18070c622c63f0cab170348e320454728c277aa","status":"affected"},{"type":"git","introduced":"187d2929206e6b098312c174ea873e4cedf5420d","fixed":"1fc9af813b25e146d3607669247d0f970f5a87c3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.4","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.28","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.8.7","lastAffected":"6.8.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.9","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.4","fixed":"6.6.28"},{"status":"affected","introduced":"6.7","fixed":"6.8.7"},{"status":"affected","version":"6.9"},{"status":"affected","version":"6.9"},{"status":"affected","version":"6.9"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f959d043b745b352c7d1c9b832a57ffcf05bc935","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/31806711e8a4b75e09b1c43652f2a6420e6e1002","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e18070c622c63f0cab170348e320454728c277aa","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1fc9af813b25e146d3607669247d0f970f5a87c3","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2024/05/30/2","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2024/05/30/1","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-23T19:20:08.650Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-35951","url":"https://www.cve.org/CVERecord?id=CVE-2024-35951","licence":"CVE Terms of Use","modified":"2026-10-30T12:18:25.033Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-35951","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35951","licence":"Public domain","modified":"2026-10-30T13:17:27.683Z"}],"updatedAt":"2026-11-25T22:58:40.632Z","epss":{"score":0.00248,"percentile":0.17203,"date":"2026-12-01T12:00:22.000Z"}}