What’s Vulnerable › Vulnerabilities
CVE-2026-99663: mm/gup: fix clearing folios in memfd_pin_folios()
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-11-20 · updated 2026-11-20
Description
In the Linux kernel, the following vulnerability has been resolved: mm/gup: fix clearing folios in memfd_pin_folios() memfd_pin_folios() pins folios obtained directly from the page cache without checking whether they are uptodate. However, shmem fallocate() can leave newly allocated folios uncleared and not uptodate. Callers such as udmabuf can then expose uninitialized memory to userspace. Clear non-uptodate folios and mark them uptodate under the folio lock before returning them to the caller. Fix generated by an LLM and sent by Chris Mason in private. [ david: simplify description and comment ]
Affected products
- Linux: 6.11 — fixed in 7.4-rc2
How to fix
Upgrade to a fixed version: Linux 7.4-rc2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/65f4a8ef0adf18601c6ddbfd0e3918afffaeb890
- https://git.kernel.org/stable/c/9b9c506018859bb33f01e4b9df213d41b9ca4cc2
- https://git.kernel.org/stable/c/c83ee2fa5a94edb2e04102b9dd4f1ee0eeb2b932
- https://git.kernel.org/stable/c/d56f6835532c59b1b5e2d43f373f31586e7e457f
Get alerted when CVE-2026-99663 or the next vulnerability affects your stack