CVE-2025-38686

Source
https://cve.org/CVERecord?id=CVE-2025-38686
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38686.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38686
Downstream
Related
Published
2025-09-04T15:32:40.771Z
Modified
2026-03-20T12:42:58.440707Z
Summary
userfaultfd: fix a crash in UFFDIO_MOVE when PMD is a migration entry
Details

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

userfaultfd: fix a crash in UFFDIO_MOVE when PMD is a migration entry

When UFFDIOMOVE encounters a migration PMD entry, it proceeds with obtaining a folio and accessing it even though the entry is swpentryt. Add the missing check and let splithuge_pmd() handle migration entries. While at it also remove unnecessary folio check.

[surenb@google.com: remove extra folio check, per David]

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38686.json"
}
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
adef440691bab824e39c1b17382322d195e1fab0
Fixed
bb81c18dbd42650c844e160cafa7cbb20243a96a
Fixed
1202abad7a7ccd28c426d2844771a387b07629a4
Fixed
7f1101a0a181243ad587ececdffc4845f035549f
Fixed
aba6faec0103ed8f169be8dce2ead41fcb689446

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38686.json"