CVE-2026-99707

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

7.8 high EPSS 0.16%

Published 20 Nov 2026 Updated 23 Nov 2026 CNA: Linux

Check your servers for CVE-2026-99707

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99707 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.12% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, before 61e8b187e011489adcb35aca629431c9b6c7f79a
affected from 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, before d21e723479d96deeb0f28bca75050e0ce13c5b7b
affected from 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, before d9d621ad49a969587d32c98aee1d83e679b9d361
affected from 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, before cf1902ab0203f8767a3582143049d1bea5422096
affected from 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, before 8c4adb787f77318df3b478f928f271e26d557208
affected from 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde, before 854e5ff8b3ce2a776586cabebaeae645c992345b
Other versions: unaffected
Linux
affected 5.18
unaffected before 5.18
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.118 up to and including 6.12.*
unaffected from 6.18.64 up to and including 6.18.*
unaffected from 7.3.5 up to and including 7.3.*
unaffected 7.4-rc2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99707 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99707

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-99707
trivy image --scanners vuln IMAGE | grep CVE-2026-99707

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-99707 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.