VDB

CVE-2024-27007

CVE-2024-27007 PUBLISHED CVSS 7.8 HIGH

userfaultfd: change src_folio after ensuring it's unpinned in UFFDIO_MOVE

Reported by linux · Published May 1, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.8.8

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxadef440691bab824e39c1b17382322d195e1fab0, adef440691bab824e39c1b17382322d195e1fab0
LinuxLinux6.8, 0, 6.8.8
linuxlinux_kernel6.8, 6.8
LinuxLinux6.8, 6.8.8, 6.9

Timeline

  • May 1, 2024 EPSS Score (30 in total, the first dated here)
  • May 1, 2024 CVE Published
  • Oct 4, 2024 Coalition ESS Score (12 in total, the first dated here)
  • Jan 15, 2026 Security Advisory (303 in total, the first dated here)
  • Jan 15, 2026 CVE Updated
  • Mar 30, 2026 Distribution Patch (265 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-27007
vulnetix vdb fixes CVE-2024-27007

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-27007/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›