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.
History

Wed, 06 Nov 2024 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-05-01T05:29:08.528Z

Updated: 2025-05-04T09:02:01.913Z

Reserved: 2024-02-19T14:20:24.208Z

Link: CVE-2024-27007

cve-icon Vulnrichment

Updated: 2024-08-02T00:21:05.906Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-05-01T06:15:19.180

Modified: 2024-11-21T09:03:36.437

Link: CVE-2024-27007

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-05-01T00:00:00Z

Links: CVE-2024-27007 - Bugzilla