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-99463

published high CVSS 3.1 · 7.8

mm/rmap: don't discard lazyfree THPs at PMD level

Published
19 Nov 2026, 14:42:16 UTC
Updated
22 Nov 2026, 11:08:26 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux735ecdfaf4e802209caf34b7ac45adf448c54ccc to < 8cf9517996067cfbfc5abdb4cfb3d7e15a7b34a3 · 735ecdfaf4e802209caf34b7ac45adf448c54ccc to < 3594027c292b09d9301b4be80fa8e0c815ffaf2a · 735ecdfaf4e802209caf34b7ac45adf448c54ccc to < b8c683bd548268453d50e933aab2e7d50a7ac2be · 735ecdfaf4e802209caf34b7ac45adf448c54ccc to < 984c0700854e35779a2bcce6b02783e709b6efa2 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.11 (affected) · 0 to < 6.11 (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 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; Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3538 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 kernel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
Debian bookworm linux-6.12 Advisory build 6.12.117-1~deb12u1 DLA-4927-1
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 kernel-64k Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-debug Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-debug-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-debug-devel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-debug-devel-matched Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-debug-modules Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-debug-modules-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-debug-modules-extra Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-devel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-devel-matched Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-modules Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-modules-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-64k-modules-extra Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-cross-headers Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-debug Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-debug-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-debug-devel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-debug-devel-matched Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-debug-modules Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-debug-modules-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-debug-modules-extra Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-debug-uki-virt Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-devel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-devel-matched Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-doc Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-headers Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-modules Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-modules-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-modules-extra Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-modules-extra-matched Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-debug Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-debug-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-debug-devel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-debug-modules Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-debug-modules-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-debug-modules-extra Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-devel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-modules Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-modules-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-64k-modules-extra Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-debug Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-debug-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-debug-devel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-debug-modules Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-debug-modules-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-debug-modules-extra Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-devel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-modules Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-modules-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-rt-modules-extra Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-tools Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-tools-libs Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-tools-libs-devel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-uki-virt Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-uki-virt-addons Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-zfcpdump Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-zfcpdump-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-zfcpdump-devel Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-zfcpdump-devel-matched Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-zfcpdump-modules Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-zfcpdump-modules-core Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 kernel-zfcpdump-modules-extra Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 libperf Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 perf Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 python3-perf Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 rtla Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
AlmaLinux 10 rv Advisory build 6.12.0-264.20.1.el10_3 ALSA-2026:102253
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253
Oracle Linux 10 kernel-toolsx86_64 Advisory build 0:6.12.0-264.20.1.el10_3 ELSA-2026-102253

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/rmap: don't discard lazyfree THPs at PMD level __discard_anon_folio_pmd_locked() clears a lazyfree THP's PMD before it determines whether the folio can be discarded, and restores it if the folio is dirty or has extra references. It is done under only the PMD lock and the anon_vma read lock inside try_to_unmap_one() and no mmap lock is held. The temporarily none PMD causes UAF. A parallel munmap() or mremap() is supposed to serialize with it on the PMD lock, but zap_pmd_range() (called by munmap()) and move_page_tables() (called by mremap()) do not take the lock when they see the temporarily none PMD and skip the PMD. There is no more page table walk after the none PMD is restored: - munmap(): free_pgtables() waits in unlink_anon_vmas() for the anon_vma lock, then free_pmd_range() drops the restored PMD as bad without removing the rmap, so the folio keeps a stale mapcount. - whole-VMA MREMAP_DONTUNMAP: dontunmap_complete() unlinks the source VMA from its anon_vma while the restored PMD still maps the folio. - plain mremap(): the THP is not moved but unmapped, so the THP's data is lost. In the first two cases, the folio stays mapped, but no VMA that maps it is linked to its anon_vma. When the anon_vma is freed, it is still reachable when one rmap walks the folio. Racing lazyfree reclaim against MREMAP_DONTUNMAP as an unprivileged user reproduces a KASAN use-after-free in folio_lock_anon_vma_read() as reported in the Closes link. One solution is to use an invalidated PMD instead of a cleared one until the discard is committed, but it needs arch fixes first. 1. GUP-fast still follows an invalidated PMD on riscv, LoongArch and s390. 2. sparc64 miscounts thp_pte_count when an invalidated PMD is set again or cleared. To keep the fix simple for backport, stop discarding lazyfree THPs at PMD level instead. try_to_unmap_one() splits the PMD and discards the folio at PTE level. unmap_huge_pmd_locked() and __discard_anon_folio_pmd_locked() are left in place, unused, to minimize this fix for backport and the invalidated PMD approach is planned as a follow-up series to use them again.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

7

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_PAGEOUT) enters madvise_pageout(), which isolates the folio and calls reclaim_pages() -> shrink_folio_list() -> try_to_unmap() -> try_to_unmap_one(), the function the fix changes. MADV_FREE has already made the THP lazyfree through madvise_free_huge_pmd() and folio_mark_lazyfree(). The colliding munmap() or mremap(MREMAP_DONTUNMAP) is the same caller's syscall. AC:L - The attacker faults a PMD THP, marks it lazyfree, and keeps a read-only GUP ref. __discard_anon_folio_pmd_locked() then hits ref_count != map_count + 1 and set_pmd_at() restores the PMD that pmdp_huge_clear_flush() cleared. Concurrently get_old_pmd() or zap_pmd_range() samples that none PMD without the PMD lock. The attacker runs both syscalls and can retry. PR:L - SYSCALL_DEFINE3(madvise) and SYSCALL_DEFINE5(mremap) accept MADV_FREE, MADV_PAGEOUT, and MREMAP_DONTUNMAP from any local uid on its own anonymous VMA. CAP_SYS_ADMIN is checked only in madvise_inject_error() for MADV_HWPOISON. do_mremap() locks only current->mm. UI:N - The attacker creates the anonymous mapping and issues MADV_FREE, MADV_PAGEOUT, and munmap() or mremap(MREMAP_DONTUNMAP) against it. zap_pmd_range() and dontunmap_complete() then run in that same process. S:U - put_anon_vma() frees an anon_vma from anon_vma_cachep in the kernel that is running the attacker, and folio_lock_anon_vma_read() then uses the stale folio->mapping. The corrupted object and the walk stay in that kernel. C:H - unlink_anon_vmas() in dontunmap_complete() or free_pgtables() drops the last anon_vma reference while the restored PMD still maps the folio, so folio->mapping dangles. folio_lock_anon_vma_read() then reads anon_vma->root and locks root->rwsem; a recycled anon_vma_cachep object makes that walk follow another root and its interval tree. I:H - down_read_trylock() writes the freed anon_vma rwsem. Once anon_vma_cachep reuses the slot, rmap_walk_anon() invokes try_to_unmap_one(), whose get_and_clear_ptes() clears PTEs of the recycled tree. free_pmd_range() also pmd_clear_bad()s the restored huge PMD without folio_remove_rmap_pmd(), leaving a stale mapcount. A:H - Racing lazyfree reclaim with MREMAP_DONTUNMAP is a KASAN use-after-free in folio_lock_anon_vma_read() on the freed anon_vma and oopses the kernel. move_page_tables() also skips the transient none PMD, so a plain mremap() drops the THP and loses its data.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 735ecdfaf4e802209caf34b7ac45adf448c54ccc to < 8cf9517996067cfbfc5abdb4cfb3d7e15a7b34a3 (affected · git)735ecdfaf4e802209caf34b7ac45adf448c54ccc to < 3594027c292b09d9301b4be80fa8e0c815ffaf2a (affected · git)735ecdfaf4e802209caf34b7ac45adf448c54ccc to < b8c683bd548268453d50e933aab2e7d50a7ac2be (affected · git)735ecdfaf4e802209caf34b7ac45adf448c54ccc to < 984c0700854e35779a2bcce6b02783e709b6efa2 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.11 (affected)0 to < 6.11 (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

mm/rmap: don't discard lazyfree THPs at PMD level

Provenance

Schema
5.2
Searchable
yes
Content hash
f27ac0ff7b4b645f88e9c0051674245fd64982f3ddc219ad3139ccd942fb8317
Ingested
23 Nov 2026, 14:35:29 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