# CVE-2026-74583: net/sched: cls\_route: fix fastmap use-after-free on filter

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-08-21T16:31:55.886Z
- **Modified:** 2026-10-16T20:17:40.370Z

## Who should check

- Anyone running Linux \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< 7897198b26445b4009a057bda1986b94a99e5d5f; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< 820f083c294ad6d319c02a7d43294f2ed2565139; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< 5ec9001be6d0eb527251125632ec8fe88278897f; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< b969984b2bdc85d721ce4047cd270cd37ec705a2; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< a17f636c9330eac879822ce29f998e5abd1b72c1; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< 0e7a8cf8895b06d07c7311f028eba16ad742b9bc; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< ae9aff87025219005a2d16b4fe83d6f24643e50d; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< 47d7f7051253bdc02b1d245d87e38f16d31a74df
- Anyone running Linux 3.18

## 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.

## Affected and fixed versions

- Linux: \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< 7897198b26445b4009a057bda1986b94a99e5d5f; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< 820f083c294ad6d319c02a7d43294f2ed2565139; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< 5ec9001be6d0eb527251125632ec8fe88278897f; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< b969984b2bdc85d721ce4047cd270cd37ec705a2; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< a17f636c9330eac879822ce29f998e5abd1b72c1; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< 0e7a8cf8895b06d07c7311f028eba16ad742b9bc; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< ae9aff87025219005a2d16b4fe83d6f24643e50d; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< 47d7f7051253bdc02b1d245d87e38f16d31a74df (cvelist)
- Linux: 3.18 (cvelist)

## Mitigation

- Upgrade Linux to 47d7f7051253bdc02b1d245d87e38f16d31a74df or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74583. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74583.md
Affected: Linux >= 1109c00547fc66df45b9ff923544be4c1e1bec13, < 7897198b26445b4009a057bda1986b94a99e5d5f; >= 1109c00547fc66df45b9ff923544be4c1e1bec13, < 820f083c294ad6d319c02a7d43294f2ed2565139; >= 1109c00547fc66df45b9ff923544be4c1e1bec13, < 5ec9001be6d0eb527251125632ec8fe88278897f; >= 1109c00547fc66df45b9ff9…
Fixed in: Linux 7897198b26445b4009a057bda1986b94a99e5d5f, Linux 820f083c294ad6d319c02a7d43294f2ed2565139, Linux 5ec9001be6d0eb527251125632ec8fe88278897f, Linux 0e7a8cf8895b06d07c7311f028eba16ad742b9bc, Linux 47d7f7051253bdc02b1d245d87e38f16d31a74df

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74583 being exploited?

There is no confirmed exploitation: CVE-2026-74583 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-74583?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-74583?

Linux \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< 7897198b26445b4009a057bda1986b94a99e5d5f; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< 820f083c294ad6d319c02a7d43294f2ed2565139; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< 5ec9001be6d0eb527251125632ec8fe88278897f; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< b969984b2bdc85d721ce4047cd270cd37ec705a2; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< a17f636c9330eac879822ce29f998e5abd1b72c1; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< 0e7a8cf8895b06d07c7311f028eba16ad742b9bc; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< ae9aff87025219005a2d16b4fe83d6f24643e50d; \>= 1109c00547fc66df45b9ff923544be4c1e1bec13, \< 47d7f7051253bdc02b1d245d87e38f16d31a74df; Linux 3.18.

### Is there a fix for CVE-2026-74583?

Yes. Fixed in Linux 7897198b26445b4009a057bda1986b94a99e5d5f, Linux 820f083c294ad6d319c02a7d43294f2ed2565139, Linux 5ec9001be6d0eb527251125632ec8fe88278897f, Linux 0e7a8cf8895b06d07c7311f028eba16ad742b9bc, Linux 47d7f7051253bdc02b1d245d87e38f16d31a74df. Upgrade Linux to 47d7f7051253bdc02b1d245d87e38f16d31a74df or later.

### How do I check if I'm affected by CVE-2026-74583?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/7897198b26445b4009a057bda1986b94a99e5d5f>
- other: <https://git.kernel.org/stable/c/820f083c294ad6d319c02a7d43294f2ed2565139>
- other: <https://git.kernel.org/stable/c/5ec9001be6d0eb527251125632ec8fe88278897f>
- other: <https://git.kernel.org/stable/c/b969984b2bdc85d721ce4047cd270cd37ec705a2>
- other: <https://git.kernel.org/stable/c/a17f636c9330eac879822ce29f998e5abd1b72c1>
- other: <https://git.kernel.org/stable/c/0e7a8cf8895b06d07c7311f028eba16ad742b9bc>
- other: <https://git.kernel.org/stable/c/ae9aff87025219005a2d16b4fe83d6f24643e50d>
- other: <https://git.kernel.org/stable/c/47d7f7051253bdc02b1d245d87e38f16d31a74df>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74583>

HTML: <https://flawdb.com/CVE-2026-74583> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74583>
