Linux Kernel Hugetlb PMD Page Table Refcount Vulnerability

Vulnerability

A vulnerability in the Linux kernel's handling of hugetlb memory can lead to a page table leak. The issue arises because the folio reference count may be unexpectedly increased by functions like split_huge_pages. This incorrect refcounting can cause the page table to be improperly managed, leading to a 'Bad page state' error. The vulnerability is present in version 6.13.0-rc2 and may be triggered by various processes that increase the reference count of the page table.

Impact

Exploitation of this vulnerability can cause a page table leak, where the page table is discarded after reporting a 'nonzero mapcount', but the associated HugeTLB page is not freed, leading to a resource leak.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.0
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.