VDB

CVE-2025-68292

CVE-2025-68292 PUBLISHED

mm/memfd: fix information leak in hugetlb folios

Reported by linux · Published December 16, 2025

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. hugetlb_fault_mutex is not taken before hugetlb_add_to_page_cache() The memfd allocation path bypasses the normal page fault handler (hugetlb_no_page) 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 hugetlb_no_page(): - Zero the folio using folio_zero_user() which is optimized for huge pages - Mark it uptodate with folio_mark_uptodate() - Take hugetlb_fault_mutex before adding to page cache to prevent races The folio_zero_user() change also fixes a potential security issue where uninitialized kernel memory could be disclosed to userspace through read() or mmap() operations on the memfd.

EPSS 0.22% · 13.1th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-modules-extra-commonAmazon Linux1:6.12.63-84.121.amzn2023
kernel6.12-libbpf-develAmazon Linux1:6.12.63-84.121.amzn2023
kernel6.12-headersAmazon Linux1:6.12.63-84.121.amzn2023
LinuxLinuxb09d7c4dc642849d9a96753233c6d00364017fd6

Risk scores

EPSS Score
0.22%
13.1th percentile

Affected products

VendorProductVersions
LinuxLinux89c1905d9c140372b7f50ef48f42378cf85d9bc5, 89c1905d9c140372b7f50ef48f42378cf85d9bc5, 89c1905d9c140372b7f50ef48f42378cf85d9bc5
LinuxLinux6.11, 0, 6.12.61
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel6.12-headers0
LinuxLinux6.18, 6.11, 0
amazon:2023kernel6.12-libbpf0
amazon:2023kernel6.120
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-modules-extra0
amazon:2023perf6.120
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-livepatch-6.12.63-84.1210
amazon:2023kernel6.12-libbpf-static0
linuxlinux_kernel6.11, 6.11, 6.11
amazon:2023python3-perf6.120
amazon:2023kernel6.12-devel0
amazon:2023bpftool6.120

Timeline

  • Dec 16, 2025 CVE Published
  • Dec 17, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (167 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (173 in total, the first dated here)
  • Jun 17, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-68292
vulnetix vdb fixes CVE-2025-68292

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-68292/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›