# dma-buf: heaps: Fix off-by-one in CMA heap fault handler

CVE record · `CVE-2024-46852`

- **Identifiers:** `CVE-2024-46852`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 27 Sept 2024
- **Updated:** 4 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 27 Sept 2024, 12:42 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 to before 79cce5e81d20fa9ad553be439d665ac3302d3c95` (git)
  - affected: `a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 to before 84175dc5b2c932266a50c04e5ce342c30f817a2f` (git)
  - affected: `a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 to before eb7fc8b65cea22f9038c52398c8b22849e9620ea` (git)
  - affected: `a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 to before e79050882b857c37634baedbdcf7c2047c24cbff` (git)
  - affected: `a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 to before ea5ff5d351b520524019f7ff7f9ce418de2dad87` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.11`
  - unaffected: `before 5.11` (semver)
  - unaffected: `5.15.168 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.111 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.52 to 6.6.*, inclusive` (semver)
  - unaffected: `6.10.11 to 6.10.*, inclusive` (semver)
  - unaffected: `6.11 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> CVE-2024-46852 affects the Linux kernel's dma-buf CMA heap, in kernel versions from 5.11 up to the fixes listed in the advisory; unaffected versions include 5.15.168 and later in the 5.15 series, 6.1.111 and later, 6.6.52 and later, and 6.10.11 and later. A local attacker who can map a dma-buf from the CMA heap and resize the mapping with mremap could fault past the end of the buffer, reading beyond the page array and inserting an arbitrary page into their mapping. No workaround is given; upgrade the kernel to a fixed release for your branch.

Written 15 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0022, the 11th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 27 Sept 2024, 12:42 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2024-46852)
- 27 Sept 2024, 13:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2024-46852)

## Sources

- [CVE List: CVE-2024-46852](https://www.cve.org/CVERecord?id=CVE-2024-46852)
- [NVD: CVE-2024-46852](https://nvd.nist.gov/vuln/detail/CVE-2024-46852)

### References from the CNA

- <https://git.kernel.org/stable/c/79cce5e81d20fa9ad553be439d665ac3302d3c95>
- <https://git.kernel.org/stable/c/84175dc5b2c932266a50c04e5ce342c30f817a2f>
- <https://git.kernel.org/stable/c/eb7fc8b65cea22f9038c52398c8b22849e9620ea>
- <https://git.kernel.org/stable/c/e79050882b857c37634baedbdcf7c2047c24cbff>
- <https://git.kernel.org/stable/c/ea5ff5d351b520524019f7ff7f9ce418de2dad87>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-46852>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-46852/>. Everything for agents: <https://agentprime.io/llms.txt>.
