CVE-2026-99701
mm/ksm: fix userfaultfd protection during merge and unmerge
Mitigation
- Upgrade Linux to 990d6c2194a938a19a8cf94c6cfd75171345089b or later.
Who should check
- Anyone running Linux >= 63b2d4174c4ad1f40b48d7138e71bcb564c1fe03, < 5cf7267b79f276c27825a2ebb95deda788a29e77; >= 63b2d4174c4ad1f40b48d7138e71bcb564c1fe03, < 990d6c2194a938a19a8cf94c6cfd75171345089b
- Anyone running Linux 5.7
Vulnerability facts
- Affected
- Linux >= 63b2d4174c4ad1f40b48d7138e71bcb564c1fe03, < 5cf7267b79f276c27825a2ebb95deda788a29e77; >= 63b2d4174c4ad1f40b48d7138e71bcb564c1fe03, < 990d6c2194a938a19a8cf94c6cfd75171345089b; Linux 5.7
- Fixed in
- Linux 5cf7267b79f276c27825a2ebb95deda788a29e77, Linux 990d6c2194a938a19a8cf94c6cfd75171345089b
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.20% chance of exploitation in 30 days (percentile 5, 2026-11-28)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: mm/ksm: fix userfaultfd protection during merge and unmerge KSM loses userfaultfd protection when replace_page() builds a new PTE from vma->vm_page_prot. Dropping its uffd bit lets a subsequent write go through ordinary COW instead of userfaultfd write protection handling. For RWP, a merged page also becomes readable without faulting. Keeping the uffd bit and restoring PAGE_NONE fixes merging, but we also have to handle unmerging. An existing KSM page can be protected with RWP before MADV_UNMERGEABLE, so unmerging already needs fixing independently of preserving RWP during merging. Unsharing replaces a shared page with a private one and should leave userfaultfd protection in place, as do_wp_page() already does for write protection. Currently, an unshare fault reaches do_uffd_rwp() before it can proceed to do_wp_page(). - With synchronous RWP, handle_userfault() returns VM_FAULT_SIGBUS. break_ksm() then reports success with a KSM page still merged. - With asynchronous RWP, protection is cleared before unsharing. Preserve the uffd bit when merging, and restore PAGE_NONE for RWP. Let FAULT_FLAG_UNSHARE skip RWP fault handling and keep PAGE_NONE on each private copy as well. Unsharing can then complete with RWP still armed for a subsequent access.
Affected and fixed versions
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-99701. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99701.md Affected: Linux >= 63b2d4174c4ad1f40b48d7138e71bcb564c1fe03, < 5cf7267b79f276c27825a2ebb95deda788a29e77; >= 63b2d4174c4ad1f40b48d7138e71bcb564c1fe03, < 990d6c2194a938a19a8cf94c6cfd75171345089b; Linux 5.7 Fixed in: Linux 5cf7267b79f276c27825a2ebb95deda788a29e77, Linux 990d6c2194a938a19a8cf94c6cfd75171345089b 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
FAQ
Is CVE-2026-99701 being exploited?
There is no confirmed exploitation: CVE-2026-99701 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-99701?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-99701?
Linux >= 63b2d4174c4ad1f40b48d7138e71bcb564c1fe03, < 5cf7267b79f276c27825a2ebb95deda788a29e77; >= 63b2d4174c4ad1f40b48d7138e71bcb564c1fe03, < 990d6c2194a938a19a8cf94c6cfd75171345089b; Linux 5.7.
Is there a fix for CVE-2026-99701?
Yes. Fixed in Linux 5cf7267b79f276c27825a2ebb95deda788a29e77, Linux 990d6c2194a938a19a8cf94c6cfd75171345089b. Upgrade Linux to 990d6c2194a938a19a8cf94c6cfd75171345089b or later.
How do I check if I'm affected by CVE-2026-99701?
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% |