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

- **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.863Z
- **Modified:** 2026-11-20T06:18:00.630Z

## Who should check

- Anyone running Linux \>= 1b1676180246232308885c4f37fee01cf898fdb2, \< da57b6bce646946c083a48df644d43bb9d011f5f; \>= 1b1676180246232308885c4f37fee01cf898fdb2, \< 9eaedd598cd25eb0e18958e2456153a4c1f3db03; \>= 1b1676180246232308885c4f37fee01cf898fdb2, \< 79cb51d538abc459f74e046d27797d36b133ce0e
- Anyone running Linux 6.10

## Description

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.

## Affected and fixed versions

- Linux: \>= 1b1676180246232308885c4f37fee01cf898fdb2, \< da57b6bce646946c083a48df644d43bb9d011f5f; \>= 1b1676180246232308885c4f37fee01cf898fdb2, \< 9eaedd598cd25eb0e18958e2456153a4c1f3db03; \>= 1b1676180246232308885c4f37fee01cf898fdb2, \< 79cb51d538abc459f74e046d27797d36b133ce0e (cvelist)
- Linux: 6.10 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 79cb51d538abc459f74e046d27797d36b133ce0e or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-99664.md
Affected: Linux >= 1b1676180246232308885c4f37fee01cf898fdb2, < da57b6bce646946c083a48df644d43bb9d011f5f; >= 1b1676180246232308885c4f37fee01cf898fdb2, < 9eaedd598cd25eb0e18958e2456153a4c1f3db03; >= 1b1676180246232308885c4f37fee01cf898fdb2, < 79cb51d538abc459f74e046d27797d36b133ce0e; Linux 6.10
Fixed in: Linux 9eaedd598cd25eb0e18958e2456153a4c1f3db03, Linux 79cb51d538abc459f74e046d27797d36b133ce0e

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-99664 being exploited?

There is no confirmed exploitation: CVE-2026-99664 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-99664?

It has no CVSS score yet. Unknown.

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

Linux \>= 1b1676180246232308885c4f37fee01cf898fdb2, \< da57b6bce646946c083a48df644d43bb9d011f5f; \>= 1b1676180246232308885c4f37fee01cf898fdb2, \< 9eaedd598cd25eb0e18958e2456153a4c1f3db03; \>= 1b1676180246232308885c4f37fee01cf898fdb2, \< 79cb51d538abc459f74e046d27797d36b133ce0e; Linux 6.10.

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

Yes. Fixed in Linux 9eaedd598cd25eb0e18958e2456153a4c1f3db03, Linux 79cb51d538abc459f74e046d27797d36b133ce0e. Upgrade Linux to 79cb51d538abc459f74e046d27797d36b133ce0e or later.

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

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/da57b6bce646946c083a48df644d43bb9d011f5f>
- other: <https://git.kernel.org/stable/c/9eaedd598cd25eb0e18958e2456153a4c1f3db03>
- other: <https://git.kernel.org/stable/c/79cb51d538abc459f74e046d27797d36b133ce0e>

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

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