CVE-2026-99710
publishedKVM: x86/mmu: Cap number of parent PTEs per SP at 1000 (the arbitrary rmap limit)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxcea0f0e7ea54753c3265dc77f605a6dad1912cfc to < 4559e4cccd75e7bf65daaf170a2f7100df0c0c03 · cea0f0e7ea54753c3265dc77f605a6dad1912cfc to < c7ad798a8ca0231696ea1ce40a7ccdb9afac66d9 · cea0f0e7ea54753c3265dc77f605a6dad1912cfc to < 863810abac0e6dc3dba554e0dabe449442351c98 · cea0f0e7ea54753c3265dc77f605a6dad1912cfc to < d358a3e5b7d11b4213c77a96ab5951983210be65 · cea0f0e7ea54753c3265dc77f605a6dad1912cfc to < edf87e07376054eedcd5306e0794a26e3004d97b · cea0f0e7ea54753c3265dc77f605a6dad1912cfc to < e0752f3e543c1b67fc9115251ae6b8f151ba9f04 · cea0f0e7ea54753c3265dc77f605a6dad1912cfc to < 72238066aacc400df69cef4b602f083ae4737762 · cea0f0e7ea54753c3265dc77f605a6dad1912cfc to < e4558c3d7198ed9a0adc3304681f561f4e4d80e1 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.20 (affected) · 0 to < 2.6.20 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.118-1 | DSA-6652-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: KVM: x86/mmu: Cap number of parent PTEs per SP at 1000 (the arbitrary rmap limit) When potentially reusing a shadow page, zap the shadow page if its number of parent PTEs exceeds KVM's (mostly) arbitrary rmap recycling threshold. Letting the guest create a (mostly) unbounded number of parent PTEs allows the guest to coerce KVM into creating lists containing millions of PTEs, effectively bounded only by the maximum number of shadow pages. Because PTE lists are simple singly linked lists, removal is O(n). Even worse, if a list is constructed just so, teardown can be O(n^2), e.g. if SPTEs are built such that zapping child SPTEs always zaps the last entry in the list. To cap things off, all paths that walk PTE lists do so while holding mmu_lock, without conditionally rescheduling. Using a doubly linked list would not address the issue, as removal would remain O(n) since KVM still wouldn't know where in the list to remove from. Removal could be made O(1) by storing a per-SPTE pointer, but that would largely defeat the purpose of reusing SPs, and would penalize well-behaved guests, especially for nested TDP where aliasing page tables is uncommon. So, cap the maximum number of parent PTEs at the rmap limit. In practice, well-behaved guests will likely never run afoul of the limit. E.g. when running Linux as L1 with TDP, the number of parent PTEs for a single SP tops out at under 200 (though undoubtedly obscure workloads can push it higher). Deliberately use a "greater than or equal" as opposed to rmap's strictly "greater than", as the rmap code checks the threshold immediately *after* inserting into the list, i.e. the limit is 1000 for rmaps, KVM just very briefly blows past it. Apply the check to both indirect and direct SPs, because while a fully direct MMU naturally limits the number of parent PTEs to '1', direct SPs in indirect MMUs have no such constraint. E.g. if the guest maps a huge PTE into many locations in its page tables, and KVM is backing the hugepage with a direct SP, i.e. with a series of smaller pages, then KVM could end up with a direct SP with many parents. Note, shadow_mmu_try_split_huge_pages() always restarts the rmap walk or bails entirely if it gets to the point where it tries to grab a SP, i.e. there is *no* pre-existing bug that would be tripped by zapping a SP and thus rmaps when getting a SP.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | cea0f0e7ea54753c3265dc77f605a6dad1912cfc to < 4559e4cccd75e7bf65daaf170a2f7100df0c0c03 (affected · git)cea0f0e7ea54753c3265dc77f605a6dad1912cfc to < c7ad798a8ca0231696ea1ce40a7ccdb9afac66d9 (affected · git)cea0f0e7ea54753c3265dc77f605a6dad1912cfc to < 863810abac0e6dc3dba554e0dabe449442351c98 (affected · git)cea0f0e7ea54753c3265dc77f605a6dad1912cfc to < d358a3e5b7d11b4213c77a96ab5951983210be65 (affected · git)cea0f0e7ea54753c3265dc77f605a6dad1912cfc to < edf87e07376054eedcd5306e0794a26e3004d97b (affected · git)cea0f0e7ea54753c3265dc77f605a6dad1912cfc to < e0752f3e543c1b67fc9115251ae6b8f151ba9f04 (affected · git)cea0f0e7ea54753c3265dc77f605a6dad1912cfc to < 72238066aacc400df69cef4b602f083ae4737762 (affected · git)cea0f0e7ea54753c3265dc77f605a6dad1912cfc to < e4558c3d7198ed9a0adc3304681f561f4e4d80e1 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.20 (affected)0 to < 2.6.20 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/4559e4cccd75e7bf65daaf170a2f7100df0c0c03
- https://git.kernel.org/stable/c/72238066aacc400df69cef4b602f083ae4737762
- https://git.kernel.org/stable/c/863810abac0e6dc3dba554e0dabe449442351c98
- https://git.kernel.org/stable/c/c7ad798a8ca0231696ea1ce40a7ccdb9afac66d9
- https://git.kernel.org/stable/c/d358a3e5b7d11b4213c77a96ab5951983210be65
- https://git.kernel.org/stable/c/e0752f3e543c1b67fc9115251ae6b8f151ba9f04
- https://git.kernel.org/stable/c/e4558c3d7198ed9a0adc3304681f561f4e4d80e1
- https://git.kernel.org/stable/c/edf87e07376054eedcd5306e0794a26e3004d97b
Provider assertions
1Linux · cna
KVM: x86/mmu: Cap number of parent PTEs per SP at 1000 (the arbitrary rmap limit)
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 96fae980bb2b7ee680c210a1471de8aa38c248577861e410af2ded43dbc18db5
- Ingested
- 23 Nov 2026, 14:37:13 UTC
- Source record
- Official CVE record