{"id":"CVE-2026-99664","aliases":[],"cve":{"records":[{"id":"CVE-2026-99664","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-25T10:25:14.427Z","published":"2026-11-20T05:50:14.863Z","modified":"2026-11-20T05:50:14.863Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-11-20T05:50:14.863Z"}],"references":[{"url":"https://git.kernel.org/stable/c/da57b6bce646946c083a48df644d43bb9d011f5f","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/9eaedd598cd25eb0e18958e2456153a4c1f3db03","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/79cb51d538abc459f74e046d27797d36b133ce0e","tags":[],"source":"Linux"}],"weaknesses":[],"applicability":[{"source":"Linux","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.18.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.3.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.4-rc2"}]}]}]}],"prioritization":[]},"title":"mm/gup: recheck the PUD under PTL in follow_pud_mask()","titleSource":"Linux","descriptionSource":"Linux","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/gup: recheck the PUD under PTL in follow_pud_mask()\n\nfollow_pud_mask() reads the PUD without a lock. If it is a leaf, it takes\nthe lock and calls follow_huge_pud(), which reads the entry again, but\nonly tests whether it is present.\n\nA leaf can be zapped concurrently and a page fault can fill the empty\nentry with a page table.\n\nThis currently only applies when device-dax makes use of PUD entries,\nand the fault after e.g., MADV_DONTNEED would find THPs to be disabled.\n\nThat requires a sequence like\n\n1) Fault in the PUD\n2) Disable THP\n3) Have GUP race against concurrent MADV_DONTNEED + refault\n\nWhich is rather unlikely to happen in practice, which is why we never\nreceived a report about such a problem.\n\nBefore commit 1b1676180246 (\"mm/gup: handle huge pud for\nfollow_pud_mask()\"), we performed that check in follow_devmap_pud() by\ntesting for pud_devmap().\n\nLet's fix it by just structuring follow_pud_mask() similar to\nfollow_pmd_mask(), minus protnone stuff that does not apply and minus\nFOLL_SPLIT_PMD handling. That makes it much easier to spot any such\ninconsistencies.\n\nPerform the pud_bad() check early in follow_pmd_mask() and just forward\nthe PUD value. We can drop the pud_present() check in follow_huge_pud(),\njust like we have in follow_huge_pmd().\n\nEven though we are performing more changes than strictly necessary, the\nfix should be easy to backport.","score":null,"severity":"unknown","published":"2026-11-20T05:50:14.863Z","modified":"2026-11-20T05:50:14.863Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"1b1676180246232308885c4f37fee01cf898fdb2","status":"affected","lessThan":"da57b6bce646946c083a48df644d43bb9d011f5f","versionType":"git"},{"version":"1b1676180246232308885c4f37fee01cf898fdb2","status":"affected","lessThan":"9eaedd598cd25eb0e18958e2456153a4c1f3db03","versionType":"git"},{"version":"1b1676180246232308885c4f37fee01cf898fdb2","status":"affected","lessThan":"79cb51d538abc459f74e046d27797d36b133ce0e","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99664"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.18.64","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.5","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99664"}],"remediation":[],"references":["https://git.kernel.org/stable/c/da57b6bce646946c083a48df644d43bb9d011f5f","https://git.kernel.org/stable/c/9eaedd598cd25eb0e18958e2456153a4c1f3db03","https://git.kernel.org/stable/c/79cb51d538abc459f74e046d27797d36b133ce0e"],"sources":[{"name":"CVE","id":"CVE-2026-99664","modified":"2026-11-20T05:50:14.863Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99664"}],"assessments":[],"sourceAffected":[],"observedAt":"2026-11-20T06:14:05.442Z","kev":{"status":"not-listed","checkedAt":"2026-11-22T13:00:31.692Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-21T11:35:35.988Z","attemptedAt":"2026-11-21T11:35:35.988Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-21T11:20:31.981Z","attemptedAt":"2026-11-21T11:20:31.981Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-21T11:00:32.784Z","attemptedAt":"2026-11-21T11:00:32.784Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-21T10:40:34.574Z","attemptedAt":"2026-11-21T10:40:34.574Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-99664","url":"https://www.first.org/epss/","probability":0.00166,"percentile":0.06029,"date":"2026-11-20","checkedAt":"2026-11-21T10:40:34.574Z"},{"source":"ENISA EUVD","id":"EUVD-2026-130957","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-130957","modified":"Nov 20, 2026, 5:50:14 AM","checkedAt":"2026-11-21T11:00:32.784Z"},{"source":"GitHub Advisory Database","id":"GHSA-xh4m-hvjw-jx9j","url":"https://github.com/advisories/GHSA-xh4m-hvjw-jx9j","modified":"2026-11-20T06:32:07Z","checkedAt":"2026-11-21T11:20:31.981Z"},{"source":"NVD","id":"CVE-2026-99664","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99664","modified":"2026-11-20T06:18:00.630","checkedAt":"2026-11-21T11:35:35.988Z"}],"aiSummary":null}