CVE-2026-99664
Last modified
CVE-2026-99664 is a vulnerability of currently unknown severity. 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.
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 Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 1b1676180246232308885c4f37fee01cf898fdb2, < da57b6bce646946c083a48df644d43bb9d011f5f; >= 1b1676180246232308885c4f37fee01cf898fdb2, < 9eaedd598cd25eb0e18958e2456153a4c1f3db03; >= 1b1676180246232308885c4f37fee01cf898fdb2, < 79cb51d538abc459f74e046d27797d36b133ce0e |
| Linux | Linux | 6.10 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99664?
How severe is CVE-2026-99664?
How do I fix CVE-2026-99664?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99659In the Linux kernel, the following vulnerability has been re…7
- CVE-2026-9966Integer overflow in XML in Google Chrome on Windows prior to…8.3
- CVE-2026-99660In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99661In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99662In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99663In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99665In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99666In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99667In the Linux kernel, the following vulnerability has been re…7
- CVE-2026-99668In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99669In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-9967Out of bounds write in GPU in Google Chrome prior to 148.0.7…9.6
Are you affected by CVE-2026-99664?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
