CVE-2026-99742

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 ]

Package Linux Kernel
Published 2026-11-20
Last modified 2026-11-23
Patch available
Yes

Affected versions

Linux kernel versions 4.5 and later are affected. Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2 and their respective stable series.

Affected from
≥ 4.5
Fixed in
✓ 5.10.275 5.10.x ✓ 5.15.226 5.15.x ✓ 6.1.193 6.1.x ✓ 6.6.163 6.6.x ✓ 6.12.118 6.12.x ✓ 6.18.64 6.18.x ✓ 7.3.5 7.3.x ✓ 7.4-rc2

Frequently asked questions

  • What is CVE-2026-99742?

    CVE-2026-99742 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 4.5 onward and has been patched in 5.10.275, 5.15.226, 6.1.193 and others. CVE-2026-99742 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-99742?

    Yes. CVE-2026-99742 has been patched. Fixed versions include 5.10.275, 5.15.226, 6.1.193 and others. If you are running Linux kernel 4.5 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-99742 actively exploited?

    No. CVE-2026-99742 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.