Bug 2337122 (CVE-2024-52319) - CVE-2024-52319 kernel: mm: use aligned address in clear_gigantic_page()
Summary: CVE-2024-52319 kernel: mm: use aligned address in clear_gigantic_page()
Keywords:
Status: NEW
Alias: CVE-2024-52319
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 18:03 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:05 UTC
In the Linux kernel, the following vulnerability has been resolved:

mm: use aligned address in clear_gigantic_page()

In current kernel, hugetlb_no_page() calls folio_zero_user() with the
fault address.  Where the fault address may be not aligned with the huge
page size.  Then, folio_zero_user() may call clear_gigantic_page() with
the address, while clear_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
clear_gigantic_page().

Comment 1 Avinash Hanwate 2025-01-13 06:47:10 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025011143-CVE-2024-52319-61ca@gregkh/T


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