{"id":"CVE-2025-38686","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:\n\nuserfaultfd: fix a crash in UFFDIO_MOVE when PMD is a migration entry\n\nWhen UFFDIO_MOVE encounters a migration PMD entry, it proceeds with\nobtaining a folio and accessing it even though the entry is swp_entry_t. \nAdd the missing check and let split_huge_pmd() handle migration entries. \nWhile at it also remove unnecessary folio check.\n\n[surenb@google.com: remove extra folio check, per David]","modified":"2026-04-02T12:48:05.265426Z","published":"2025-09-04T15:32:40.771Z","related":["SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","openSUSE-SU-2025:20081-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38686.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1202abad7a7ccd28c426d2844771a387b07629a4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7f1101a0a181243ad587ececdffc4845f035549f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aba6faec0103ed8f169be8dce2ead41fcb689446"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bb81c18dbd42650c844e160cafa7cbb20243a96a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38686.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38686"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2025-38686.json"}}],"schema_version":"1.7.5"}