CVE-2024-46852
Last modified
CVE-2024-46852 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Debian | Debian Linux | 11.0 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.168 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.111 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.52 | — |
| Linux | Linux Kernel | >= 6.7, < 6.10.11 | — |
| Linux | Linux Kernel | 6.11 | Rc1 |
References
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-46852?
How severe is CVE-2024-46852?
How do I fix CVE-2024-46852?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-46847In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-46848In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-46849In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-4685A vulnerability was found in Campcodes Complete Web-Based Sc…6.1
- CVE-2024-46850In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2024-46851In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2024-46853In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-46854In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-46855In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-46856In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-46857In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-46858In the Linux kernel, the following vulnerability has been re…7
Are you affected by CVE-2024-46852?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
