CVEvulnerability
CVE-2025-38686
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-09-04
- Last modified
- 2026-10-19
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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.
[[email protected]: remove extra folio check, per David]
Affected configurations
• linux linux kernel (>= 6.8 < 6.12.43)
• linux linux kernel (>= 6.13 < 6.15.11)
• linux linux kernel (>= 6.16 < 6.16.2)
• linux linux kernel 6.17
References
- https://git.kernel.org/stable/c/1202abad7a7ccd28c426d2844771a387b07629a4 Patch
- https://git.kernel.org/stable/c/7f1101a0a181243ad587ececdffc4845f035549f Patch
- https://git.kernel.org/stable/c/aba6faec0103ed8f169be8dce2ead41fcb689446 Patch
- https://git.kernel.org/stable/c/bb81c18dbd42650c844e160cafa7cbb20243a96a Patch