{"id":"CVE-2026-64514","aliases":["CVE-2026-64514"],"related":[],"kind":"vulnerability","state":"published","title":"userfaultfd: gate must_wait writability check on pte_present()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nuserfaultfd: gate must_wait writability check on pte_present()\n\nuserfaultfd_must_wait() and userfaultfd_huge_must_wait() read the PTE\nwithout taking the page table lock and then apply pte_write() /\nhuge_pte_write() to it.  Those accessors decode bits from the present\nencoding only; on a swap or migration entry they read the offset bits that\nhappen to share the same position and return an undefined result.\n\nThe intent of the check is \"is this fault still WP-blocked?\".  A\nnon-marker swap entry means the page is in transit -- the userfault\ncontext the original fault delivered against is no longer the same, and\nthe swap-in or migration completion path will re-deliver a fresh fault if\nuserspace still needs to handle it.  Worst case under the current code the\ngarbage write bit says \"wait\", and the thread stays asleep until a\nUFFDIO_WAKE that may never arrive.\n\nGate the writability check on pte_present() so the lockless re-check only\ninspects present-PTE bits when the entry is actually present.  The\nnon-present, non-marker case returns \"don't wait\" and lets the fault path\nretry.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nuserfaultfd: gate must_wait writability check on pte_present()\n\nuserfaultfd_must_wait() and userfaultfd_huge_must_wait() read the PTE\nwithout taking the page table lock and then apply pte_write() /\nhuge_pte_write() to it.  Those accessors decode bits from the present\nencoding only; on a swap or migration entry they read the offset bits that\nhappen to share the same position and return an undefined result.\n\nThe intent of the check is \"is this fault still WP-blocked?\".  A\nnon-marker swap entry means the page is in transit -- the userfault\ncontext the original fault delivered against is no longer the same, and\nthe swap-in or migration completion path will re-deliver a fresh fault if\nuserspace still needs to handle it.  Worst case under the current code the\ngarbage write bit says \"wait\", and the thread stays asleep until a\nUFFDIO_WAKE that may never arrive.\n\nGate the writability check on pte_present() so the lockless re-check only\ninspects present-PTE bits when the entry is actually present.  The\nnon-present, non-marker case returns \"don't wait\" and lets the fault path\nretry.","source":"cvelist"}],"published":"2026-07-25T08:52:05.878Z","modified":"2026-11-18T14:59:00.927Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"369cd2121be440543280b91056de187f625d0dbb","fixed":"a5700a4c1c9099ac2ac73fe8a09cf059972e0d2f","status":"affected"},{"type":"git","introduced":"369cd2121be440543280b91056de187f625d0dbb","fixed":"d4026417e8184d13850a0bad4d96ceb6ed9f7152","status":"affected"},{"type":"git","introduced":"369cd2121be440543280b91056de187f625d0dbb","fixed":"29e6f952c5fb7dc1d6b90fe5b7f36063d44ddae0","status":"affected"},{"type":"git","introduced":"369cd2121be440543280b91056de187f625d0dbb","fixed":"5f4dbdb0a87596214076b20b94f2b71b522170b3","status":"affected"},{"type":"git","introduced":"369cd2121be440543280b91056de187f625d0dbb","fixed":"a6e9a4939e359599701b1da351e84f72e021443a","status":"affected"},{"type":"git","introduced":"369cd2121be440543280b91056de187f625d0dbb","fixed":"60d696a037eeeedfb57756dfe7ec08a1587c8631","status":"affected"},{"type":"git","introduced":"369cd2121be440543280b91056de187f625d0dbb","fixed":"710183888174639a15fcec16cd1af766b8480bb7","status":"affected"},{"type":"git","introduced":"369cd2121be440543280b91056de187f625d0dbb","fixed":"8e80af52db652fbc41320eee45a4f73bc029faf2","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.11","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.96","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.39","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.4","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.11","fixed":"5.10.261"},{"status":"affected","introduced":"5.11","fixed":"5.15.212"},{"status":"affected","introduced":"5.16","fixed":"6.1.178"},{"status":"affected","introduced":"6.2","fixed":"6.6.145"},{"status":"affected","introduced":"6.7","fixed":"6.12.96"},{"status":"affected","introduced":"6.13","fixed":"6.18.39"},{"status":"affected","introduced":"6.19","fixed":"7.1.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a5700a4c1c9099ac2ac73fe8a09cf059972e0d2f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d4026417e8184d13850a0bad4d96ceb6ed9f7152","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/29e6f952c5fb7dc1d6b90fe5b7f36063d44ddae0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5f4dbdb0a87596214076b20b94f2b71b522170b3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a6e9a4939e359599701b1da351e84f72e021443a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/60d696a037eeeedfb57756dfe7ec08a1587c8631","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/710183888174639a15fcec16cd1af766b8480bb7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8e80af52db652fbc41320eee45a4f73bc029faf2","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:40:57.422Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64514","url":"https://www.cve.org/CVERecord?id=CVE-2026-64514","licence":"CVE Terms of Use","modified":"2026-11-06T16:44:56.292Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64514","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64514","licence":"Public domain","modified":"2026-11-18T14:59:00.927Z"}],"updatedAt":"2026-11-25T22:59:30.154Z","epss":{"score":0.00156,"percentile":0.04944,"date":"2026-12-01T12:00:22.000Z"}}