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-2026-99707

published high CVSS 3.1 · 7.8

mm/khugepaged: flush deferred unmaps before dropping a failed folio

Published
20 Nov 2026, 05:50:47 UTC
Updated
23 Nov 2026, 08:06:19 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde to < 61e8b187e011489adcb35aca629431c9b6c7f79a · 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde to < d21e723479d96deeb0f28bca75050e0ce13c5b7b · 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde to < d9d621ad49a969587d32c98aee1d83e679b9d361 · 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde to < cf1902ab0203f8767a3582143049d1bea5422096 · 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde to < 8c4adb787f77318df3b478f928f271e26d557208 · 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde to < 854e5ff8b3ce2a776586cabebaeae645c992345b · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 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 Pending Fix Not stated Amazon Linux assessment
AlmaLinux 10 kernel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
Debian trixie linux Advisory build 6.12.118-1 DSA-6652-1
Red Hat Enterprise Linux RHEL-10 kernelaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
AlmaLinux 10 kernel-64k Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 kernel-64k-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-debug Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-debug-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-debug-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-debug-devel-matched Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-debug-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-debug-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-debug-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-devel-matched Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-cross-headers Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-devel-matched Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-uki-virt Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-devel-matched Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-doc Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-headers Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-modules-extra-matched Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-debug Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-debug-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-debug-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-debug-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-debug-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-debug-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-debug Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-debug-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-debug-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-debug-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-debug-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-debug-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-tools Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-tools-libs Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-tools-libs-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-uki-virt Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-uki-virt-addons Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump-devel-matched Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 libperf Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 perf Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 python3-perf Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 rtla Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 rv Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernelppc64le Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernels390x Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernelsrc Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernelx86_64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64kaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-coreaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-debugaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-debug-coreaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-debug-debuginfoaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-debug-develaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-debug-devel-matchedaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-debug-modulesaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-debug-modules-coreaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-debug-modules-extraaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-debuginfoaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-develaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-devel-matchedaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-modulesaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-modules-coreaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-modules-extraaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-abi-stablelistsnoarch Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-coreaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-coreppc64le Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695

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

Description

In the Linux kernel, the following vulnerability has been resolved: mm/khugepaged: flush deferred unmaps before dropping a failed folio collapse_file() can fail its reference-count or dirty-folio check after unmapping with TTU_BATCH_FLUSH. Both paths put back the isolated folio, then unlock it and drop the lookup reference before reaching the common try_to_unmap_flush(). The page-cache reference does not keep the folio stable once the lock is released. Another collapse can replace and free it. With its PTEs already gone, that collapse cannot flush the first task's per-task TLB batch, and retract_page_tables() skips short or unaligned VMAs. A CPU can therefore retain a user translation to the freed folio. This has been reproduced with unprivileged MADV_COLLAPSE on a memfd. Flush at out_unlock while the lookup reference and folio lock are still held. The common flush continues to cover the accumulated pagelist on both success and rollback, preserving batching on successful collapses.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

5

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 - madvise(MADV_COLLAPSE) reaches collapse_file() through do_madvise(), madvise_collapse(), and collapse_scan_file(). collapse_file() unmaps the caller's memfd folio via try_to_unmap(TTU_BATCH_FLUSH) and drops it on the post-unmap folio_ref_count() failure before try_to_unmap_flush(). AC:L - The caller bumps the folio refcount during alloc_charge_folio() so collapse_file() fails the post-unmap folio_ref_count() check, drops that pin, and a second MADV_COLLAPSE frees the folio via folio_put_refs() while the first task's tlb_ubc is still pending. Running the memfd on another CPU makes arch_tlbbatch_should_defer() true, and a short or unaligned VMA makes retract_page_tables() skip pmdp_collapse_flush(). PR:L - SYSCALL_DEFINE3(madvise) and memfd_create() perform no capable() check. MADV_COLLAPSE passes TVA_FORCED_COLLAPSE, so vma_thp_disabled() allows it and shmem_huge_force makes shmem_allowable_huge_orders() return a PMD order for an unprivileged memfd. UI:N - The attacker calls memfd_create(), mmap(), and madvise(MADV_COLLAPSE) on a mapping it owns, and that same caller is the task that enters collapse_file(). S:U - The stale TLB entry is in the caller's mm, and the folio released by folio_put_refs() returns to that kernel's buddy allocator. The dangling translation and the reused page are both inside the same kernel security authority. C:H - try_to_unmap() clears the memfd PTEs and, under TTU_BATCH_FLUSH, only queues them in current->tlb_ubc via set_tlb_ubc_flush_pending(). Once the later collapse's folio_put_refs() frees the folio, a CPU that still caches the translation reads the page after the buddy allocator reuses it. I:H - Those cached entries stay writable: try_to_unmap() leaves remote CPUs able to write the folio until try_to_unmap_flush(), and a MAP_SHARED PROT_WRITE memfd mapping installs writable PTEs. A store hits the physical page after folio_put_refs() has freed it. A:H - folio_put_refs() in the successful collapse frees the folio while a user TLB entry still names it. A later store or load through that entry corrupts a reused slab object or page-table page and oopses the kernel.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde to < 61e8b187e011489adcb35aca629431c9b6c7f79a (affected · git)6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde to < d21e723479d96deeb0f28bca75050e0ce13c5b7b (affected · git)6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde to < d9d621ad49a969587d32c98aee1d83e679b9d361 (affected · git)6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde to < cf1902ab0203f8767a3582143049d1bea5422096 (affected · git)6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde to < 8c4adb787f77318df3b478f928f271e26d557208 (affected · git)6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde to < 854e5ff8b3ce2a776586cabebaeae645c992345b (affected · git)Default: unaffected Linux · cna
Linux Linux 5.18 (affected)0 to < 5.18 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

mm/khugepaged: flush deferred unmaps before dropping a failed folio

Provenance

Schema
5.2
Searchable
yes
Content hash
ec622c97ff3dee065af547f4a315791301f431e0d8763530eecd2cd4a3ddc1d0
Ingested
23 Nov 2026, 14:37:13 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