Skip to main content
Network Thinking Solutions Logo

CVE-2024-46852

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.

All CVEs
CVE-2024-46852Published 9/27/2024

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.

Vendor advisory
CVSS7.8High

Overview

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.

Published
9/27/2024
Last modified
11/3/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
debian linux
debian
11.0

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.168

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.111

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.52

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.10.11

Verify advisory

Source
linux kernel
linux
6.11

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ a5d2d29e24be8967ef78a1b1fb2292413e3b3df9, < 79cce5e81d20fa9ad553be439d665ac3302d3c95

Verify advisory

Source
Linux
Linux
≥ a5d2d29e24be8967ef78a1b1fb2292413e3b3df9, < 84175dc5b2c932266a50c04e5ce342c30f817a2f

Verify advisory

Source
Linux
Linux
≥ a5d2d29e24be8967ef78a1b1fb2292413e3b3df9, < eb7fc8b65cea22f9038c52398c8b22849e9620ea

Verify advisory

Source
Linux
Linux
≥ a5d2d29e24be8967ef78a1b1fb2292413e3b3df9, < e79050882b857c37634baedbdcf7c2047c24cbff

Verify advisory

Source
Linux
Linux
≥ a5d2d29e24be8967ef78a1b1fb2292413e3b3df9, < ea5ff5d351b520524019f7ff7f9ce418de2dad87

Verify advisory

Source
Linux
Linux
5.11

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.