# CVE-2024-51729: mm: use aligned address in copy_user_gigantic_page()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-01-11T12:35:38.375Z
- Modified: 2026-08-05T11:43:15.492Z
- Weaknesses: CWE-787
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from 530dd9926dc16220d2fae0997f45cda94f5f0864 before cb12d61361ce769672c7c7bd32107252598cdd8b; from 530dd9926dc16220d2fae0997f45cda94f5f0864 before f5d09de9f1bf9674c6418ff10d0a40cfe29268e1; 6.11 (not affected: before 6.11; from 6.12.7 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 6.11 before 6.12.7; 6.13

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/cb12d61361ce769672c7c7bd32107252598cdd8b> (patch)
- <https://git.kernel.org/stable/c/f5d09de9f1bf9674c6418ff10d0a40cfe29268e1> (patch)

## Sources

- CVE List: [CVE-2024-51729](https://www.cve.org/CVERecord?id=CVE-2024-51729), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-51729](https://nvd.nist.gov/vuln/detail/CVE-2024-51729), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-51729 · Whole record: https://cve.day/CVE-2024-51729.json · Rebuilt by cve.day 2026-11-25T22:58:50.921Z
