Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-38686

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

Description

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • adef440691bab824e39c1b17382322d195e1fab0 to < bb81c18dbd42650c844e160cafa7cbb20243a96aaffected
  • adef440691bab824e39c1b17382322d195e1fab0 to < 1202abad7a7ccd28c426d2844771a387b07629a4affected
  • adef440691bab824e39c1b17382322d195e1fab0 to < 7f1101a0a181243ad587ececdffc4845f035549faffected
  • adef440691bab824e39c1b17382322d195e1fab0 to < aba6faec0103ed8f169be8dce2ead41fcb689446affected

Linux Linux

Default version status: affected

  • 6.8affected
  • 0 to < 6.8unaffected
  • 6.12.43 to ≤ 6.12.*unaffected
  • 6.15.11 to ≤ 6.15.*unaffected
  • 6.16.2 to ≤ 6.16.*unaffected
  • 6.17 to ≤ *unaffected

References