VDB

CVE-2026-74583

CVE-2026-74583 PUBLISHED CVSS 7.8 HIGH

net/sched: cls_route: fix fastmap use-after-free on filter

Reported by linux · Published August 21, 2026

In the Linux kernel, the following vulnerability has been resolved: net/sched: cls_route: fix fastmap use-after-free on filter The route4 classifier maintains a 16-slot fastmap cache that stores raw struct route4_filter pointers indexed by (id, iif). The reader (route4_classify) populates this cache via route4_set_fastmap() for every classified packet that hits a filter. The writer (route4_delete, route4_change) clears the cache via route4_reset_fastmap() before RCU-deferred kfree of the filter. This creates a UAF race: 1. Reader walks the RCU-protected bucket chain, finds filter f 2. Writer unlinks f, calls route4_reset_fastmap(), then tcf_queue_work() 3. Reader calls route4_set_fastmap() and writes f into the cache *after* the writer's reset, caching a pointer about to be freed 4. After the RCU grace period, kfree(f) executes 5. Next classified packet on the same (id, iif) tuple hits the stale fastmap entry and reads f->res from freed memory Reproduced with an mdelay(100) accelerator in route4_set_fastmap() and a concurrent add/delete stress test (provided by both zdi and Santosh). Both triggered KASAN slab-use-after-free reports in the route4 fastmap paths. Fix: Introduce a per-filter boolean dying flag to suppress stale fastmap republishing by in-flight readers.

Fixed versions

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

PackageEcosystemFixed in
perfAmazon Linux1:6.1.186-228.374.amzn2023
kernel-debug-debuginfoerrata.rockylinux.org4.18.0-553.174.1.el8
kernel-debug-modules-extraerrata.rockylinux.org4.18.0-553.174.1.el8
kernel-debuginfoerrata.rockylinux.org4.18.0-553.174.1.el8
kernel-moduleserrata.rockylinux.org4.18.0-553.174.1.el8
kernel6.18Amazon Linux1:6.18.48-107.148.amzn2023
kernel-rt-develerrata.rockylinux.org4.18.0-553.174.1.rt7.515.el8
bpftoolAmazon Linux1:6.1.186-228.374.amzn2023
kernel-tools-debuginfoerrata.rockylinux.org4.18.0-553.174.1.el8
kernel-tools-libserrata.rockylinux.org4.18.0-553.174.1.el8
kernel6.12-tools-develAmazon Linux1:6.12.110-135.201.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.186-228.374.amzn2023

24 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux1109c00547fc66df45b9ff923544be4c1e1bec13, 1109c00547fc66df45b9ff923544be4c1e1bec13, 1109c00547fc66df45b9ff923544be4c1e1bec13
LinuxLinux3.18, 0, 5.10.265
amazon:2023perf0
amazon:2023kernel6.180
amazon:2023bpftool0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-modules-extra0
amazon:2023kernel-tools-devel0
amazon:2023kernel-livepatch-6.1.186-228.3740
amazon:2023bpftool6.120
amazon:2023kernel6.18-devel0
amazon:2023kernel6.120
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel0
linuxlinux_kernel3.18, 3.18, 3.18
amazon:2023kernel6.12-modules-extra0
amazon:2023python3-perf6.180
amazon:2023kernel6.18-tools-devel0

…and 18 more

Timeline

  • Aug 21, 2026 CVE Published
  • Aug 22, 2026 Coalition ESS Score
  • Aug 24, 2026 EPSS Score (7 in total, the first dated here)
  • Sep 3, 2026 Security Advisory (3 in total, the first dated here)
  • Oct 15, 2026 Distribution Patch (4 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-74583
vulnetix vdb fixes CVE-2026-74583

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