# CVE-2026-90099: net/sched: account classifier filter allocations to memcg

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-17T16:06:10.858Z
- **Modified:** 2026-10-30T13:20:41.400Z

## Who should check

- Anyone running Linux \>= 0da974f4f303a6842516b764507e3c0a03f41e5a, \< 8a622d5b4d81c1572f42bbf3fb823b6e63d44dae; \>= 0da974f4f303a6842516b764507e3c0a03f41e5a, \< 5fbb06d4f3d4c509ffe95572384a498bf319e5bf; \>= 0da974f4f303a6842516b764507e3c0a03f41e5a, \< bf6006cea193cf065f7a64fc7974247f8112af33; \>= 0da974f4f303a6842516b764507e3c0a03f41e5a, \< 68fb30607169c92de57c5c82b6af8a733af1cc09; \>= 0da974f4f303a6842516b764507e3c0a03f41e5a, \< 18c68c8f3d3ff0a4def1391021b439c4333a6c71; \>= 0da974f4f303a6842516b764507e3c0a03f41e5a, \< 1beb81947eb486716af80db7a584f9e9fef7e003
- Anyone running Linux 2.6.18

## 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.

## Affected and fixed versions

- Linux: \>= 0da974f4f303a6842516b764507e3c0a03f41e5a, \< 8a622d5b4d81c1572f42bbf3fb823b6e63d44dae; \>= 0da974f4f303a6842516b764507e3c0a03f41e5a, \< 5fbb06d4f3d4c509ffe95572384a498bf319e5bf; \>= 0da974f4f303a6842516b764507e3c0a03f41e5a, \< bf6006cea193cf065f7a64fc7974247f8112af33; \>= 0da974f4f303a6842516b764507e3c0a03f41e5a, \< 68fb30607169c92de57c5c82b6af8a733af1cc09; \>= 0da974f4f303a6842516b764507e3c0a03f41e5a, \< 18c68c8f3d3ff0a4def1391021b439c4333a6c71; \>= 0da974f4f303a6842516b764507e3c0a03f41e5a, \< 1beb81947eb486716af80db7a584f9e9fef7e003 (cvelist)
- Linux: 2.6.18 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-90099.md
Affected: Linux >= 0da974f4f303a6842516b764507e3c0a03f41e5a, < 8a622d5b4d81c1572f42bbf3fb823b6e63d44dae; >= 0da974f4f303a6842516b764507e3c0a03f41e5a, < 5fbb06d4f3d4c509ffe95572384a498bf319e5bf; >= 0da974f4f303a6842516b764507e3c0a03f41e5a, < bf6006cea193cf065f7a64fc7974247f8112af33; >= 0da974f4f303a6842516b76…
Fixed in: Linux 8a622d5b4d81c1572f42bbf3fb823b6e63d44dae, Linux 5fbb06d4f3d4c509ffe95572384a498bf319e5bf, Linux 68fb30607169c92de57c5c82b6af8a733af1cc09, Linux 18c68c8f3d3ff0a4def1391021b439c4333a6c71, Linux 1beb81947eb486716af80db7a584f9e9fef7e003

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 0da974f4f303a6842516b764507e3c0a03f41e5a, \< 8a622d5b4d81c1572f42bbf3fb823b6e63d44dae; \>= 0da974f4f303a6842516b764507e3c0a03f41e5a, \< 5fbb06d4f3d4c509ffe95572384a498bf319e5bf; \>= 0da974f4f303a6842516b764507e3c0a03f41e5a, \< bf6006cea193cf065f7a64fc7974247f8112af33; \>= 0da974f4f303a6842516b764507e3c0a03f41e5a, \< 68fb30607169c92de57c5c82b6af8a733af1cc09; \>= 0da974f4f303a6842516b764507e3c0a03f41e5a, \< 18c68c8f3d3ff0a4def1391021b439c4333a6c71; \>= 0da974f4f303a6842516b764507e3c0a03f41e5a, \< 1beb81947eb486716af80db7a584f9e9fef7e003; Linux 2.6.18.

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

Yes. Fixed in Linux 8a622d5b4d81c1572f42bbf3fb823b6e63d44dae, Linux 5fbb06d4f3d4c509ffe95572384a498bf319e5bf, Linux 68fb30607169c92de57c5c82b6af8a733af1cc09, Linux 18c68c8f3d3ff0a4def1391021b439c4333a6c71, Linux 1beb81947eb486716af80db7a584f9e9fef7e003. Upgrade Linux to 1beb81947eb486716af80db7a584f9e9fef7e003 or later.

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

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/8a622d5b4d81c1572f42bbf3fb823b6e63d44dae>
- other: <https://git.kernel.org/stable/c/5fbb06d4f3d4c509ffe95572384a498bf319e5bf>
- other: <https://git.kernel.org/stable/c/bf6006cea193cf065f7a64fc7974247f8112af33>
- other: <https://git.kernel.org/stable/c/68fb30607169c92de57c5c82b6af8a733af1cc09>
- other: <https://git.kernel.org/stable/c/18c68c8f3d3ff0a4def1391021b439c4333a6c71>
- other: <https://git.kernel.org/stable/c/1beb81947eb486716af80db7a584f9e9fef7e003>

## 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-90099>

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