# CVE-2026-99742: mm/mempolicy: charge shared policy nodes

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.18% (percentile 4, 2026-11-28)
- **Published:** 2026-11-20T05:51:14.462Z
- **Modified:** 2026-11-23T08:18:14.510Z

## Who should check

- Anyone running Linux \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 6b2e45efaaf4bca9cf8a6a7b908b0f6a53b95729; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 310236e5a186f096b3c440632b9e96dd5ec05857; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 817af14f870d905d2aa3086b2b4d7fab1e447446; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 580e7e86e13092e381aec566ae16fd65c78d59fd; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< d500c37437cce47e492c561757ece2596e21446a; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 40e340bab4d07958b2077c16650c3da5c76d5820; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 0109fa404651e20493ca35a9a7d4f87861148064; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 68b2aa37afa390f08de13bc0bac61a9ded3318bc
- Anyone running Linux 4.5

## Description

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

mm/mempolicy: charge shared policy nodes

Any local user can bypass memory.max with mbind() on a tmpfs file, and
allocate unbounded kernel memory.

mbind() sets a NUMA memory policy for a range of a mapping. If the
mapping is of a shmem and friends, the kernel also stores the policy on
the inode, in a tree with one entry per range of the file.

Each mbind() on a single page of a mapping can add one shared policy node
(struct sp\_node) and one struct mempolicy to that tree. They outlive the
mapping and stay around until the inode is destroyed. The tree is not
bounded by the file size, so the file can be empty.

Memory that user space can allocate must be charged to a memory cgroup. A
slab cache does that for all of its objects if it is created with
SLAB\_ACCOUNT. numa\_policy\_init() creates the slab caches for both
structs without SLAB\_ACCOUNT, so they are not charged to any cgroup.

Reproduced with mbind() on single pages of an empty tmpfs file, from a
cgroup with memory.max=8M: the global OOM killer killed tasks owned by
root, and the machine panicked.

Fix this by creating both caches with SLAB\_ACCOUNT. This change implies
that mbind() can now fail when running into memcg limits. Further,
the policy\_cache also serves task and VMA policies, so they are
similarly accounted now.

Note that per-file limits are not really helpful, as the user could
simply use many files; having limits per user is tricky as well.

Fix generated by an LLM and submitted by Chris Mason in private.

\[ david: smaller description tweaks \]

## Affected and fixed versions

- Linux: \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 6b2e45efaaf4bca9cf8a6a7b908b0f6a53b95729; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 310236e5a186f096b3c440632b9e96dd5ec05857; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 817af14f870d905d2aa3086b2b4d7fab1e447446; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 580e7e86e13092e381aec566ae16fd65c78d59fd; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< d500c37437cce47e492c561757ece2596e21446a; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 40e340bab4d07958b2077c16650c3da5c76d5820; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 0109fa404651e20493ca35a9a7d4f87861148064; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 68b2aa37afa390f08de13bc0bac61a9ded3318bc (cvelist)
- Linux: 4.5 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 68b2aa37afa390f08de13bc0bac61a9ded3318bc 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-99742. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99742.md
Affected: Linux >= 5d097056c9a017a3b720849efb5432f37acabbac, < 6b2e45efaaf4bca9cf8a6a7b908b0f6a53b95729; >= 5d097056c9a017a3b720849efb5432f37acabbac, < 310236e5a186f096b3c440632b9e96dd5ec05857; >= 5d097056c9a017a3b720849efb5432f37acabbac, < 817af14f870d905d2aa3086b2b4d7fab1e447446; >= 5d097056c9a017a3b720849…
Fixed in: Linux 6b2e45efaaf4bca9cf8a6a7b908b0f6a53b95729, Linux 310236e5a186f096b3c440632b9e96dd5ec05857, Linux 817af14f870d905d2aa3086b2b4d7fab1e447446, Linux 580e7e86e13092e381aec566ae16fd65c78d59fd, Linux 40e340bab4d07958b2077c16650c3da5c76d5820, Linux 0109fa404651e20493ca35a9a7d4f87861148064, Linux 68b2a…

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 6b2e45efaaf4bca9cf8a6a7b908b0f6a53b95729; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 310236e5a186f096b3c440632b9e96dd5ec05857; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 817af14f870d905d2aa3086b2b4d7fab1e447446; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 580e7e86e13092e381aec566ae16fd65c78d59fd; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< d500c37437cce47e492c561757ece2596e21446a; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 40e340bab4d07958b2077c16650c3da5c76d5820; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 0109fa404651e20493ca35a9a7d4f87861148064; \>= 5d097056c9a017a3b720849efb5432f37acabbac, \< 68b2aa37afa390f08de13bc0bac61a9ded3318bc; Linux 4.5.

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

Yes. Fixed in Linux 6b2e45efaaf4bca9cf8a6a7b908b0f6a53b95729, Linux 310236e5a186f096b3c440632b9e96dd5ec05857, Linux 817af14f870d905d2aa3086b2b4d7fab1e447446, Linux 580e7e86e13092e381aec566ae16fd65c78d59fd, Linux 40e340bab4d07958b2077c16650c3da5c76d5820, Linux 0109fa404651e20493ca35a9a7d4f87861148064, Linux 68b2aa37afa390f08de13bc0bac61a9ded3318bc. Upgrade Linux to 68b2aa37afa390f08de13bc0bac61a9ded3318bc or later.

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

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/6b2e45efaaf4bca9cf8a6a7b908b0f6a53b95729>
- other: <https://git.kernel.org/stable/c/310236e5a186f096b3c440632b9e96dd5ec05857>
- other: <https://git.kernel.org/stable/c/817af14f870d905d2aa3086b2b4d7fab1e447446>
- other: <https://git.kernel.org/stable/c/580e7e86e13092e381aec566ae16fd65c78d59fd>
- other: <https://git.kernel.org/stable/c/d500c37437cce47e492c561757ece2596e21446a>
- other: <https://git.kernel.org/stable/c/40e340bab4d07958b2077c16650c3da5c76d5820>
- other: <https://git.kernel.org/stable/c/0109fa404651e20493ca35a9a7d4f87861148064>
- other: <https://git.kernel.org/stable/c/68b2aa37afa390f08de13bc0bac61a9ded3318bc>

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

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