CVE-2024-35951
Assigner: Linux
Published: 2024-05-20T09:41:45.999Z
State: PUBLISHED
descriptions: value: 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: product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 187d2929206e
lessThan: 31806711e8a4
status: affected
versionType: git
version: 187d2929206e
lessThan: e18070c622c6
status: affected
versionType: git
version: 187d2929206e
lessThan: 1fc9af813b25
status: affected
versionType: git
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 5.4
status: affected
version: 0
lessThan: 5.4
status: unaffected
versionType: custom
version: 6.6.28
lessThanOrEqual: 6.6.*
status: unaffected
versionType: custom
version: 6.8.7
lessThanOrEqual: 6.8.*
status: unaffected
versionType: custom
version: 6.9
lessThanOrEqual: *
status: unaffected
versionType: original_commit_for_fix
title: drm/panfrost: Fix the error path in panfrost_mmu_map_fault_addr()
x_generator: engine: bippy-d175d3acf727