VDB

CVE-2026-90099

CVE-2026-90099 PUBLISHED

net/sched: account classifier filter allocations to memcg

Reported by linux · Published September 17, 2026

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.

EPSS 0.22% · 11.9th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-develAmazon Linux1:6.12.114-139.210.amzn2023
LinuxLinuxbf6006cea193cf065f7a64fc7974247f8112af33, 68fb30607169c92de57c5c82b6af8a733af1cc09, 5fbb06d4f3d4c509ffe95572384a498bf319e5bf, 1beb81947eb486716af80db7a584f9e9fef7e003, 18c68c8f3d3ff0a4def1391021b439c4333a6c71

Risk scores

EPSS Score
0.22%
11.9th percentile

Affected products

VendorProductVersions
LinuxLinux0da974f4f303a6842516b764507e3c0a03f41e5a, 0da974f4f303a6842516b764507e3c0a03f41e5a, 0da974f4f303a6842516b764507e3c0a03f41e5a
LinuxLinux2.6.18, 0, 6.1.191
amazon:2023kernel6.12-devel0
LinuxLinux7.3, 7.2.6, 6.18.57
amazon:2023kernel6.12-headers0
amazon:2023kernel6.120
amazon:2023bpftool6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-tools-devel0
amazon:2023python3-perf6.120
amazon:2023kernel6.12-modules-extra-common0
linuxlinux_kernel2.6.18, 2.6.18, 2.6.18
amazon:2023kernel6.12-tools0
amazon:2023kernel-livepatch-6.12.114-139.2100
amazon:2023perf6.120

Timeline

  • Sep 17, 2026 CVE Published
  • Sep 18, 2026 EPSS Score (14 in total, the first dated here)
  • Sep 18, 2026 Coalition ESS Score
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-90099
vulnetix vdb fixes CVE-2026-90099

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-90099/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›