# CVE-2026-99663: mm/gup: fix clearing folios in memfd\_pin\_folios()

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-28)
- **Published:** 2026-11-20T05:50:14.097Z
- **Modified:** 2026-11-20T06:18:00.477Z

## Who should check

- Anyone running Linux \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< 9b9c506018859bb33f01e4b9df213d41b9ca4cc2; \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< d56f6835532c59b1b5e2d43f373f31586e7e457f; \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< 65f4a8ef0adf18601c6ddbfd0e3918afffaeb890; \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< c83ee2fa5a94edb2e04102b9dd4f1ee0eeb2b932
- Anyone running Linux 6.11

## 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 and fixed versions

- Linux: \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< 9b9c506018859bb33f01e4b9df213d41b9ca4cc2; \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< d56f6835532c59b1b5e2d43f373f31586e7e457f; \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< 65f4a8ef0adf18601c6ddbfd0e3918afffaeb890; \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< c83ee2fa5a94edb2e04102b9dd4f1ee0eeb2b932 (cvelist)
- Linux: 6.11 (cvelist)

## Technologies

Linux kernel

## 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-2026-99663. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99663.md
Affected: Linux >= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, < 9b9c506018859bb33f01e4b9df213d41b9ca4cc2; >= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, < d56f6835532c59b1b5e2d43f373f31586e7e457f; >= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, < 65f4a8ef0adf18601c6ddbfd0e3918afffaeb890; >= 89c1905d9c140372b7f50ef…
Fixed in: Linux 9b9c506018859bb33f01e4b9df213d41b9ca4cc2, Linux 65f4a8ef0adf18601c6ddbfd0e3918afffaeb890

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-2026-99663 being exploited?

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

### How serious is CVE-2026-99663?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99663?

Linux \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< 9b9c506018859bb33f01e4b9df213d41b9ca4cc2; \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< d56f6835532c59b1b5e2d43f373f31586e7e457f; \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< 65f4a8ef0adf18601c6ddbfd0e3918afffaeb890; \>= 89c1905d9c140372b7f50ef48f42378cf85d9bc5, \< c83ee2fa5a94edb2e04102b9dd4f1ee0eeb2b932; Linux 6.11.

### Is there a fix for CVE-2026-99663?

Yes. Fixed in Linux 9b9c506018859bb33f01e4b9df213d41b9ca4cc2, Linux 65f4a8ef0adf18601c6ddbfd0e3918afffaeb890. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-99663?

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/9b9c506018859bb33f01e4b9df213d41b9ca4cc2>
- other: <https://git.kernel.org/stable/c/d56f6835532c59b1b5e2d43f373f31586e7e457f>
- other: <https://git.kernel.org/stable/c/65f4a8ef0adf18601c6ddbfd0e3918afffaeb890>
- other: <https://git.kernel.org/stable/c/c83ee2fa5a94edb2e04102b9dd4f1ee0eeb2b932>

## 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-2026-99663>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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