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]
Product status
adef440691bab824e39c1b17382322d195e1fab0 (git) before bb81c18dbd42650c844e160cafa7cbb20243a96a
adef440691bab824e39c1b17382322d195e1fab0 (git) before 1202abad7a7ccd28c426d2844771a387b07629a4
adef440691bab824e39c1b17382322d195e1fab0 (git) before 7f1101a0a181243ad587ececdffc4845f035549f
adef440691bab824e39c1b17382322d195e1fab0 (git) before aba6faec0103ed8f169be8dce2ead41fcb689446
6.8
Any version before 6.8
6.12.43 (semver)
6.15.11 (semver)
6.16.2 (semver)
6.17 (original_commit_for_fix)
References
git.kernel.org/...c/bb81c18dbd42650c844e160cafa7cbb20243a96a
git.kernel.org/...c/1202abad7a7ccd28c426d2844771a387b07629a4
git.kernel.org/...c/7f1101a0a181243ad587ececdffc4845f035549f
git.kernel.org/...c/aba6faec0103ed8f169be8dce2ead41fcb689446