{"id":"CVE-2026-74583","published":"2026-08-21T16:31:55Z","modified":"2026-10-16T19:05:58Z","title":"net/sched: cls_route: fix fastmap use-after-free on filter","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: cls_route: fix fastmap use-after-free on filter\n\nThe route4 classifier maintains a 16-slot fastmap cache that stores raw\nstruct route4_filter pointers indexed by (id, iif). The reader\n(route4_classify) populates this cache via route4_set_fastmap() for every\nclassified packet that hits a filter. The writer (route4_delete,\nroute4_change) clears the cache via route4_reset_fastmap() before\nRCU-deferred kfree of the filter.\n\nThis creates a UAF race:\n 1. Reader walks the RCU-protected bucket chain, finds filter f\n 2. Writer unlinks f, calls route4_reset_fastmap(), then tcf_queue_work()\n 3. Reader calls route4_set_fastmap() and writes f into the cache\n    *after* the writer's reset, caching a pointer about to be freed\n 4. After the RCU grace period, kfree(f) executes\n 5. Next classified packet on the same (id, iif) tuple hits the stale\n    fastmap entry and reads f->res from freed memory\n\nReproduced with an mdelay(100) accelerator in route4_set_fastmap() and a\nconcurrent add/delete stress test (provided by both zdi and Santosh).\nBoth triggered KASAN slab-use-after-free reports in the route4 fastmap\npaths.\n\nFix:\nIntroduce a per-filter boolean dying flag to suppress stale fastmap\nrepublishing by in-flight readers.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00171,"percentile":0.03737,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/7897198b26445b4009a057bda1986b94a99e5d5f","tags":[]},{"url":"https://git.kernel.org/stable/c/820f083c294ad6d319c02a7d43294f2ed2565139","tags":[]},{"url":"https://git.kernel.org/stable/c/5ec9001be6d0eb527251125632ec8fe88278897f","tags":[]},{"url":"https://git.kernel.org/stable/c/b969984b2bdc85d721ce4047cd270cd37ec705a2","tags":[]},{"url":"https://git.kernel.org/stable/c/a17f636c9330eac879822ce29f998e5abd1b72c1","tags":[]},{"url":"https://git.kernel.org/stable/c/0e7a8cf8895b06d07c7311f028eba16ad742b9bc","tags":[]},{"url":"https://git.kernel.org/stable/c/ae9aff87025219005a2d16b4fe83d6f24643e50d","tags":[]},{"url":"https://git.kernel.org/stable/c/47d7f7051253bdc02b1d245d87e38f16d31a74df","tags":[]}],"priority":{"score":11.2,"factors":[{"name":"EPSS percentile","points":0.75},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.46}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-11-02","earliestUrl":"https://github.com/santoshkalluri/CVE-2026-74583","repos":[{"name":"santoshkalluri/CVE-2026-74583","url":"https://github.com/santoshkalluri/CVE-2026-74583","stars":0,"created":"2026-11-02"}]},"first":{"date":"2026-11-02","source":"PoC-in-GitHub","url":"https://github.com/santoshkalluri/CVE-2026-74583"},"provenance":"source"},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1109c00547fc66df45b9ff923544be4c1e1bec13, < 7897198b26445b4009a057bda1986b94a99e5d5f",">= 1109c00547fc66df45b9ff923544be4c1e1bec13, < 820f083c294ad6d319c02a7d43294f2ed2565139",">= 1109c00547fc66df45b9ff923544be4c1e1bec13, < 5ec9001be6d0eb527251125632ec8fe88278897f",">= 1109c00547fc66df45b9ff923544be4c1e1bec13, < b969984b2bdc85d721ce4047cd270cd37ec705a2",">= 1109c00547fc66df45b9ff923544be4c1e1bec13, < a17f636c9330eac879822ce29f998e5abd1b72c1",">= 1109c00547fc66df45b9ff923544be4c1e1bec13, < 0e7a8cf8895b06d07c7311f028eba16ad742b9bc",">= 1109c00547fc66df45b9ff923544be4c1e1bec13, < ae9aff87025219005a2d16b4fe83d6f24643e50d",">= 1109c00547fc66df45b9ff923544be4c1e1bec13, < 47d7f7051253bdc02b1d245d87e38f16d31a74df"]},{"vendor":"Linux","product":"Linux","versions":["3.18"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T19:01:17.964713Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-64005","exploited":false,"provenance":"source"}}