# CVE-2026-64514: userfaultfd: gate must_wait writability check on pte_present()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-07-25T08:52:05.878Z
- Modified: 2026-11-18T14:59:00.927Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

userfaultfd: gate must_wait writability check on pte_present()

userfaultfd_must_wait() and userfaultfd_huge_must_wait() read the PTE
without taking the page table lock and then apply pte_write() /
huge_pte_write() to it.  Those accessors decode bits from the present
encoding only; on a swap or migration entry they read the offset bits that
happen to share the same position and return an undefined result.

The intent of the check is "is this fault still WP-blocked?".  A
non-marker swap entry means the page is in transit -- the userfault
context the original fault delivered against is no longer the same, and
the swap-in or migration completion path will re-deliver a fresh fault if
userspace still needs to handle it.  Worst case under the current code the
garbage write bit says "wait", and the thread stays asleep until a
UFFDIO_WAKE that may never arrive.

Gate the writability check on pte_present() so the lockless re-check only
inspects present-PTE bits when the entry is actually present.  The
non-present, non-marker case returns "don't wait" and lets the fault path
retry.

(As written by CVE List.)

## Affected

- Linux Linux: from 369cd2121be440543280b91056de187f625d0dbb before a5700a4c1c9099ac2ac73fe8a09cf059972e0d2f; from 369cd2121be440543280b91056de187f625d0dbb before d4026417e8184d13850a0bad4d96ceb6ed9f7152; from 369cd2121be440543280b91056de187f625d0dbb before 29e6f952c5fb7dc1d6b90fe5b7f36063d44ddae0; from 369cd2121be440543280b91056de187f625d0dbb before 5f4dbdb0a87596214076b20b94f2b71b522170b3; from 369cd2121be440543280b91056de187f625d0dbb before a6e9a4939e359599701b1da351e84f72e021443a; from 369cd2121be440543280b91056de187f625d0dbb before 60d696a037eeeedfb57756dfe7ec08a1587c8631; from 369cd2121be440543280b91056de187f625d0dbb before 710183888174639a15fcec16cd1af766b8480bb7; from 369cd2121be440543280b91056de187f625d0dbb before 8e80af52db652fbc41320eee45a4f73bc029faf2; 4.11 (not affected: before 4.11; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 4.11 before 5.10.261; from 5.11 before 5.15.212; from 5.16 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4

## References

- <https://git.kernel.org/stable/c/a5700a4c1c9099ac2ac73fe8a09cf059972e0d2f> (patch)
- <https://git.kernel.org/stable/c/d4026417e8184d13850a0bad4d96ceb6ed9f7152> (patch)
- <https://git.kernel.org/stable/c/29e6f952c5fb7dc1d6b90fe5b7f36063d44ddae0> (patch)
- <https://git.kernel.org/stable/c/5f4dbdb0a87596214076b20b94f2b71b522170b3> (patch)
- <https://git.kernel.org/stable/c/a6e9a4939e359599701b1da351e84f72e021443a> (patch)
- <https://git.kernel.org/stable/c/60d696a037eeeedfb57756dfe7ec08a1587c8631> (patch)
- <https://git.kernel.org/stable/c/710183888174639a15fcec16cd1af766b8480bb7> (patch)
- <https://git.kernel.org/stable/c/8e80af52db652fbc41320eee45a4f73bc029faf2> (patch)

## Sources

- CVE List: [CVE-2026-64514](https://www.cve.org/CVERecord?id=CVE-2026-64514), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-64514](https://nvd.nist.gov/vuln/detail/CVE-2026-64514), Public domain, modified 2026-11-18

---

Page: https://cve.day/CVE-2026-64514 · Whole record: https://cve.day/CVE-2026-64514.json · Rebuilt by cve.day 2026-11-25T22:59:30.154Z
