Bug 2337125 (CVE-2024-51729) - CVE-2024-51729 kernel: mm: use aligned address in copy_user_gigantic_page()
Summary: CVE-2024-51729 kernel: mm: use aligned address in copy_user_gigantic_page()
Keywords:
Status: NEW
Alias: CVE-2024-51729
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-11 13:03 UTC by OSIDB Bzimport
Modified: 2025-02-04 17:58 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-01-11 13:03:17 UTC
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().

Comment 1 Avinash Hanwate 2025-01-13 06:35:32 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025011143-CVE-2024-51729-799d@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.