# CVE-2026-99664: mm/gup: recheck the PUD under PTL in follow\_pud\_mask()

- 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-99664, UBUNTU-CVE-2026-99664, CGA-3xrf-mf5h-hp3v, CGA-4p8v-w8qp-89fp, CGA-5hf2-fc6p-64xw, CGA-6pjv-93v6-c2hp, CGA-9fxg-qvg8-3x74, CGA-cf89-864j-8qqq, CGA-f9hq-8j22-mp5x, CGA-h55v-9rw7-wj28, CGA-hwfh-73cr-p6g3, CGA-jcmx-ww8m-fgpr, CGA-qc47-gvhj-cjr6, CGA-5g6q-vhqc-w9ph, CGA-chhf-3v98-55ff, CGA-crjp-865w-qj6m, CGA-g8mv-7m8v-9rmj, CGA-mggg-rrv5-wwxp, CGA-w74x-6vgq-247x, CGA-ww85-p92j-fff6, CGA-qfrf-r8hx-vww4
- Record: https://cvemate.com/vulnerability/CVE-2026-99664 · JSON: https://cvemate.com/vulnerability/CVE-2026-99664/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

mm/gup: recheck the PUD under PTL in follow_pud_mask()

follow_pud_mask() reads the PUD without a lock. If it is a leaf, it takes
the lock and calls follow_huge_pud(), which reads the entry again, but
only tests whether it is present.

A leaf can be zapped concurrently and a page fault can fill the empty
entry with a page table.

This currently only applies when device-dax makes use of PUD entries,
and the fault after e.g., MADV_DONTNEED would find THPs to be disabled.

That requires a sequence like

1) Fault in the PUD
2) Disable THP
3) Have GUP race against concurrent MADV_DONTNEED + refault

Which is rather unlikely to happen in practice, which is why we never
received a report about such a problem.

Before commit 1b1676180246 ("mm/gup: handle huge pud for
follow_pud_mask()"), we performed that check in follow_devmap_pud() by
testing for pud_devmap().

Let's fix it by just structuring follow_pud_mask() similar to
follow_pmd_mask(), minus protnone stuff that does not apply and minus
FOLL_SPLIT_PMD handling. That makes it much easier to spot any such
inconsistencies.

Perform the pud_bad() check early in follow_pmd_mask() and just forward
the PUD value. We can drop the pud_present() check in follow_huge_pud(),
just like we have in follow_huge_pmd().

Even though we are performing more changes than strictly necessary, the
fix should be easy to backport.
```

## Signals

- CVSS: none published
- EPSS: 0.166%, percentile 6.146%, 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 133)

- 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) \| \< 7.3.5-1
- 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)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/da57b6bce646946c083a48df644d43bb9d011f5f>
- <https://git.kernel.org/stable/c/9eaedd598cd25eb0e18958e2456153a4c1f3db03>
- <https://git.kernel.org/stable/c/79cb51d538abc459f74e046d27797d36b133ce0e>
- <https://security-tracker.debian.org/tracker/CVE-2026-99664>
- <https://ubuntu.com/security/CVE-2026-99664>
- <https://www.cve.org/CVERecord?id=CVE-2026-99664>
- <https://git.kernel.org/linus/79cb51d538abc459f74e046d27797d36b133ce0e>

---

Data as of 2026-12-05T14:04:13.728Z. 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
