CVE Database›Document archive›CVE-2024-51729

CVE-2024-51729

kernel: mm: use aligned address in copy_user_gigantic_page()

Loading…

Severity

Moderate

Red Hat Product Security

7.1

CVSS 3.1

Review impact separately from score.

Published · January 11, 2025

Updated · October 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

mm: use aligned address in copy_user_gigantic_page()

In current kernel, hugetlb_wp() calls copy_user_large_folio() with the fault address. Where the fault address may be not aligned with the huge page size. Then, copy_user_large_folio() may call copy_user_gigantic_page() with the address, while copy_user_gigantic_page() requires the address to be huge page size aligned. So, this may cause memory corruption or information leak, addtional, use more obvious naming 'addr_hint' instead of 'addr' for copy_user_gigantic_page().

Statement

This vulnerability is rated Moderate rather than Important because exploitation requires local authenticated access with specific privileges to trigger copy-on-write operations on gigantic huge pages, limiting the blast radius. Supported Red Hat Enterprise Linux releases and container environments are not affected, as the vulnerable hugetlb folio handling logic was introduced in upstream kernel version 6.11 and is not present in supported Red Hat kernels.

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.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

CWE-131 · Incorrect Calculation of Buffer Size