DEBIAN-CVE-2026-99742
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-12-02
- Product
- Debian:13 linux
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 implie
Fixed in
6.12.118-1 · 6.12.118-1~deb12u1 · 7.3.5-1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Debian:12 | linux-6.12 | >=0, <6.12.118-1~deb12u1 | 6.12.118-1~deb12u1 |
| Debian:13 | linux | >=0, <6.12.118-1 | 6.12.118-1 |
| Debian:14 | linux | >=0, <7.3.5-1 | 7.3.5-1 |
Sources
- OSV · first seen 13d ago · CC-BY 4.0