CVE-2024-35951
mediumIn the Linux kernel, the following vulnerability has been resolved: drm/panfrost: Fix the error path in panfrost_mmu_map_fault_addr() Subject: [PATCH] drm/pa…
Vendor / product: Linux — linux kernel
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Affected products
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
References
- https://git.kernel.org/stable/c/1fc9af813b25e146d3607669247d0f970f5a87c3 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- https://git.kernel.org/stable/c/31806711e8a4b75e09b1c43652f2a6420e6e1002 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- https://git.kernel.org/stable/c/e18070c622c63f0cab170348e320454728c277aa 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- https://git.kernel.org/stable/c/f959d043b745b352c7d1c9b832a57ffcf05bc935 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- http://www.openwall.com/lists/oss-security/2024/05/30/1 af854a3a-2127-422b-91ae-364da2661108
- http://www.openwall.com/lists/oss-security/2024/05/30/2 af854a3a-2127-422b-91ae-364da2661108
- https://git.kernel.org/stable/c/1fc9af813b25e146d3607669247d0f970f5a87c3 af854a3a-2127-422b-91ae-364da2661108
- https://git.kernel.org/stable/c/31806711e8a4b75e09b1c43652f2a6420e6e1002 af854a3a-2127-422b-91ae-364da2661108
- https://git.kernel.org/stable/c/e18070c622c63f0cab170348e320454728c277aa af854a3a-2127-422b-91ae-364da2661108
