Not scored
mm/page_table_check: skip special zero mappings
- Severity
- Not scored
- Exploit likelihood
- 0.17% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from df4e817b710809425d899340dbfa8504a3ca4ba5 before 084b031a1cc13b1d50b9660baace0b7eba52bebe, from df4e817b710809425d899340dbfa8504a3ca4ba5 before f6cf9832e677ec07b1675782bd2bad472cfd3cdc, from df4e817b710809425d899340dbfa8504a3ca4ba5 before 51e16e5adadaa78b56f31a1cb02eb7267787625e, from df4e817b710809425d899340dbfa8504a3ca4ba5 before 7755be923e325dc300f4b0c3e1ad7e91b28b3cb9, from df4e817b710809425d899340dbfa8504a3ca4ba5 before b726eb3c94d23e09da0e0f46b0fa09fb2b5d99cc, from df4e817b710809425d899340dbfa8504a3ca4ba5 before 8db4bab826ccc9ec10fa41736a48031cd338d392, 5.17 Not affected: before 5.17, from 6.1.191 up to 6.1.*, from 6.6.160 up to 6.6.*, from 6.12.114 up to 6.12.*, from 6.18.46 up to 6.18.*, from 7.1.9 up to 7.1.* | CVE List |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: mm/page_table_check: omitir mapeos especiales de cero page_table_check_set() y page_table_check_clear() contabilizan los mapeos basándose en PageAnon(). Los PTEs de página cero compartida y los PMDs de cero enormes son mapeos especiales, pero page_table_check aún puede contabilizarlos como páginas respaldadas por archivos. Un proceso sin privilegios puede poblar suficientes mapeos de cero para desbordar file_map_count y activar el BUG_ON() existente. La ruta PTE puede hacer esto con la página cero compartida, y la ruta PMD puede hacer lo mismo con mapeos de cero enormes. Omitir los mapeos especiales de cero en las rutas de contabilidad de la tabla de páginas de usuario. Mantener la verificación pte_special() del lado PTE, e identificar los PMDs de cero enormes desde el folio mapeado en lugar de pmd_special(). Eso cubre arquitecturas donde pmd_special() es una no-op sin añadir verificaciones de huge_zero_pfn a los ayudantes de contador genéricos.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74600 changed 2026-10-30 | CVE Terms of Use |
| NVD | CVE-2026-74600 changed 2026-10-30 | Public domain |