CVE-2026-64514

Source
https://cve.org/CVERecord?id=CVE-2026-64514
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64514.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64514
Downstream
Published
2026-07-25T08:52:05.878Z
Modified
2026-07-27T04:03:22.903721964Z
Summary
userfaultfd: gate must_wait writability check on pte_present()
Details

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 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64514.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
369cd2121be440543280b91056de187f625d0dbb
Fixed
a5700a4c1c9099ac2ac73fe8a09cf059972e0d2f
Fixed
d4026417e8184d13850a0bad4d96ceb6ed9f7152
Fixed
29e6f952c5fb7dc1d6b90fe5b7f36063d44ddae0
Fixed
5f4dbdb0a87596214076b20b94f2b71b522170b3
Fixed
a6e9a4939e359599701b1da351e84f72e021443a
Fixed
60d696a037eeeedfb57756dfe7ec08a1587c8631
Fixed
710183888174639a15fcec16cd1af766b8480bb7
Fixed
8e80af52db652fbc41320eee45a4f73bc029faf2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64514.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.11.0
Fixed
5.10.261
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.96
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.39
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64514.json"