CVE Database›CVE-2024-46852

CVE-2024-46852

kernel: dma-buf: heaps: Fix off-by-one in CMA heap fault handler

Loading…

Severity

Moderate

Red Hat Product Security

7.8

CVSS 3.1

Review impact separately from score.

Published · September 27, 2024

Updated · September 13, 2026

Description

A flaw was found in the Linux kernel, specifically within the dma-buf subsystem's Contiguous Memory Allocator (CMA) heap fault handler. A local attacker could exploit an off-by-one error to gain a memory mapping larger than intended. This vulnerability allows the attacker to read beyond the boundaries of allocated memory and insert an arbitrary memory page into the mapping. Such an action could lead to privilege escalation, allowing the attacker to gain higher system permissions, or potentially arbitrary code execution.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CWE-193 · Off-by-one Error