A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
In the Linux kernel, the following vulnerability has been resolved:
mm/page_table_check: skip special zero mappings
page_table_check_set() and page_table_check_clear() account mappings based on PageAnon(). Shared zero-page PTEs and huge zero PMDs are special mappings, but page_table_check can still account them as file-backed pages.
An unprivileged process can populate enough zero mappings to overflow file_map_count and hit the existing BUG_ON(). The PTE path can do this with the shared zero page, and the PMD path can do the same with huge zero mappings.
Skip special zero mappings in the user page-table accounting paths. Keep the PTE-side pte_special() check, and identify huge zero PMDs from the mapped folio instead of pmd_special(). That covers architectures where pmd_special() is a no-op without adding huge_zero_pfn checks to the generic counter helpers.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
References
- git.kernel.org /stable/c/084b031a1cc13b1d50b9660baace0b7eba52bebe
- git.kernel.org /stable/c/51e16e5adadaa78b56f31a1cb02eb7267787625e
- git.kernel.org /stable/c/7755be923e325dc300f4b0c3e1ad7e91b28b3cb9
- git.kernel.org /stable/c/8db4bab826ccc9ec10fa41736a48031cd338d392
- git.kernel.org /stable/c/b726eb3c94d23e09da0e0f46b0fa09fb2b5d99cc
- git.kernel.org /stable/c/f6cf9832e677ec07b1675782bd2bad472cfd3cdc
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning