Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-27007

published high CVSS 3.1 · 7.8

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

Published
01 May 2024, 05:29:08 UTC
Updated
05 Aug 2026, 11:28:57 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxadef440691bab824e39c1b17382322d195e1fab0 to < df5f6e683e7f21a15d8be6e7a0c7a46436963ebe · adef440691bab824e39c1b17382322d195e1fab0 to < c0205eaf3af9f5db14d4b5ee4abacf4a583c3c50 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.8.8 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Ubuntu noble linux Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-aws Advisory build 6.8.0-1011.12 USN-6893-3
Ubuntu noble linux-aws-cloud-tools-6.8.0-1011 Advisory build 6.8.0-1011.12 USN-6893-3
Ubuntu noble linux-aws-headers-6.8.0-1011 Advisory build 6.8.0-1011.12 USN-6893-3
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu noble linux-aws-tools-6.8.0-1011 Advisory build 6.8.0-1011.12 USN-6893-3
Ubuntu noble linux-azure Advisory build 6.8.0-1010.10 USN-6893-1
Ubuntu noble linux-azure-cloud-tools-6.8.0-1010 Advisory build 6.8.0-1010.10 USN-6893-1
Ubuntu noble linux-azure-headers-6.8.0-1010 Advisory build 6.8.0-1010.10 USN-6893-1
Ubuntu noble linux-azure-tools-6.8.0-1010 Advisory build 6.8.0-1010.10 USN-6893-1
Ubuntu noble linux-buildinfo-6.8.0-1006-gke Advisory build 6.8.0-1006.9 USN-6893-2
Ubuntu noble linux-buildinfo-6.8.0-1007-intel Advisory build 6.8.0-1007.14 USN-6893-1
Ubuntu noble linux-buildinfo-6.8.0-1007-raspi Advisory build 6.8.0-1007.7 USN-6893-1
Ubuntu noble linux-buildinfo-6.8.0-1008-ibm Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-buildinfo-6.8.0-1008-oem Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-buildinfo-6.8.0-1008-oracle Advisory build 6.8.0-1008.8 USN-6918-1
Ubuntu noble linux-buildinfo-6.8.0-1008-oracle-64k Advisory build 6.8.0-1008.8 USN-6918-1
Ubuntu noble linux-buildinfo-6.8.0-1009-nvidia Advisory build 6.8.0-1009.9 USN-6893-2
Ubuntu noble linux-buildinfo-6.8.0-1009-nvidia-64k Advisory build 6.8.0-1009.9 USN-6893-2
Ubuntu noble linux-buildinfo-6.8.0-1010-azure Advisory build 6.8.0-1010.10 USN-6893-1
Ubuntu noble linux-buildinfo-6.8.0-1010-gcp Advisory build 6.8.0-1010.11 USN-6893-1
Ubuntu noble linux-buildinfo-6.8.0-1011-aws Advisory build 6.8.0-1011.12 USN-6893-3
Ubuntu noble linux-buildinfo-6.8.0-38-generic Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-buildinfo-6.8.0-38-generic-64k Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-buildinfo-6.8.0-38-lowlatency Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-buildinfo-6.8.0-38-lowlatency-64k Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-cloud-tools-6.8.0-1007-intel Advisory build 6.8.0-1007.14 USN-6893-1
Ubuntu noble linux-cloud-tools-6.8.0-1010-azure Advisory build 6.8.0-1010.10 USN-6893-1
Ubuntu noble linux-cloud-tools-6.8.0-1011-aws Advisory build 6.8.0-1011.12 USN-6893-3
Ubuntu noble linux-cloud-tools-6.8.0-38 Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-cloud-tools-6.8.0-38-generic Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-cloud-tools-6.8.0-38-lowlatency Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-cloud-tools-common Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-gcp Advisory build 6.8.0-1010.11 USN-6893-1
Ubuntu noble linux-gcp-headers-6.8.0-1010 Advisory build 6.8.0-1010.11 USN-6893-1
Ubuntu noble linux-gcp-tools-6.8.0-1010 Advisory build 6.8.0-1010.11 USN-6893-1
Ubuntu noble linux-gke Advisory build 6.8.0-1006.9 USN-6893-2
Ubuntu noble linux-gke-headers-6.8.0-1006 Advisory build 6.8.0-1006.9 USN-6893-2
Ubuntu noble linux-gke-tools-6.8.0-1006 Advisory build 6.8.0-1006.9 USN-6893-2
Ubuntu noble linux-headers-6.8.0-1006-gke Advisory build 6.8.0-1006.9 USN-6893-2
Ubuntu noble linux-headers-6.8.0-1007-intel Advisory build 6.8.0-1007.14 USN-6893-1
Ubuntu noble linux-headers-6.8.0-1007-raspi Advisory build 6.8.0-1007.7 USN-6893-1
Ubuntu noble linux-headers-6.8.0-1008-ibm Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-headers-6.8.0-1008-oem Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-headers-6.8.0-1008-oracle Advisory build 6.8.0-1008.8 USN-6918-1
Ubuntu noble linux-headers-6.8.0-1008-oracle-64k Advisory build 6.8.0-1008.8 USN-6918-1
Ubuntu noble linux-headers-6.8.0-1009-nvidia Advisory build 6.8.0-1009.9 USN-6893-2
Ubuntu noble linux-headers-6.8.0-1009-nvidia-64k Advisory build 6.8.0-1009.9 USN-6893-2
Ubuntu noble linux-headers-6.8.0-1010-azure Advisory build 6.8.0-1010.10 USN-6893-1
Ubuntu noble linux-headers-6.8.0-1010-gcp Advisory build 6.8.0-1010.11 USN-6893-1
Ubuntu noble linux-headers-6.8.0-1011-aws Advisory build 6.8.0-1011.12 USN-6893-3
Ubuntu noble linux-headers-6.8.0-38 Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-headers-6.8.0-38-generic Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-headers-6.8.0-38-generic-64k Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-headers-6.8.0-38-lowlatency Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-headers-6.8.0-38-lowlatency-64k Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-ibm Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-ibm-cloud-tools-common Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-ibm-headers-6.8.0-1008 Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-ibm-source-6.8.0 Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-ibm-tools-6.8.0-1008 Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-image-6.8.0-1007-raspi Advisory build 6.8.0-1007.7 USN-6893-1
Ubuntu noble linux-image-6.8.0-38-generic Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-image-unsigned-6.8.0-1006-gke Advisory build 6.8.0-1006.9 USN-6893-2
Ubuntu noble linux-image-unsigned-6.8.0-1007-intel Advisory build 6.8.0-1007.14 USN-6893-1
Ubuntu noble linux-image-unsigned-6.8.0-1008-ibm Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-image-unsigned-6.8.0-1008-oem Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-image-unsigned-6.8.0-1008-oracle Advisory build 6.8.0-1008.8 USN-6918-1
Ubuntu noble linux-image-unsigned-6.8.0-1008-oracle-64k Advisory build 6.8.0-1008.8 USN-6918-1
Ubuntu noble linux-image-unsigned-6.8.0-1009-nvidia Advisory build 6.8.0-1009.9 USN-6893-2
Ubuntu noble linux-image-unsigned-6.8.0-1009-nvidia-64k Advisory build 6.8.0-1009.9 USN-6893-2
Ubuntu noble linux-image-unsigned-6.8.0-1010-azure Advisory build 6.8.0-1010.10 USN-6893-1
Ubuntu noble linux-image-unsigned-6.8.0-1010-gcp Advisory build 6.8.0-1010.11 USN-6893-1
Ubuntu noble linux-image-unsigned-6.8.0-1011-aws Advisory build 6.8.0-1011.12 USN-6893-3
Ubuntu noble linux-image-unsigned-6.8.0-38-generic Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-image-unsigned-6.8.0-38-generic-64k Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-image-unsigned-6.8.0-38-lowlatency Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-image-unsigned-6.8.0-38-lowlatency-64k Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-intel Advisory build 6.8.0-1007.14 USN-6893-1
Ubuntu noble linux-intel-cloud-tools-6.8.0-1007 Advisory build 6.8.0-1007.14 USN-6893-1
Ubuntu noble linux-intel-headers-6.8.0-1007 Advisory build 6.8.0-1007.14 USN-6893-1
Ubuntu noble linux-intel-tools-6.8.0-1007 Advisory build 6.8.0-1007.14 USN-6893-1
Ubuntu noble linux-lib-rust-6.8.0-38-generic Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-lowlatency Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-lowlatency-cloud-tools-6.8.0-38 Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-lowlatency-cloud-tools-common Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-lowlatency-headers-6.8.0-38 Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-lowlatency-lib-rust-6.8.0-38-lowlatency Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-lowlatency-tools-6.8.0-38 Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-lowlatency-tools-common Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-lowlatency-tools-host Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-modules-6.8.0-1006-gke Advisory build 6.8.0-1006.9 USN-6893-2
Ubuntu noble linux-modules-6.8.0-1007-intel Advisory build 6.8.0-1007.14 USN-6893-1
Ubuntu noble linux-modules-6.8.0-1007-raspi Advisory build 6.8.0-1007.7 USN-6893-1
Ubuntu noble linux-modules-6.8.0-1008-ibm Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-modules-6.8.0-1008-oem Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-modules-6.8.0-1008-oracle Advisory build 6.8.0-1008.8 USN-6918-1
Ubuntu noble linux-modules-6.8.0-1008-oracle-64k Advisory build 6.8.0-1008.8 USN-6918-1
Ubuntu noble linux-modules-6.8.0-1009-nvidia Advisory build 6.8.0-1009.9 USN-6893-2
Ubuntu noble linux-modules-6.8.0-1009-nvidia-64k Advisory build 6.8.0-1009.9 USN-6893-2
Ubuntu noble linux-modules-6.8.0-1010-azure Advisory build 6.8.0-1010.10 USN-6893-1

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

4

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The bug is reached only through the `UFFDIO_MOVE` ioctl on a local userfaultfd file descriptor obtained via the `userfaultfd(2)` syscall or `/dev/userfaultfd`, operating on the caller's own address space. There is no remote or adjacent-network path to `move_pages_huge_pmd()`. AC:L - The attacker controls both sides of the race, looping `UFFDIO_MOVE` in one thread against `pin_user_pages_fast()` (io_uring buffer registration, vmsplice, O_DIRECT) in another on the same attacker-owned THP, and all preconditions (two anon writable VMAs, uffd registration, `MADV_HUGEPAGE`) are self-supplied. Losing an attempt costs nothing but an `-EBUSY`, so the race can be retried indefinitely until won. PR:L - Any unprivileged local user can obtain the context — `userfaultfd_syscall_allowed()` unconditionally permits `UFFD_USER_MODE_ONLY` irrespective of the `vm.unprivileged_userfaultfd` sysctl, and `/dev/userfaultfd` is ungated (world-usable on Android/ChromeOS, the primary `UFFDIO_MOVE` consumers). Neither `userfaultfd_move()` nor `validate_move_areas()` performs any capability check. UI:N - A single attacker process drives the entire sequence — allocate the THP, register the uffd, race `UFFDIO_MOVE` against a GUP pin, then `munmap()` the dst VMA. No victim action or cooperation is involved. S:U - The corrupted rmap metadata, the freed `anon_vma`, and any resulting escalation are all kernel objects within the same security authority. No hypervisor, IOMMU, or sandbox boundary is crossed. C:H - The stale `folio->mapping` breaks the invariant asserted in `folio_get_anon_vma()` (`mm/rmap.c:518-524`), yielding a use-after-free on a `SLAB_TYPESAFE_BY_RCU` `anon_vma` that an attacker can groom and reuse; subsequent rmap walks operate on the wrong anon_vma/index, and the mis-indexed folio can be migrated or reclaimed into an unrelated mapping, exposing arbitrary memory contents. I:H - The dangling `anon_vma` gives an `atomic_inc_not_zero()` write into freed, attacker-reusable slab memory, and rmap operations mutate PTE state through the wrong anon_vma interval tree — both upstream commits explicitly state the invalid rmap "possibly result[s] in memory corruption," which is leverageable for control-flow hijack. A:H - The use-after-free on the freed `anon_vma`, plus reachable `VM_BUG_ON` assertions in `__page_check_anon_rmap()` and the `split_huge_page`/migration paths, produce kernel oopses and panics. Swapout and migration of the affected folio also permanently fail because its mappings can no longer be located.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux adef440691bab824e39c1b17382322d195e1fab0 to < df5f6e683e7f21a15d8be6e7a0c7a46436963ebe (affected · git)adef440691bab824e39c1b17382322d195e1fab0 to < c0205eaf3af9f5db14d4b5ee4abacf4a583c3c50 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.8 (affected)0 to < 6.8 (unaffected · semver)6.8.8 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

3

Linux · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
20b892909db4f6575513d78da2e2166c9d0fae0ef1c6d9c49e5463e300919798
Ingested
23 Sep 2026, 08:20:34 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected