CVE-2024-46852
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-46852 is a vulnerability in the Linux kernel's DMA-BUF heap implementation, specifically affecting the CMA heap fault handler. The vulnerability was discovered and reported by Xingyu Jin, with the fix being implemented in September 2024. The issue affects Linux kernel versions from 5.11 up to versions before 6.1.111, 6.2 through 6.6.52, 6.7 through 6.10.11, and various 6.11 release candidates (NVD).

Technical details

The vulnerability stems from an off-by-one error in the CMA heap fault handler. Prior to the addition of VM_DONTEXPAND in commit 1c1914d6e8c6, 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 attempting to fault past the end of the buffer, the CMA heap fault handler incorrectly checked the fault offset against the buffer size, leading to potential memory access beyond the intended boundary. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD, Kernel Patch).

Impact

The vulnerability could allow an attacker to read beyond the end of the pages array and insert an arbitrary page in the mapping, potentially leading to unauthorized memory access and system compromise. The high CVSS score indicates that successful exploitation could result in complete compromise of confidentiality, integrity, and availability of the affected system (NVD).

Mitigation and workarounds

The vulnerability has been fixed by correcting the boundary check in the CMA heap fault handler, changing the condition from 'if (vmf->pgoff > buffer->pagecount)' to 'if (vmf->pgoff >= buffer->pagecount)'. The fix has been implemented across multiple kernel versions through various stable branch commits (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64181HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-4.15
NoYesJul 19, 2026
CVE-2026-64186NONEN/A
  • Linux Kernel logoLinux Kernel
  • libperf
NoYesJul 19, 2026
CVE-2026-64183NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-aws-6.14
NoYesJul 19, 2026
CVE-2026-64182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-oracle-6.17
NoYesJul 19, 2026
CVE-2026-64180NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-5.4
NoYesJul 19, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management