CVE-2026-99707
mm/khugepaged: flush deferred unmaps before dropping a failed folio
Mitigation
- Upgrade Linux to 854e5ff8b3ce2a776586cabebaeae645c992345b or later.
Who should check
- Anyone running Linux >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < 61e8b187e011489adcb35aca629431c9b6c7f79a; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < d21e723479d96deeb0f28bca75050e0ce13c5b7b; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < d9d621ad49a969587d32c98aee1d83e679b9d361; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < cf1902ab0203f8767a3582143049d1bea5422096; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < 8c4adb787f77318df3b478f928f271e26d557208; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < 854e5ff8b3ce2a776586cabebaeae645c992345b
- Anyone running Linux 5.18
Vulnerability facts
- Affected
- Linux >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < 61e8b187e011489adcb35aca629431c9b6c7f79a; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < d21e723479d96deeb0f28bca75050e0ce13c5b7b; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < d9d621ad49a969587d32c98aee1d83e679b9d361; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < cf1902ab0203f8767a3582143049d1bea5422096; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < 8c4adb787f77318df3b478f928f271e26d557208; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < 854e5ff8b3ce2a776586cabebaeae645c992345b; Linux 5.18
- Fixed in
- Linux 61e8b187e011489adcb35aca629431c9b6c7f79a, Linux 8c4adb787f77318df3b478f928f271e26d557208, Linux 854e5ff8b3ce2a776586cabebaeae645c992345b
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.16% chance of exploitation in 30 days (percentile 3, 2026-11-28)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < 61e8b187e011489adcb35aca629431c9b6c7f79a; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < d21e723479d96deeb0f28bca75050e0ce13c5b7b; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < d9d621ad49a969587d32c98aee1d83e679b9d361; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < cf1902ab0203f8767a3582143049d1bea5422096; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < 8c4adb787f77318df3b478f928f271e26d557208; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < 854e5ff8b3ce2a776586cabebaeae645c992345b | — | cvelist |
| Linux | 5.18 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-99707. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99707.md Affected: Linux >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < 61e8b187e011489adcb35aca629431c9b6c7f79a; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < d21e723479d96deeb0f28bca75050e0ce13c5b7b; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < d9d621ad49a969587d32c98aee1d83e679b9d361; >= 6d9df8a5889c569ab9e3bcb… Fixed in: Linux 61e8b187e011489adcb35aca629431c9b6c7f79a, Linux 8c4adb787f77318df3b478f928f271e26d557208, Linux 854e5ff8b3ce2a776586cabebaeae645c992345b Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Other
- https://git.kernel.org/stable/c/61e8b187e011489adcb35aca629431c9b6c7f79a
- https://git.kernel.org/stable/c/d21e723479d96deeb0f28bca75050e0ce13c5b7b
- https://git.kernel.org/stable/c/d9d621ad49a969587d32c98aee1d83e679b9d361
- https://git.kernel.org/stable/c/cf1902ab0203f8767a3582143049d1bea5422096
- https://git.kernel.org/stable/c/8c4adb787f77318df3b478f928f271e26d557208
- https://git.kernel.org/stable/c/854e5ff8b3ce2a776586cabebaeae645c992345b
FAQ
Is CVE-2026-99707 being exploited?
There is no confirmed exploitation: CVE-2026-99707 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-99707?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-99707?
Linux >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < 61e8b187e011489adcb35aca629431c9b6c7f79a; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < d21e723479d96deeb0f28bca75050e0ce13c5b7b; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < d9d621ad49a969587d32c98aee1d83e679b9d361; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < cf1902ab0203f8767a3582143049d1bea5422096; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < 8c4adb787f77318df3b478f928f271e26d557208; >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < 854e5ff8b3ce2a776586cabebaeae645c992345b; Linux 5.18.
Is there a fix for CVE-2026-99707?
Yes. Fixed in Linux 61e8b187e011489adcb35aca629431c9b6c7f79a, Linux 8c4adb787f77318df3b478f928f271e26d557208, Linux 854e5ff8b3ce2a776586cabebaeae645c992345b. Upgrade Linux to 854e5ff8b3ce2a776586cabebaeae645c992345b or later.
How do I check if I'm affected by CVE-2026-99707?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-137974 Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile | Linux kernel+1 | EPSS 31% | |
| HIGH 7.8 | CVE-2026-137941 Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property | Linux kernel+1 | EPSS 11% | |
| HIGH 7.3 | CVE-2026-137898 Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling | Linux kernel+1 | EPSS 11% | |
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | EPSS 24% | |
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 | EPSS 3% |