# CVE-2026-97959: net/sched: cls\_route: free emptied bucket on filter move

> 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.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-25T10:23:04.348Z
- **Modified:** 2026-10-19T10:17:47.253Z

## Who should check

- Anyone running Linux \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< 9e7741b41a25b9d49df4d262fa314342e6f95c50; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< 48d38bf8c22a05fde07ba1f885cde27b851649a2; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< cc99d26b12431e4e4d0e346ec32764eb42c0aed9; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< 41e94079200aaf0cdbe4594b0af75710b33da124; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< 2e2f130951d34871b0643bf700164d97cff4b427; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< f8495d67434e1cb7e511297687ca55fdb28e4c20; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< 81dd117c04422c6d0c7974aba9fa6a0ba370959b; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< 1853f30cf5c84971f99788a76207c6f745380896
- Anyone running Linux 4.1

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/sched: cls\_route: free emptied bucket on filter move

route4\_change can move an existing filter to a different top-level
bucket: route4\_set\_parms recomputes the handle from TCA\_ROUTE4\_TO/
FROM/IIF, and the handle-mismatch check is gated on the 'new' flag, so
for an existing filter the new handle may differ from the old one and
land in a different bucket. When this happens, the filter is unlinked
from the old bucket, but the bucket itself is never freed once it goes
empty. The stale empty bucket remains in head-\>table\[\], causing
route4\_delete to report \*last=false even after the last live filter is
gone. That pins the empty tcf\_proto and causes a leak.

Fix this by refcounting the filters linked to a bucket and freeing the
bucket when the count drops to zero. The existing scan in route4\_delete
goes away with it.

The count is updated at all sites that link or unlink a filter during add,
change and delete, and the bucket is dropped from head-\>table\[\] as soon as
it reaches zero.

Conditions to recreate the bug:
  CONFIG\_NET\_CLS\_ROUTE4=y, CONFIG\_NET\_SCH\_INGRESS=y, CONFIG\_NET\_CLS\_ACT=y.

  tc qdisc replace dev lo clsact
  tc filter add dev lo ingress protocol ip pref 100 route from 1 to 1
  tc filter change dev lo ingress protocol ip pref 100 handle 0x10001 \\
    route from 1 to 2
  tc filter del dev lo ingress protocol ip pref 100 handle 0x10002 \\
    route from 1 to 2
  tc filter show dev lo ingress \| grep -c 'pref 100 route chain 0 '

## Affected and fixed versions

- Linux: \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< 9e7741b41a25b9d49df4d262fa314342e6f95c50; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< 48d38bf8c22a05fde07ba1f885cde27b851649a2; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< cc99d26b12431e4e4d0e346ec32764eb42c0aed9; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< 41e94079200aaf0cdbe4594b0af75710b33da124; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< 2e2f130951d34871b0643bf700164d97cff4b427; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< f8495d67434e1cb7e511297687ca55fdb28e4c20; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< 81dd117c04422c6d0c7974aba9fa6a0ba370959b; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< 1853f30cf5c84971f99788a76207c6f745380896 (cvelist)
- Linux: 4.1 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-97959.md
Affected: Linux >= 1e052be69d045c8d0f82ff1116fd3e5a79661745, < 9e7741b41a25b9d49df4d262fa314342e6f95c50; >= 1e052be69d045c8d0f82ff1116fd3e5a79661745, < 48d38bf8c22a05fde07ba1f885cde27b851649a2; >= 1e052be69d045c8d0f82ff1116fd3e5a79661745, < cc99d26b12431e4e4d0e346ec32764eb42c0aed9; >= 1e052be69d045c8d0f82ff1…
Fixed in: Linux 9e7741b41a25b9d49df4d262fa314342e6f95c50, Linux 48d38bf8c22a05fde07ba1f885cde27b851649a2, Linux 41e94079200aaf0cdbe4594b0af75710b33da124, Linux 2e2f130951d34871b0643bf700164d97cff4b427, Linux 81dd117c04422c6d0c7974aba9fa6a0ba370959b, Linux 1853f30cf5c84971f99788a76207c6f745380896

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< 9e7741b41a25b9d49df4d262fa314342e6f95c50; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< 48d38bf8c22a05fde07ba1f885cde27b851649a2; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< cc99d26b12431e4e4d0e346ec32764eb42c0aed9; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< 41e94079200aaf0cdbe4594b0af75710b33da124; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< 2e2f130951d34871b0643bf700164d97cff4b427; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< f8495d67434e1cb7e511297687ca55fdb28e4c20; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< 81dd117c04422c6d0c7974aba9fa6a0ba370959b; \>= 1e052be69d045c8d0f82ff1116fd3e5a79661745, \< 1853f30cf5c84971f99788a76207c6f745380896; Linux 4.1.

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

Yes. Fixed in Linux 9e7741b41a25b9d49df4d262fa314342e6f95c50, Linux 48d38bf8c22a05fde07ba1f885cde27b851649a2, Linux 41e94079200aaf0cdbe4594b0af75710b33da124, Linux 2e2f130951d34871b0643bf700164d97cff4b427, Linux 81dd117c04422c6d0c7974aba9fa6a0ba370959b, Linux 1853f30cf5c84971f99788a76207c6f745380896. Upgrade Linux to 1853f30cf5c84971f99788a76207c6f745380896 or later.

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

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/9e7741b41a25b9d49df4d262fa314342e6f95c50>
- other: <https://git.kernel.org/stable/c/48d38bf8c22a05fde07ba1f885cde27b851649a2>
- other: <https://git.kernel.org/stable/c/cc99d26b12431e4e4d0e346ec32764eb42c0aed9>
- other: <https://git.kernel.org/stable/c/41e94079200aaf0cdbe4594b0af75710b33da124>
- other: <https://git.kernel.org/stable/c/2e2f130951d34871b0643bf700164d97cff4b427>
- other: <https://git.kernel.org/stable/c/f8495d67434e1cb7e511297687ca55fdb28e4c20>
- other: <https://git.kernel.org/stable/c/81dd117c04422c6d0c7974aba9fa6a0ba370959b>
- other: <https://git.kernel.org/stable/c/1853f30cf5c84971f99788a76207c6f745380896>

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

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