CVE-2026-64514

userfaultfd: gate must_wait writability check on pte_present()

N/A
Published: July 25, 2026 at 08:52 AM UTC
Updated: August 17, 2026 at 05:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.11 ≤ v < 5.10.2614.11 ≤ v < 5.15.2124.11 ≤ v < 6.1.1784.11 ≤ v < 6.12.964.11 ≤ v < 6.18.394.11 ≤ v < 6.6.1454.11 ≤ v < 7.1.44.11 ≤ v < 7.2369cd2121be440543280b91056de187f625d0dbb4.11
Vendor states this is fixed in 29e6f952c5fb7dc1d6b90fe5b7f36063d44ddae0 (fixed)
Vendor states this is fixed in 5f4dbdb0a87596214076b20b94f2b71b522170b3 (fixed)
Vendor states this is fixed in 60d696a037eeeedfb57756dfe7ec08a1587c8631 (fixed)
Vendor states this is fixed in 710183888174639a15fcec16cd1af766b8480bb7 (fixed)
Vendor states this is fixed in 8e80af52db652fbc41320eee45a4f73bc029faf2 (fixed)
Vendor states this is fixed in a5700a4c1c9099ac2ac73fe8a09cf059972e0d2f (fixed)
Vendor states this is fixed in a6e9a4939e359599701b1da351e84f72e021443a (fixed)
Vendor states this is fixed in d4026417e8184d13850a0bad4d96ceb6ed9f7152 (fixed)
Vendor states this is fixed in 4.11 (unaffected)
Vendor states this is fixed in 5.10.261 (unaffected)
Vendor states this is fixed in 5.15.212 (unaffected)
Vendor states this is fixed in 6.1.178 (unaffected)
Vendor states this is fixed in 6.12.96 (unaffected)
Vendor states this is fixed in 6.18.39 (unaffected)
Vendor states this is fixed in 6.6.145 (unaffected)
Vendor states this is fixed in 7.1.4 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card