CVE Catalog

CVE-2024-46852

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.22%

12th percentile - higher than 12% of all known CVEs

Summary

A vulnerability in the Linux kernel related to error handling in the CMA driver was identified, allowing for a mapping larger than the buffer size. This issue has been resolved by correcting the boundary check in the fault handler.

Risk Assessment

Organizations may be exposed to unauthorized memory access, potentially leading to data leaks or system instability. Proper memory management is crucial for the security of applications running on the Linux kernel.

Recommendation

It is recommended to update the Linux kernel to the latest version to patch this vulnerability. Regular monitoring and updating of operating systems is essential for maintaining security.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS