VDB

CVE-2026-97959

CVE-2026-97959 PUBLISHED

net/sched: cls_route: free emptied bucket on filter move

Reported by linux · Published September 25, 2026

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 '

EPSS 0.18% · 7.3th percentile

Fixed versions

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

PackageEcosystemFixed in
kernel-tools-develAmazon Linux1:6.1.189-236.399.amzn2023
kernel6.12-headersAmazon Linux1:6.12.111-136.204.amzn2023
LinuxLinux4.1

Risk scores

EPSS Score
0.18%
7.3th percentile

Affected products

VendorProductVersions
LinuxLinux1e052be69d045c8d0f82ff1116fd3e5a79661745, 1e052be69d045c8d0f82ff1116fd3e5a79661745, 1e052be69d045c8d0f82ff1116fd3e5a79661745
LinuxLinux4.1, 0, 5.10.271
amazon:2023kernel-tools-devel0
amazon:2023kernel6.12-headers0
LinuxLinux kernel
LinuxLinux1e052be69d045c8d0f82ff1116fd3e5a79661745, 7.3, 6.6.158
amazon:2023kernel-modules-extra0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.180
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023bpftool6.180
amazon:2023kernel-devel0
amazon:2023kernel-headers0
amazon:2023kernel6.18-modules-extra0
amazon:2023bpftool6.120
amazon:2023kernel6.18-tools0
amazon:2023kernel-tools0

…and 20 more

Timeline

  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (8 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-97959
vulnetix vdb fixes CVE-2026-97959

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-97959/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 ›