CVE-2024-27007

High

Description

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedMay 1, 2024
First seenMay 1, 2024

How to fix

Update
  • linux linux_kernel6.8.8 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel6.8 ≤ v < 6.8.8, 6.96.8.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.