# CVE-2026-64181: mm: fix \_\_vm\_normal\_page() to handle missing support for pmd\_special()/pud\_special()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-07-19T15:41:04.455Z
- **Modified:** 2026-08-11T20:07:31.217Z

## Who should check

- Anyone running Linux \>= af38538801c6a97565b44700ee6695d7d60ad779, \< 62153767e8fc3889bc6508e9ffe927aaf64c4334; \>= af38538801c6a97565b44700ee6695d7d60ad779, \< 9052ea2ee2233be5d4786b8909151ca2bfbedf99; \>= af38538801c6a97565b44700ee6695d7d60ad779, \< c0c6ccd9828c3a1950623b546fa57292a77b5c73
- Anyone running Linux 6.18

## Description

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.

## Affected and fixed versions

- Linux: \>= af38538801c6a97565b44700ee6695d7d60ad779, \< 62153767e8fc3889bc6508e9ffe927aaf64c4334; \>= af38538801c6a97565b44700ee6695d7d60ad779, \< 9052ea2ee2233be5d4786b8909151ca2bfbedf99; \>= af38538801c6a97565b44700ee6695d7d60ad779, \< c0c6ccd9828c3a1950623b546fa57292a77b5c73 (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64181. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64181.md
Affected: Linux >= af38538801c6a97565b44700ee6695d7d60ad779, < 62153767e8fc3889bc6508e9ffe927aaf64c4334; >= af38538801c6a97565b44700ee6695d7d60ad779, < 9052ea2ee2233be5d4786b8909151ca2bfbedf99; >= af38538801c6a97565b44700ee6695d7d60ad779, < c0c6ccd9828c3a1950623b546fa57292a77b5c73; Linux 6.18
Fixed in: Linux 62153767e8fc3889bc6508e9ffe927aaf64c4334, Linux 9052ea2ee2233be5d4786b8909151ca2bfbedf99

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64181 being exploited?

There is no confirmed exploitation: CVE-2026-64181 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64181?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64181?

Linux \>= af38538801c6a97565b44700ee6695d7d60ad779, \< 62153767e8fc3889bc6508e9ffe927aaf64c4334; \>= af38538801c6a97565b44700ee6695d7d60ad779, \< 9052ea2ee2233be5d4786b8909151ca2bfbedf99; \>= af38538801c6a97565b44700ee6695d7d60ad779, \< c0c6ccd9828c3a1950623b546fa57292a77b5c73; Linux 6.18.

### Is there a fix for CVE-2026-64181?

Yes. Fixed in Linux 62153767e8fc3889bc6508e9ffe927aaf64c4334, Linux 9052ea2ee2233be5d4786b8909151ca2bfbedf99. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-64181?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/62153767e8fc3889bc6508e9ffe927aaf64c4334>
- patch: <https://git.kernel.org/stable/c/9052ea2ee2233be5d4786b8909151ca2bfbedf99>
- patch: <https://git.kernel.org/stable/c/c0c6ccd9828c3a1950623b546fa57292a77b5c73>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64181>

HTML: <https://flawdb.com/CVE-2026-64181> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64181>
