VDB

CVE-2026-64514

CVE-2026-64514 PUBLISHED

userfaultfd: gate must_wait writability check on pte_present()

Reported by linux · Published July 25, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
bpftool6.12Amazon Linux1:6.12.100-125.179.amzn2023
kernel-livepatch-6.1.180-225.360Amazon Linux1:1.0-0.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.100-125.179.amzn2023
bpftool6.18Amazon Linux1:6.18.39-79.141.amzn2023
kernelAmazon Linux1:6.1.180-225.360.amzn2023
kernel-toolsAmazon Linux1:6.1.180-225.360.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.39-79.141.amzn2023
python3-perfAmazon Linux1:6.1.180-225.360.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.100-125.179.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.39-79.141.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.100-125.179.amzn2023
kernel6.18Amazon Linux1:6.18.39-79.141.amzn2023

6 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux369cd2121be440543280b91056de187f625d0dbb, 369cd2121be440543280b91056de187f625d0dbb, 369cd2121be440543280b91056de187f625d0dbb
LinuxLinux4.11, 0, 5.10.261
amazon:2023bpftool6.120
amazon:2023kernel-livepatch-6.1.180-225.3600
amazon:2023kernel6.12-tools0
amazon:2023bpftool6.180
amazon:2023kernel0
amazon:2023kernel-tools0
amazon:2023kernel6.18-tools0
amazon:2023python3-perf0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.180
amazon:2023kernel6.12-headers0
amazon:2023kernel-livepatch-6.18.39-79.1410
amazon:2023kernel6.18-headers0
amazon:2023kernel6.120
amazon:2023kernel6.12-devel0
LinuxLinux7.2, 369cd2121be440543280b91056de187f625d0dbb, 369cd2121be440543280b91056de187f625d0dbb

…and 18 more

Timeline

  • Jul 25, 2026 EPSS Score (16 in total, the first dated here)
  • Jul 25, 2026 Coalition ESS Score
  • Jul 25, 2026 CVE Published
  • Jul 26, 2026 Security Advisory (20 in total, the first dated here)
  • Aug 9, 2026 CVE Updated
  • Aug 12, 2026 Distribution Patch (21 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64514
vulnetix vdb fixes CVE-2026-64514

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64514/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›