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

- Priority: **Insufficient evidence**
- Reason: No CVSS vector published; no exploitation reported by the 5 checked sources
- Next step: Check the vendor advisory
- Status: published
- Published: 2026-11-20 · Modified: 2026-11-20
- Aliases: DEBIAN-CVE-2026-99663, UBUNTU-CVE-2026-99663, CGA-22v6-22x2-7gvv, CGA-5hr8-5r43-xrxw, CGA-7ph4-gcxp-m3cf, CGA-8hj4-395v-hvhv, CGA-8wg9-fjf7-wxj7, CGA-h5hh-v9cp-9mmw, CGA-hwc6-fhcv-72gw, CGA-qf53-fph8-f925, CGA-vqxf-3gr5-63g9, CGA-wg58-vg2x-f6rq, CGA-4762-qw24-p269, CGA-6h6g-vgr3-7x8m, CGA-gh8x-rgwc-v9jj, CGA-j6xf-8p8f-8pwc, CGA-jcg6-9rcx-355f, CGA-q62x-j3w9-wcfm, CGA-v93m-p6g9-532q, CGA-22q6-wwvq-fw3q, CGA-p4hv-rpxv-8v6p
- Record: https://cvemate.com/vulnerability/CVE-2026-99663 · JSON: https://cvemate.com/vulnerability/CVE-2026-99663/json

## Description

```text
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 ]
```

## Signals

- CVSS: none published
- EPSS: 0.168%, percentile 6.431%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 134)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-modules (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.118-1 \| \< 7.3.5-1
- debian linux-6.12 (Debian): \< 6.12.118-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/9b9c506018859bb33f01e4b9df213d41b9ca4cc2>
- <https://git.kernel.org/stable/c/d56f6835532c59b1b5e2d43f373f31586e7e457f>
- <https://git.kernel.org/stable/c/65f4a8ef0adf18601c6ddbfd0e3918afffaeb890>
- <https://git.kernel.org/stable/c/c83ee2fa5a94edb2e04102b9dd4f1ee0eeb2b932>
- <https://security-tracker.debian.org/tracker/CVE-2026-99663>
- <https://ubuntu.com/security/CVE-2026-99663>
- <https://www.cve.org/CVERecord?id=CVE-2026-99663>
- <https://git.kernel.org/linus/c83ee2fa5a94edb2e04102b9dd4f1ee0eeb2b932>

---

Data as of 2026-12-05T03:57:17.626Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
