CVE-2026-64572

Source
https://cve.org/CVERecord?id=CVE-2026-64572
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64572.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64572
Downstream
Published
2026-08-05T08:08:09.068Z
Modified
2026-08-06T03:48:34.416131111Z
Summary
ipv4: fib: free fib_alias with kfree_rcu() on insert error path
Details

In the Linux kernel, the following vulnerability has been resolved:

ipv4: fib: free fibalias with kfreercu() on insert error path

fibtableinsert() publishes newfa into the leaf's falist with fibinsertalias() before calling the fib entry notifiers. When a notifier fails, the error path removes newfa with fibremovealias() (hlistdelrcu) and frees it right away with kmemcache_free().

fibtablelookup() walks that list under rcureadlock() only, so a concurrent lookup that already reached new_fa keeps reading it after the free:

BUG: KASAN: slab-use-after-free in fibtablelookup (net/ipv4/fibtrie.c:1601) Read of size 1 at addr ffff88810676d4eb by task exploit/297 Call Trace: fibtablelookup (net/ipv4/fibtrie.c:1601) iprouteoutputkeyhashrcu (net/ipv4/route.c:2814) iprouteoutputkey_hash (net/ipv4/route.c:2705) __ip4datagramconnect (net/ipv4/datagram.c:49) udp_connect (net/ipv4/udp.c:2144) __sys_connect (net/socket.c:2167) __x64sysconnect (net/socket.c:2173) dosyscall64 entrySYSCALL64afterhwframe which belongs to the cache ipfibalias of size 56

Triggering the error path needs CAPNETADMIN and a registered fib notifier that can reject a route; a netdevsim device whose IPv4 FIB resource is exhausted is enough.

Free newfa with aliasfreememrcu(), as fibtabledelete() already does for a fib_alias removed from the trie.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64572.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a6c76c17df021b141b0d306828c9fe4ba2d2717c
Fixed
8150b5365f026e72250cacc527ea00be30f40105
Fixed
d007056868723de9c0cc3f5ffaad47a8d468b9a4
Fixed
cb8be318b4432abd88d3172ec157330f27a5f7a7
Fixed
b8d2ea75c76abcd0d72679c2f488271f573e32fb
Fixed
f2f152e94a67bc746afaf05a1b2702c195553112

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64572.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.6.0
Fixed
6.6.148
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.101
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.42
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64572.json"