CVE-2024-27007

CVE-2024-27007

High · published May 1, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
14.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00238 · 14.0th percentile
Published
2024-05-01T10:15Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 6.8, < 6.8.86.8.8
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (7)
EPSS history
Timeline
  • 01 MAY 05:29Z
    userfaultfd: change src_folio after ensuring it's unpinned in UFFDIO_MOVE
    cvelistv5