CVE-2024-46852Off-by-one Error in Linux

CWE-193Off-by-one Error32 documents8 sources
Severity
7.8HIGHNVD
OSV8.8OSV5.5
EPSS
0.0%
top 99.78%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 27
Latest updateMar 1

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 of

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages13 packages

Patches

🔴Vulnerability Details

15
OSV
CVE-2024-46852: In cma_heap_vm_fault of cma_heap2025-03-01
OSV
linux-xilinx-zynqmp vulnerabilities2025-01-20
OSV
linux-azure, linux-intel-iotg-5.15 vulnerabilities2025-01-09
OSV
linux-azure, linux-azure-6.8 vulnerabilities2025-01-09
OSV
linux-azure-5.15 vulnerabilities2025-01-09

📋Vendor Advisories

16
Android
CVE-2024-46852: dma-buf2025-03-01
Ubuntu
Linux kernel (Xilinx ZynqMP) vulnerabilities2025-01-20
Ubuntu
Linux kernel vulnerabilities2025-01-09
Ubuntu
Linux kernel (Azure) vulnerabilities2025-01-09
Ubuntu
Linux kernel (Azure) vulnerabilities2025-01-09