CVE-2025-38686: Linux kernel · userfaultfd: fix a crash in UFFDIO_MOVE when PMD is a migration entry
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 17 Nov 2026, 01:41 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 5 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel. Users and administrators should apply the official kernel updates that include this patch to prevent crashes related to UFFDIO_MOVE and migration PMD entries. Since this is a kernel-level fix, upgrading to the patched kernel version is the recommended mitigation.
Description
CVE-2025-38686 is a medium severity vulnerability in the Linux kernel's userfaultfd subsystem. It addresses a crash issue triggered when the UFFDIO_MOVE ioctl operation encounters a migration Page Middle Directory (PMD) entry. The flaw occurs because the code attempts to obtain and access a folio from a migration PMD entry without properly checking that the entry is a swp_entry_t type. The fix adds the missing check and delegates handling of migration entries to split_huge_pmd(), also removing an unnecessary folio check.
References
- nvd.nist.gov/vuln/detail/CVE-2025-38686 (opens in a new tab)
- git.kernel.org/stable/c/1202abad7a7ccd28c426d2844771a387b07629a4 (opens in a new tab)
- git.kernel.org/stable/c/7f1101a0a181243ad587ececdffc4845f035549f (opens in a new tab)
- git.kernel.org/stable/c/aba6faec0103ed8f169be8dce2ead41fcb689446 (opens in a new tab)
- git.kernel.org/stable/c/bb81c18dbd42650c844e160cafa7cbb20243a96a (opens in a new tab)