CVE-2026-74583

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

7.8 high EPSS 0.18%

Published 21 Aug 2026 Updated 16 Oct 2026 CNA: Linux

Check your servers for CVE-2026-74583

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-74583 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.56% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1109c00547fc66df45b9ff923544be4c1e1bec13, before 7897198b26445b4009a057bda1986b94a99e5d5f
affected from 1109c00547fc66df45b9ff923544be4c1e1bec13, before 820f083c294ad6d319c02a7d43294f2ed2565139
affected from 1109c00547fc66df45b9ff923544be4c1e1bec13, before 5ec9001be6d0eb527251125632ec8fe88278897f
affected from 1109c00547fc66df45b9ff923544be4c1e1bec13, before b969984b2bdc85d721ce4047cd270cd37ec705a2
affected from 1109c00547fc66df45b9ff923544be4c1e1bec13, before a17f636c9330eac879822ce29f998e5abd1b72c1
affected from 1109c00547fc66df45b9ff923544be4c1e1bec13, before 0e7a8cf8895b06d07c7311f028eba16ad742b9bc
affected from 1109c00547fc66df45b9ff923544be4c1e1bec13, before ae9aff87025219005a2d16b4fe83d6f24643e50d
affected from 1109c00547fc66df45b9ff923544be4c1e1bec13, before 47d7f7051253bdc02b1d245d87e38f16d31a74df
Other versions: unaffected
Linux
affected 3.18
unaffected before 3.18
unaffected from 5.10.265 up to and including 5.10.*
unaffected from 5.15.216 up to and including 5.15.*
unaffected from 6.1.183 up to and including 6.1.*
unaffected from 6.6.152 up to and including 6.6.*
unaffected from 6.12.104 up to and including 6.12.*
unaffected from 6.18.45 up to and including 6.18.*
unaffected from 7.1.9 up to and including 7.1.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-74583 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74583

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-74583
trivy image --scanners vuln IMAGE | grep CVE-2026-74583

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-74583 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.