CVE-2025-68292: mm/memfd: fix information leak in hugetlb folios

Published Dec 16, 2025
·
Updated

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

mm/memfd: fix information leak in hugetlb folios

When allocating hugetlb folios for memfd, three initialization steps are missing:

1. Folios are not zeroed, leading to kernel memory disclosure to userspace 2. Folios are not marked uptodate before adding to page cache 3. hugetlbfaultmutex is not taken before hugetlbaddtopagecache()

The memfd allocation path bypasses the normal page fault handler (hugetlbnopage) which would handle all of these initialization steps. This is problematic especially for udmabuf use cases where folios are pinned and directly accessed by userspace via DMA.

Fix by matching the initialization pattern used in hugetlbnopage(): - Zero the folio using foliozerouser() which is optimized for huge pages - Mark it uptodate with foliomarkuptodate() - Take hugetlbfaultmutex before adding to page cache to prevent races

The foliozerouser() change also fixes a potential security issue where uninitialized kernel memory could be disclosed to userspace through read() or mmap() operations on the memfd.

Affected Software

1 affected component
Linux Linux kernel (mm/memfd)

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the hugetlb folio allocation path for memfd, match the hugetlb_no_page() initialization pattern: take hugetlb_fault_mutex before hugetlb_add_to_page_cache(), zero the folio with folio_zero_user(), and mark it uptodate with folio_mark_uptodate().

Event History

Dec 16, 2025
CVE Published
via MITRE·03:06 PM
Data Sourced
via MITRE·03:06 PM
Description
Data Sourced
via NVD·04:16 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2025-68292?

CVE-2025-68292 has been classified with a severity rating that indicates a potential for kernel memory disclosure.

2

How do I fix CVE-2025-68292?

To fix CVE-2025-68292, ensure you apply the latest patches from the Linux kernel that address this vulnerability.

3

Which systems are affected by CVE-2025-68292?

CVE-2025-68292 affects systems running vulnerable versions of the Linux kernel using hugetlb folios for memfd.

4

What types of information are leaked in CVE-2025-68292?

CVE-2025-68292 can lead to kernel memory being disclosed to userspace, potentially exposing sensitive information.

5

When was CVE-2025-68292 announced or discovered?

CVE-2025-68292 was announced in the context of ongoing vulnerabilities in the Linux kernel, specifically related to memory management.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203