CVE-2024-46852
HighIn 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.
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-193CVE-2024-46852 is classified as CWE-193
See CWE-193 on MITRE CWE for full details on this weakness type.
Affected versions
Linux kernel versions
5.11
and later are affected. Fixed in
5.15.168,
6.1.111,
6.6.52,
6.10.11,
6.11
and their respective stable series.
References
The following references provide additional information about CVE-2024-46852 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Mailing List Third Party Advisory
-
PatchKernel patch commithttps://git.kernel.org/stable/c/79cce5e81d20fa9ad553be439d665ac3302d3c95
-
PatchKernel patch commithttps://git.kernel.org/stable/c/84175dc5b2c932266a50c04e5ce342c30f817a2f
-
PatchKernel patch commithttps://git.kernel.org/stable/c/e79050882b857c37634baedbdcf7c2047c24cbff
Frequently asked questions
-
What is CVE-2024-46852?
CVE-2024-46852 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 . It affects Linux kernel versions from 5.11 onward and has been patched in 5.15.168, 6.1.111, 6.6.52 and others. CVE-2024-46852 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-46852?
CVE-2024-46852 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2024-46852?
Yes — CVE-2024-46852 has been patched. Fixed versions include 5.15.168, 6.1.111, 6.6.52 and others. If you are running Linux kernel 5.11 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-46852 actively exploited?
No — CVE-2024-46852 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.