CVE-2025-38686
userfaultfd: fix a crash in UFFDIO_MOVE when PMD is a migration entry
Reported by linux · Published September 4, 2025
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]
EPSS 0.16% · 5.8th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perf6.12 | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
| kernel6.12-libbpf-static | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
| kernel6.12-libbpf-devel | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
| Linux | Linux | bb81c18dbd42650c844e160cafa7cbb20243a96a, aba6faec0103ed8f169be8dce2ead41fcb689446, 7f1101a0a181243ad587ececdffc4845f035549f, 6.8, 1202abad7a7ccd28c426d2844771a387b07629a4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | adef440691bab824e39c1b17382322d195e1fab0, adef440691bab824e39c1b17382322d195e1fab0, adef440691bab824e39c1b17382322d195e1fab0 |
| Linux | Linux | 6.8, 0, 6.12.43 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| Linux | Linux | 6.15.11, 6.8, * |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| linux | linux_kernel | 6.8, 6.8, 6.8 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.12.46-66.121 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
Timeline
- Sep 4, 2025 Coalition ESS Score (10 in total, the first dated here)
- Sep 4, 2025 CVE Published
- Sep 5, 2025 EPSS Score (30 in total, the first dated here)
- Oct 12, 2025 PoC Published (9 in total, the first dated here)
- Dec 15, 2025 Security Advisory (159 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (146 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-38686
vulnetix vdb fixes CVE-2025-38686
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38686/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart