CVE-2024-46852dma-buf: heaps: Fix off-by-one in CMA heap fault handler
- 7.8HighCVSS base score
- 0.21%Exploitation in 30 daysEPSS · top 88% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: dma-buf: heaps: Fix off-by-one in CMA heap fault handler Until VM_DONTEXPAND was added in commit 1c1914d6e8c6 ("dma-buf: heaps: Don't track CMA dma-buf pages under RssFile") it was possible to obtain a mapping larger than the buffer size via mremap and bypass the overflow check in dma_buf_mmap_internal. When using such a mapping to attempt to fault past the end of the buffer, the CMA heap fault handler also checks the fault offset against the buffer size, but gets the boundary wrong by 1. Fix the boundary check so that we don't read off the end of the pages array and insert an arbitrary page in the mapping.
Timeline
ID reserved
By Linux
- 16 days later
· 16 days later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.21% · top 88% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 – < 79cce5e81d20fa9ad553be439d665ac3302d3c95
- affected a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 – < 84175dc5b2c932266a50c04e5ce342c30f817a2f
- affected a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 – < eb7fc8b65cea22f9038c52398c8b22849e9620ea
- affected a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 – < e79050882b857c37634baedbdcf7c2047c24cbff
- affected a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 – < ea5ff5d351b520524019f7ff7f9ce418de2dad87
- affected 5.11
- unaffected < 5.11
- unaffected 5.15.168 – ≤ 5.15.*
- unaffected 6.1.111 – ≤ 6.1.*
- unaffected 6.6.52 – ≤ 6.6.*
- unaffected 6.10.11 – ≤ 6.10.*
- unaffected 6.11 – ≤ *
References
References6
- https://git.kernel.org/stable/c/79cce5e81d20fa9ad553be439d665ac3302d3c95 (opens in a new tab)
- https://git.kernel.org/stable/c/84175dc5b2c932266a50c04e5ce342c30f817a2f (opens in a new tab)
- https://git.kernel.org/stable/c/eb7fc8b65cea22f9038c52398c8b22849e9620ea (opens in a new tab)
- https://git.kernel.org/stable/c/e79050882b857c37634baedbdcf7c2047c24cbff (opens in a new tab)
- https://git.kernel.org/stable/c/ea5ff5d351b520524019f7ff7f9ce418de2dad87 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-42113 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-46852)Record last updated .