net/sched: cls_route: fix fastmap use-after-free on filter
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 4 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.265, 5.15.216, 6.1.183, 6.6.152, 6.12.104, 6.18.45, 7.1.9, 7.2
Red Hat 2 advisories
- RHSA-2026:83157 Released 2026-10-14 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-553.174.1.el8_10, kernel-4.18.0-553.174.1.el8_10, kernel-abi-stablelists-4.18.0-553.174.1.el8_10 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-553.174.1.el8_10
- RHSA-2026:83159 Released 2026-10-14 · Red Hat rating Importantkernel-rt security, bug fix, and enhancement update
- Red Hat Enterprise Linux NFV (v. 8) kernel-rt-4.18.0-553.174.1.rt7.515.el8_10, kernel-rt-core-4.18.0-553.174.1.rt7.515.el8_10, kernel-rt-debug-4.18.0-553.174.1.rt7.515.el8_10 +9
- Red Hat Enterprise Linux RT (v. 8) kernel-rt-4.18.0-553.174.1.rt7.515.el8_10, kernel-rt-core-4.18.0-553.174.1.rt7.515.el8_10, kernel-rt-debug-4.18.0-553.174.1.rt7.515.el8_10 +7
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2026:83157 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2026:83157 |
| Red Hat Enterprise Linux NFV (v. 8) | Fixed | RHSA-2026:83159 |
| Red Hat Enterprise Linux RT (v. 8) | Fixed | RHSA-2026:83159 |
Not affected: 3 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2026-74583
- 2026-10-03 Alias added: GHSA-qm4p-6qr9-f3w6
- 2026-10-16 Fix available: RHSA-2026:83159 · Red Hat
- 2026-10-16 Fix available: RHSA-2026:83157 · Red Hat
- 2026-10-16 Fix available: Red Hat Enterprise Linux BaseOS (v. 8), Red Hat Enterprise Linux CRB (v. 8), Red Hat Enterprise Linux NFV (v. 8) +1 · Red Hat
- 2026-10-18 CISA SSVC decision points changed
References
Other 8
- https://git.kernel.org/stable/c/7897198b26445b4009a057bda1986b94a99e5d5f
- https://git.kernel.org/stable/c/820f083c294ad6d319c02a7d43294f2ed2565139
- https://git.kernel.org/stable/c/5ec9001be6d0eb527251125632ec8fe88278897f
- https://git.kernel.org/stable/c/b969984b2bdc85d721ce4047cd270cd37ec705a2
- https://git.kernel.org/stable/c/a17f636c9330eac879822ce29f998e5abd1b72c1
- https://git.kernel.org/stable/c/0e7a8cf8895b06d07c7311f028eba16ad742b9bc
- https://git.kernel.org/stable/c/ae9aff87025219005a2d16b4fe83d6f24643e50d
- https://git.kernel.org/stable/c/47d7f7051253bdc02b1d245d87e38f16d31a74df
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-74583 · CVE Program
- CVE-2026-74583 · NVD
- FIRST EPSS
- GHSA-qm4p-6qr9-f3w6 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-74583 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences