CVE-2024-51729

mm: use aligned address in copy_user_gigantic_page()

State
Published
Severity
7.8 High
Published
Jan 11, 2025
Updated
Aug 5, 2026
Reserved
Jan 11, 2025

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 530dd9926dc16220d2fae0997f45cda94f5f0864 to before cb12d61361ce769672c7c7bd32107252598cdd8bAffected
  • 530dd9926dc16220d2fae0997f45cda94f5f0864 to before f5d09de9f1bf9674c6418ff10d0a40cfe29268e1Affected
LinuxLinux
  • 6.11Affected
  • before 6.11Not affected
  • 6.12.7 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.