# CVE-2024-35951: drm/panfrost: Fix the error path in panfrost\_mmu\_map\_fault\_addr()

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-20 · Modified: 2026-10-30
- Aliases: UBUNTU-CVE-2024-35951, DEBIAN-CVE-2024-35951
- Record: https://cvemate.com/vulnerability/CVE-2024-35951 · JSON: https://cvemate.com/vulnerability/CVE-2024-35951/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.248%, percentile 17.156%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 122)

- debian linux (Debian): All versions (No fix recorded) \| \< 6.1.192-1 \| \< 6.8.9-1
- ubuntu linux (Ubuntu): \< 5.4.0-202.222 \| \< 5.15.0-127.137 \| \< 6.8.0-38.38
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.4.0-1136.146 \| \< 5.15.0-1073.79 \| \< 6.8.0-1011.12
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1073.79~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1136.146~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1011.12~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 5.4.0-1136.146+fips1 \| All versions (No fix recorded) \| \< 5.15.0-1073.79+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1142.149 \| \< 5.15.0-1078.87 \| \< 6.8.0-1010.10
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1078.87~20.04.1

## References (first 20 of 28)

- <https://git.kernel.org/stable/c/31806711e8a4b75e09b1c43652f2a6420e6e1002>
- <https://git.kernel.org/stable/c/e18070c622c63f0cab170348e320454728c277aa>
- <https://git.kernel.org/stable/c/1fc9af813b25e146d3607669247d0f970f5a87c3>
- <http://www.openwall.com/lists/oss-security/2024/05/30/2>
- <http://www.openwall.com/lists/oss-security/2024/05/30/1>
- <https://ubuntu.com/security/CVE-2024-35951>
- <https://www.cve.org/CVERecord?id=CVE-2024-35951>
- <https://git.kernel.org/linus/1fc9af813b25e146d3607669247d0f970f5a87c3>
- <https://ubuntu.com/security/notices/USN-6893-1>
- <https://ubuntu.com/security/notices/USN-6893-2>
- <https://ubuntu.com/security/notices/USN-6893-3>
- <https://ubuntu.com/security/notices/USN-6918-1>
- <https://ubuntu.com/security/notices/USN-7159-1>
- <https://ubuntu.com/security/notices/USN-7159-2>
- <https://ubuntu.com/security/notices/USN-7166-1>
- <https://ubuntu.com/security/notices/USN-7166-2>
- <https://ubuntu.com/security/notices/USN-7159-3>
- <https://ubuntu.com/security/notices/USN-7159-4>
- <https://ubuntu.com/security/notices/USN-7166-3>
- <https://ubuntu.com/security/notices/USN-7159-5>

---

Data as of 2026-12-05T03:59:34.330Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
