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

Published Jul 25, 2026
·
Updated

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

userfaultfd: gate mustwait writability check on ptepresent()

userfaultfdmustwait() and userfaultfdhugemustwait() read the PTE without taking the page table lock and then apply ptewrite() / hugeptewrite() 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 UFFDIOWAKE that may never arrive.

Gate the writability check on ptepresent() 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.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Gate the must_wait writability check on pte_present() so the lockless re-check only occurs when the fault is still WP-blocked (rather than inspecting present-PTE bits on non-marker swap/in-transit entries).

    userfaultfd must_wait writability check gating on pte_present() = enabled

Event History

Jul 25, 2026
CVE Published
via MITRE·08:52 AM
Data Sourced
via MITRE·08:52 AM
Description
Data Sourced
via NVD·10:17 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-64514?

CVE-2026-64514 has a risk score of 27, indicating a critical vulnerability.

2

How do I fix CVE-2026-64514?

To fix CVE-2026-64514, apply the latest kernel updates provided by your Linux distribution.

3

What are the implications of CVE-2026-64514?

CVE-2026-64514 can potentially allow unauthorized memory access due to inadequate locking mechanisms in the userfaultfd implementation.

4

Which versions of the Linux kernel are affected by CVE-2026-64514?

CVE-2026-64514 affects certain versions of the Linux kernel prior to the fix implemented on July 25, 2026.

5

Is there a workaround for CVE-2026-64514 if I cannot update?

While a specific workaround is not detailed, minimizing userfaultfd usage may reduce exposure until a formal patch is applied.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203