# CVE-2026-99700: mm/hugetlb\_vmemmap: map the shared tail page writable

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-28)
- **Published:** 2026-11-20T05:50:42.601Z
- **Modified:** 2026-11-20T06:18:05.563Z

## Who should check

- Anyone running Linux \>= dba93b8cceb0048071389352fc29dcb0a7fe666f, \< f96a68bab26183433ea542dfb29ec41125f9fe39; \>= 32c440d67e6cd96a715007d0e62eb970b0c49abc, \< e570f2c29fc07a1040c3736bf1a1dfa8065d5099; \>= 32c440d67e6cd96a715007d0e62eb970b0c49abc, \< 0120a603afadba8ab4954bb1ce60f8195f80efc8; \>= 6.18.51, \< 6.18.64
- Anyone running Linux 7.1

## Description

In the Linux kernel, the following vulnerability has been resolved:

mm/hugetlb\_vmemmap: map the shared tail page writable

page\_ref\_add\_unless\_zero() reads the refcount and then updates it with a
cmpxchg.  A lockless get, such as a page cache lookup or a PFN scanner,
can read a non-zero refcount from a page that is then freed and reused as
a hugetlb tail page.  If HVO remaps its struct page to the shared tail
page in between, the cmpxchg writes to read-only vmemmap:

    CPU0 (lockless get)               CPU1
    c = atomic\_read(&page-\>\_refcount)
                                      page freed
                                      page allocated as a hugetlb tail
                                      HVO remaps the struct page RO
    try\_cmpxchg(&page-\>\_refcount, &c, c + 1)
      -\> write fault on read-only vmemmap

The refcount is zero by then and the compare fails, but a compare-and-swap
instruction needs write access whether or not it succeeds.  The kernel
oopses when hugetlb pages are allocated at runtime with HVO enabled while
a lockless get races with it.

Commit bd225530a4c7 ("mm/hugetlb\_vmemmap: fix race with speculative PFN
walkers") closed the window with RCU on both sides.  The RCU was removed
together with fake heads, on the wrong belief that it was only needed for
them.

Map the shared tail page writable instead of restoring the RCU.  Every
struct page on it is a tail with a zero refcount, so a late cmpxchg
fails and leaves the page unchanged.  RCU would put rcu\_read\_lock()
back around every get and synchronize\_rcu() back into hugetlb
allocation and freeing.

The cost is the protection against stray writes to tail struct pages.  The
shared page is shared by all hugetlb folios of the same order in the zone,
so such a write now corrupts all of them instead of oopsing.

Bootmem folios optimized when the memmap is set up keep their tails
read-only.  Nothing does a lockless get on them before hugetlb takes them
over.

## Affected and fixed versions

- Linux: \>= dba93b8cceb0048071389352fc29dcb0a7fe666f, \< f96a68bab26183433ea542dfb29ec41125f9fe39; \>= 32c440d67e6cd96a715007d0e62eb970b0c49abc, \< e570f2c29fc07a1040c3736bf1a1dfa8065d5099; \>= 32c440d67e6cd96a715007d0e62eb970b0c49abc, \< 0120a603afadba8ab4954bb1ce60f8195f80efc8; \>= 6.18.51, \< 6.18.64 (cvelist)
- Linux: 7.1 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 6.18.64 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-99700.md
Affected: Linux >= dba93b8cceb0048071389352fc29dcb0a7fe666f, < f96a68bab26183433ea542dfb29ec41125f9fe39; >= 32c440d67e6cd96a715007d0e62eb970b0c49abc, < e570f2c29fc07a1040c3736bf1a1dfa8065d5099; >= 32c440d67e6cd96a715007d0e62eb970b0c49abc, < 0120a603afadba8ab4954bb1ce60f8195f80efc8; >= 6.18.51, < 6.18.64; Lin…
Fixed in: Linux 0120a603afadba8ab4954bb1ce60f8195f80efc8, Linux 6.18.64

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-99700 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= dba93b8cceb0048071389352fc29dcb0a7fe666f, \< f96a68bab26183433ea542dfb29ec41125f9fe39; \>= 32c440d67e6cd96a715007d0e62eb970b0c49abc, \< e570f2c29fc07a1040c3736bf1a1dfa8065d5099; \>= 32c440d67e6cd96a715007d0e62eb970b0c49abc, \< 0120a603afadba8ab4954bb1ce60f8195f80efc8; \>= 6.18.51, \< 6.18.64; Linux 7.1.

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

Yes. Fixed in Linux 0120a603afadba8ab4954bb1ce60f8195f80efc8, Linux 6.18.64. Upgrade Linux to 6.18.64 or later.

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

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

- other: <https://git.kernel.org/stable/c/f96a68bab26183433ea542dfb29ec41125f9fe39>
- other: <https://git.kernel.org/stable/c/e570f2c29fc07a1040c3736bf1a1dfa8065d5099>
- other: <https://git.kernel.org/stable/c/0120a603afadba8ab4954bb1ce60f8195f80efc8>

## 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-99700>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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