CVE-2026-90099
net/sched: account classifier filter allocations to memcg
Check your servers for CVE-2026-90099
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-90099 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
net/sched: account classifier filter allocations to memcg
Allocations in the tc classifier *_change() paths (filter objects, per-CPU counters, and per-filter aux data) use plain GFP_KERNEL without __GFP_ACCOUNT, allowing unprivileged users to pin kernel memory outside memcg charging. The shared tcf_exts_init_ex() action array allocation in cls_api.c was also uncharged; this patch closes it along with the per-classifier filter-object/percpu/aux allocations that remain unaccounted.
Add GFP_KERNEL_ACCOUNT to: - the shared tcf_exts_init_ex() action array (cls_api.c), common to every filter of every classifier (32 pointers, 256 bytes); - the filter-object, per-CPU-counter, and per-filter aux allocations in cls_basic, cls_bpf, cls_cgroup, cls_flow, cls_flower, cls_fw, cls_matchall, cls_route and cls_u32; - the u32_init_knode() replace-path knode allocation (cls_u32.c), which allocates the same struct tc_u_knode + sel.keys on every replace of an existing knode and was missed by the create-path-only conversion.
Also fix the cls_basic error path: basic_change() inserts fnew into the IDR before allocating the per-CPU counter. If alloc_percpu() fails the errout path kfree'd fnew without idr_remove, leaving a dangling pointer in the IDR. With GFP_KERNEL_ACCOUNT the percpu alloc becomes failable on demand (memcg at memory.max), making the dead path attacker-reachable and burning the handle permanently. Add the idr_remove on the percpu failure path, matching the basic_set_parms failure-path pattern.
Note: vega@nebusec.ai provided a poc for basic_cls, but it was easy to extend to the other classifiers.
Conditions to recreate the bug: - CONFIG_NET_SCHED, CONFIG_NET_CLS_* (the classifier being used), CONFIG_NET_CLS_ACT, CONFIG_MEMCG, CONFIG_USER_NS, CONFIG_NET_NS. - Unprivileged user in a fresh user+network namespace (unshare -Urn), or root with CAP_NET_ADMIN. - Create a large number of tc filters (e.g. tc filter add dev lo ingress ... <classifier> ...) while watching a memcg-limited cgroup: system slab grows far faster than memory.current, pinning kernel memory outside memcg charging.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.88% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 0da974f4f303a6842516b764507e3c0a03f41e5a, before 8a622d5b4d81c1572f42bbf3fb823b6e63d44dae affected from 0da974f4f303a6842516b764507e3c0a03f41e5a, before 5fbb06d4f3d4c509ffe95572384a498bf319e5bf affected from 0da974f4f303a6842516b764507e3c0a03f41e5a, before bf6006cea193cf065f7a64fc7974247f8112af33 affected from 0da974f4f303a6842516b764507e3c0a03f41e5a, before 68fb30607169c92de57c5c82b6af8a733af1cc09 affected from 0da974f4f303a6842516b764507e3c0a03f41e5a, before 18c68c8f3d3ff0a4def1391021b439c4333a6c71 affected from 0da974f4f303a6842516b764507e3c0a03f41e5a, before 1beb81947eb486716af80db7a584f9e9fef7e003
Other versions: unaffected
|
| Linux |
affected 2.6.18 unaffected before 2.6.18 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.114 up to and including 6.12.* unaffected from 6.18.57 up to and including 6.18.* unaffected from 7.2.6 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-90099 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-90099
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-90099
trivy image --scanners vuln IMAGE | grep CVE-2026-90099
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/8a622d5b4d81c1572f42bbf3fb823b6e63d44dae git.kernel.org
- https://git.kernel.org/stable/c/5fbb06d4f3d4c509ffe95572384a498bf319e5bf git.kernel.org
- https://git.kernel.org/stable/c/bf6006cea193cf065f7a64fc7974247f8112af33 git.kernel.org
- https://git.kernel.org/stable/c/68fb30607169c92de57c5c82b6af8a733af1cc09 git.kernel.org
- https://git.kernel.org/stable/c/18c68c8f3d3ff0a4def1391021b439c4333a6c71 git.kernel.org
- https://git.kernel.org/stable/c/1beb81947eb486716af80db7a584f9e9fef7e003 git.kernel.org
Source: the record CVE-2026-90099 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse