In the Linux kernel, the following vulnerability has been resolved:
mm: fix __vm_normal_page() to handle missing support for pmd_special()/pud_special()
On x86 32-bit with THP enabled, zap_huge_pmd() is seen to generate a "WARNING: mm/memory.c:735 at __vm_normal_page+0x6a/0x7d", from the VM_WARN_ON_ONCE(is_zero_pfn(pfn) || is_huge_zero_pfn(pfn)); followed by "BUG: Bad rss-counter state"s, then later "BUG: Bad page state"s when reclaim gets to call shrink_huge_zero_folio_scan().
It's as if the _PAGE_SPECIAL bit never got set in the huge_zero pmd: and indeed, whereas pte_special() and pte_mkspecial() are subject to a dedicated CONFIG_ARCH_HAS_PTE_SPECIAL, pmd_special() and pmd_mkspecial() are subject to CONFIG_ARCH_SUPPORTS_PMD_PFNMAP, which is never enabled on any 32-bit architecture.
While the problem was exposed through commit d80a9cb1a64a ("mm/huge_memory: add and use normal_or_softleaf_folio_pmd()"), it was an oversight in commit af38538801c6 ("mm/memory: factor out common code from vm_normal_page_*()") and would result in other problems: * huge zero folio accounted in smaps, pagemap (PAGE_IS_FILE) and numamaps as file-backed THP * folio_walk_start() returning the folio even without FW_ZEROPAGE set. Callers seem to tolerate that, though.
... and triggering the VM_WARN_ON_ONE(), although never reported so far.
To fix it, teach vm_normal_page_pmd()/vm_normal_page_pud() to consider whether pmd_special/pud_special is actually implemented.
CVSS Details
- CVSS 3.1 Base Score: 7.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon_linux_2023 | — | Upgrade kernel6.18Upgrade kernel6.18-modules-extra-commonUpgrade kernel6.18-modules-extraUpgrade kernel6.18-tools-develUpgrade kernel6.18-headersUpgrade kernel6.18-develUpgrade kernel6.18-debuginfo-common-x86_64Upgrade kernel6.18-toolsUpgrade python3-perf6.18Upgrade microvm-kernel6.18Upgrade kernel6.18-debuginfoUpgrade python3-perf6.18-debuginfoUpgrade kernel-livepatch-6.18.35-68.127Upgrade perf6.18Upgrade kernel6.18-tools-debuginfoUpgrade kernel6.18-debuginfo-common-aarch64Upgrade bpftool6.18-debuginfoUpgrade bpftool6.18Upgrade perf6.18-debuginfo | Aug 10, 2026 | Jul 19, 2026 |
| Redhat_linux | — | No solution exists | Jul 22, 2026 | Jul 19, 2026 |
| Ubuntu | — | Upgrade linux-image-nvidia-64k-hwe-26.04Upgrade linux-image-nvidia-64k-7.0Upgrade linux-image-aws-64k-7.0Upgrade linux-image-gcpUpgrade linux-image-nvidia-hwe-26.04Upgrade linux-image-ibmUpgrade linux-image-oracle-64kUpgrade linux-image-7.0.0-1009-awsUpgrade linux-image-nvidia-bos-64kUpgrade linux-image-7.0.0-2016-nvidia-bos-64kUpgrade linux-image-7.0.0-2016-nvidia-bosUpgrade linux-image-azure-fde-7.0Upgrade linux-image-7.0.0-1016-nvidia-64kUpgrade linux-image-raspiUpgrade linux-image-7.0.0-1009-aws-64kUpgrade linux-image-azureUpgrade linux-image-oracle-7.0Upgrade linux-image-7.0.0-1010-azureUpgrade linux-image-7.0.0-1011-gcp-64kUpgrade linux-image-ibm-7.0Upgrade linux-image-nvidia-bos-64k-7.0Upgrade linux-image-azure-fdeUpgrade linux-image-nvidia-bos-7.0Upgrade linux-image-gcp-64kUpgrade linux-image-nvidiaUpgrade linux-image-nvidia-7.0Upgrade linux-image-7.0.0-1011-gcpUpgrade linux-image-nvidia-64kUpgrade linux-image-nvidia-bosUpgrade linux-image-7.0.0-1010-ibmUpgrade linux-image-raspi-realtimeUpgrade linux-image-7.0.0-1016-nvidiaUpgrade linux-image-raspi-realtime-7.0Upgrade linux-image-7.0.0-1015-raspi-realtimeUpgrade linux-image-7.0.0-1008-oracleUpgrade linux-image-gcp-7.0Upgrade linux-image-7.0.0-1015-raspiUpgrade linux-image-aws-64kUpgrade linux-image-gcp-64k-7.0Upgrade linux-image-7.0.0-1014-azureUpgrade linux-image-7.0.0-1009-azure-fdeUpgrade linux-image-raspi-7.0Upgrade linux-image-oracle-64k-7.0Upgrade linux-image-oracleUpgrade linux-image-awsUpgrade linux-image-aws-7.0Upgrade linux-image-7.0.0-1008-oracle-64kUpgrade linux-image-azure-7.0 | Jul 21, 2026 | Jul 20, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub