CVE-2026-99912
Last modified
CVE-2026-99912 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: riscv: mm: exclude invalid THP PMDs from page table check RISC-V THP splitting uses a temporary invalid PMD state where pmd_mkinvalid() clears _PAGE_PRESENT and _PAGE_PROT_NONE but leaves _PAGE_LEAF set so the MM code can still recognize the PMD as a THP split in-progress entry. That temporary state no longer describes a user-accessible mapping, but page_table_check currently treats it as one because the RISC-V PMD user-accessibility test only checks whether the PMD is a leaf and has user permissions. As a result, when a PMD-sized anonymous THP is split during a COW fault, page_table_check can account the invalid intermediate PMD as a live PMD mapping, and then account the replacement PTE mappings again when the split installs the PTE table. This leaves stale PMD accounting behind and later triggers page_table_check failures such as a non-zero anon_map_count when the folio is freed. Fix this by tightening pmd_user_accessible_page() so PMD page-table-check accounting only considers leaf PMDs that still carry either _PAGE_PRESENT or _PAGE_PROT_NONE.
Description
In the Linux kernel, the following vulnerability has been resolved: riscv: mm: exclude invalid THP PMDs from page table check RISC-V THP splitting uses a temporary invalid PMD state where pmd_mkinvalid() clears _PAGE_PRESENT and _PAGE_PROT_NONE but leaves _PAGE_LEAF set so the MM code can still recognize the PMD as a THP split in-progress entry. That temporary state no longer describes a user-accessible mapping, but page_table_check currently treats it as one because the RISC-V PMD user-accessibility test only checks whether the PMD is a leaf and has user permissions. As a result, when a PMD-sized anonymous THP is split during a COW fault, page_table_check can account the invalid intermediate PMD as a live PMD mapping, and then account the replacement PTE mappings again when the split installs the PTE table. This leaves stale PMD accounting behind and later triggers page_table_check failures such as a non-zero anon_map_count when the folio is freed. Fix this by tightening pmd_user_accessible_page() so PMD page-table-check accounting only considers leaf PMDs that still carry either _PAGE_PRESENT or _PAGE_PROT_NONE. This preserves the THP split semantics required by the MM code while preventing page_table_check from treating invalid split PMDs as live user mappings. With CONFIG_PAGE_TABLE_CHECK=y and CONFIG_PAGE_TABLE_CHECK_ENFORCED=y, tools/testing/selftests/mm/cow completes successfully on RISC-V after this change.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 3fee229a8eb936b96933c6b2cd02d2e87a4cc997, < c41f2ec5ff3c840e38922ac19d47808842b972b4; >= 3fee229a8eb936b96933c6b2cd02d2e87a4cc997, < fd4d112f27c0ed7ea03d3868618d93fff29b9201; >= 3fee229a8eb936b96933c6b2cd02d2e87a4cc997, < 24df68281795de4b8ee11b71ccc5b9ba746127bd; >= 3fee229a8eb936b96933c6b2cd02d2e87a4cc997, < cb24274f7d304d992e940be51234a3d9cfc179b5; >= 3fee229a8eb936b96933c6b2cd02d2e87a4cc997, < d1078b473e559875f1d2aeec1ef9792b89e35209; >= 3fee229a8eb936b96933c6b2cd02d2e87a4cc997, < bdda2887cbf3937c2d0f56589c2124c4167324e1 |
| Linux | Linux | 5.19 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99912?
How severe is CVE-2026-99912?
How do I fix CVE-2026-99912?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99907In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99908In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99909In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9991Inappropriate implementation in Media in Google Chrome on Wi…3.1
- CVE-2026-99910In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99911In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99913In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99914In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99915In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99916In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99917In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99918In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-99912?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
