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

CVE-2025-38686
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.16 % · centile 5 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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]

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected adef440691bab824e39c1b17382322d195e1fab0 < bb81c18dbd42650c844e160cafa7cbb20243a96a ; affected adef440691bab824e39c1b17382322d195e1fab0 < 1202abad7a7ccd28c426d2844771a387b07629a4 ; affected adef440691bab824e39c1b17382322d195e1fab0 < 7f1101a0a181243ad587ececdffc4845f035549f ; affected adef440691bab824e39c1b17382322d195e1fab0 < aba6faec0103ed8f169be8dce2ead41fcb689446
Linux · Linuxaffected 6.8 ; unaffected 0 < 6.8 ; unaffected 6.12.43 ≤ 6.12.* ; unaffected 6.15.11 ≤ 6.15.* ; unaffected 6.16.2 ≤ 6.16.* ; unaffected 6.17 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD