medium5.5
CVE-2025-38686
In the Linux kernel, the following vulnerability has been resolved: userfaultfd: fix a crash in UFFDIO_MOVE when PMD is a migration entry When UFFDIO_MOVE enco…
Impact
In the Linux kernel, the following vulnerability has been resolved: userfaultfd: fix a crash in UFFDIO_MOVE when PMD is a migration entry When UFFDIO_MOVE encounters a migration PMD entry, it proceeds with obtaining a folio and accessing it even though the entry is swp_entry_t. Add the missing check and let split_huge_pmd() handle migration entries. While at it also remove unnecessary folio check. [surenb@google.com: remove extra folio check, per David]
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | from 6.8 before 6.12.43 from 6.13 before 6.15.11 from 6.16 before 6.16.2 Version 6.17 |
References
- NVD record
- CVE.org record
- https://git.kernel.org/stable/c/1202abad7a7ccd28c426d2844771a387b07629a4
- https://git.kernel.org/stable/c/7f1101a0a181243ad587ececdffc4845f035549f
- https://git.kernel.org/stable/c/aba6faec0103ed8f169be8dce2ead41fcb689446
- https://git.kernel.org/stable/c/bb81c18dbd42650c844e160cafa7cbb20243a96a