PT-2026-162879

CVE-2026-99912

·

تاريخ النشر

2026-11-30

·

تاريخ التحديث

2026-11-30

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

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.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾