Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-99707: high-severity vulnerability (CVSS 7.8) in Linux Linux.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 7.8.
Affected products and versions
Linux Linux >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < 61e8b187e011489adcb35aca629431c9b6c7f79a; Linux Linux >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < d21e723479d96deeb0f28bca75050e0ce13c5b7b; Linux Linux >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < d9d621ad49a969587d32c98aee1d83e679b9d361; Linux Linux >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < cf1902ab0203f8767a3582143049d1bea5422096; Linux Linux >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < 8c4adb787f77318df3b478f928f271e26d557208; Linux Linux >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < 854e5ff8b3ce2a776586cabebaeae645c992345b; Linux Linux 5.18; Linux Linux < 5.18; Linux Linux 6.1.193 (fixed in 6.1.193); Linux Linux 6.6.163 (fixed in 6.6.163); Linux Linux 6.12.118 (fixed in 6.12.118); Linux Linux 6.18.64 (fixed in 6.18.64)
| Product | Versions | Fixed in |
|---|---|---|
| Linux Linux | >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < 61e8b187e011489adcb35aca629431c9b6c7f79a | — |
| Linux Linux | >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < d21e723479d96deeb0f28bca75050e0ce13c5b7b | — |
| Linux Linux | >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < d9d621ad49a969587d32c98aee1d83e679b9d361 | — |
| Linux Linux | >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < cf1902ab0203f8767a3582143049d1bea5422096 | — |
| Linux Linux | >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < 8c4adb787f77318df3b478f928f271e26d557208 | — |
| Linux Linux | >= 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, < 854e5ff8b3ce2a776586cabebaeae645c992345b | — |
| Linux Linux | 5.18 | — |
| Linux Linux | < 5.18 | — |
| Linux Linux | 6.1.193 | 6.1.193 |
| Linux Linux | 6.6.163 | 6.6.163 |
| Linux Linux | 6.12.118 | 6.12.118 |
| Linux Linux | 6.18.64 | 6.18.64 |
| Linux Linux | 7.3.5 | 7.3.5 |
| Linux Linux | 7.4-rc2 | 7.4-rc2 |
Action recommended by the source
Upgrade to a fixed version: 6.1.193, 6.12.118, 6.18.64, 6.6.163, 7.3.5, 7.4-rc2.
Fixed in: 6.1.193, 6.12.118, 6.18.64, 6.6.163, 7.3.5, 7.4-rc2
Sources and references
- https://git.kernel.org/stable/c/d9d621ad49a969587d32c98aee1d83e679b9d361 — CVE Program
- https://git.kernel.org/stable/c/cf1902ab0203f8767a3582143049d1bea5422096 — CVE Program
- https://git.kernel.org/stable/c/8c4adb787f77318df3b478f928f271e26d557208 — CVE Program
- https://git.kernel.org/stable/c/854e5ff8b3ce2a776586cabebaeae645c992345b — CVE Program
- https://git.kernel.org/stable/c/61e8b187e011489adcb35aca629431c9b6c7f79a — CVE Program
- https://git.kernel.org/stable/c/d21e723479d96deeb0f28bca75050e0ce13c5b7b — CVE Program
Relevant change history
Published
Preliminary advisory published.