CVE-2026-74583
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perf | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| kernel-debug-debuginfo | errata.rockylinux.org | 4.18.0-553.174.1.el8 |
| kernel-debug-modules-extra | errata.rockylinux.org | 4.18.0-553.174.1.el8 |
| kernel-debuginfo | errata.rockylinux.org | 4.18.0-553.174.1.el8 |
| kernel-modules | errata.rockylinux.org | 4.18.0-553.174.1.el8 |
| kernel6.18 | Amazon Linux | 1:6.18.48-107.148.amzn2023 |
| kernel-rt-devel | errata.rockylinux.org | 4.18.0-553.174.1.rt7.515.el8 |
| bpftool | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| kernel-tools-debuginfo | errata.rockylinux.org | 4.18.0-553.174.1.el8 |
| kernel-tools-libs | errata.rockylinux.org | 4.18.0-553.174.1.el8 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
24 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1109c00547fc66df45b9ff923544be4c1e1bec13, 1109c00547fc66df45b9ff923544be4c1e1bec13, 1109c00547fc66df45b9ff923544be4c1e1bec13 |
| Linux | Linux | 3.18, 0, 5.10.265 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.186-228.374 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel | 0 |
| linux | linux_kernel | 3.18, 3.18, 3.18 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
…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