Vulnerabilities · 2024 · Linux
CVE-2024-27007
Linux Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: userfaultfd: change src_folio after ensuring it's unpinned in UFFDIO_MOVE Commit d7a08838ab74 ("mm: userfaultfd: fix unexpected change to src_folio when UFFDIO_MOVE fails") moved the src_folio->{mapping, index} changing to after clearing the page-table and ensuring that it's not pinned. This avoids failure of swapout+migration and possibly memory corruption. However, the commit missed fixing it in the huge-page case.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/c0205eaf3af9f5db14d4b5ee4abacf4a583c3c50 · Patch
- git.kernel.org/stable/c/df5f6e683e7f21a15d8be6e7a0c7a46436963ebe · Patch
- lists.fedoraproject.org/archives/list/[email protected]/message/4EZ
- lists.fedoraproject.org/archives/list/[email protected]/message/DAM
- lists.fedoraproject.org/archives/list/[email protected]/message/GCB
- nvd.nist.gov/vuln/detail/CVE-2024-27007
- cve.org/CVERecord?id=CVE-2024-27007
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.