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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-16T15:06:12.772Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running Linux \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< 50b4c1c28733a536d637d2f0401d60bcfef60ef2; \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< b09d7c4dc642849d9a96753233c6d00364017fd6; \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< de8798965fd0d9a6c47fc2ac57767ec32de12b49
- Anyone running Linux 6.11

## Description

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.

## Affected and fixed versions

- Linux: \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< 50b4c1c28733a536d637d2f0401d60bcfef60ef2; \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< b09d7c4dc642849d9a96753233c6d00364017fd6; \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< de8798965fd0d9a6c47fc2ac57767ec32de12b49 (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68292. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68292.md
Affected: Linux >= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, < 50b4c1c28733a536d637d2f0401d60bcfef60ef2; >= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, < b09d7c4dc642849d9a96753233c6d00364017fd6; >= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, < de8798965fd0d9a6c47fc2ac57767ec32de12b49; Linux 6.11
Fixed in: Linux 50b4c1c28733a536d637d2f0401d60bcfef60ef2

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68292 being exploited?

There is no confirmed exploitation: CVE-2025-68292 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68292?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68292?

Linux \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< 50b4c1c28733a536d637d2f0401d60bcfef60ef2; \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< b09d7c4dc642849d9a96753233c6d00364017fd6; \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< de8798965fd0d9a6c47fc2ac57767ec32de12b49; Linux 6.11.

### Is there a fix for CVE-2025-68292?

Yes. Fixed in Linux 50b4c1c28733a536d637d2f0401d60bcfef60ef2. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-68292?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/50b4c1c28733a536d637d2f0401d60bcfef60ef2>
- other: <https://git.kernel.org/stable/c/b09d7c4dc642849d9a96753233c6d00364017fd6>
- other: <https://git.kernel.org/stable/c/de8798965fd0d9a6c47fc2ac57767ec32de12b49>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68292>

HTML: <https://flawdb.com/CVE-2025-68292> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68292>
