{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-35951","id":"CVE-2024-35951","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 le","descriptionLong":"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.","published":"2024-05-20T09:41:45.999Z","updated":"2026-11-01T02:30:45.972330106Z","reserved":"2024-05-17T13:50:33.135Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"187d2929206e6b098312c174ea873e4cedf5420d","lessThan":"f959d043b745b352c7d1c9b832a57ffcf05bc935","status":"affected","versionType":"git"},{"version":"187d2929206e6b098312c174ea873e4cedf5420d","lessThan":"31806711e8a4b75e09b1c43652f2a6420e6e1002","status":"affected","versionType":"git"},{"version":"187d2929206e6b098312c174ea873e4cedf5420d","lessThan":"e18070c622c63f0cab170348e320454728c277aa","status":"affected","versionType":"git"},{"version":"187d2929206e6b098312c174ea873e4cedf5420d","lessThan":"1fc9af813b25e146d3607669247d0f970f5a87c3","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.4","status":"affected"},{"version":"0","lessThan":"5.4","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.28","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.8.7","lessThanOrEqual":"6.8.*","status":"unaffected","versionType":"semver"},{"version":"6.9","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/f959d043b745b352c7d1c9b832a57ffcf05bc935","tags":["web"]},{"url":"https://git.kernel.org/stable/c/31806711e8a4b75e09b1c43652f2a6420e6e1002","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/e18070c622c63f0cab170348e320454728c277aa","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/1fc9af813b25e146d3607669247d0f970f5a87c3","tags":["x_transferred","Patch","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/05/30/2","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/05/30/1","tags":["x_transferred","Mailing List","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35951.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35951","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00248,"epssPercentile":0.16275,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-35951","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35951","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-35951","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-35951","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}