In the Linux kernel, the following vulnerability has been resolved: mm/page_table_check: skip zero pages page_table_check_set() accounts pages by whether they are PageAnon(). The shared zero page is a special page, not an ordinary file-backed page. Read faults on private anonymous mappings can install many read-only PTEs that point at the zero page, but page_table_check currently accounts them in file_map_count. That lets an unprivileged process populate enough zero-page mappings to overflow file_map_count and trip the BUG_ON() in page_table_check_set(). Skip zero pages in page_table_check accounting. They do not need the anonymous/file mapping conflict checks that page_table_check performs for ordinary pages, and this keeps the existing counter size and page_ext layout unchanged.
https://git.kernel.org/stable/c/f7be6deb517cd72371c8078d2b21b0abe7078475
https://git.kernel.org/stable/c/85acfd8dba81887ad17ef32d4531b2c896843d50
https://git.kernel.org/stable/c/5025b3035b74cba1bdd3a7d753338dc6cdaea47d
https://git.kernel.org/stable/c/40e721dd3c582b2f77871a6521fa8d309e26e81a
https://git.kernel.org/stable/c/33afd07412a1efe5b750a3fd5eb0272ebdd12761
https://git.kernel.org/stable/c/325a2aeeaa0425378c958ddf12b4bdcd418a94eb