CVE-2026-64514
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bpftool6.12 | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel-livepatch-6.1.180-225.360 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| kernel | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| kernel-tools | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| python3-perf | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
6 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 369cd2121be440543280b91056de187f625d0dbb, 369cd2121be440543280b91056de187f625d0dbb, 369cd2121be440543280b91056de187f625d0dbb |
| Linux | Linux | 4.11, 0, 5.10.261 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.1.180-225.360 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel-livepatch-6.18.39-79.141 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| Linux | Linux | 7.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