{"id":"CVE-2026-64572","aliases":["CVE-2026-64572"],"related":[],"kind":"vulnerability","state":"published","title":"ipv4: fib: free fib_alias with kfree_rcu() on insert error path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv4: fib: free fib_alias with kfree_rcu() on insert error path\n\nfib_table_insert() publishes new_fa into the leaf's fa_list with\nfib_insert_alias() before calling the fib entry notifiers. When a\nnotifier fails, the error path removes new_fa with fib_remove_alias()\n(hlist_del_rcu) and frees it right away with kmem_cache_free().\n\nfib_table_lookup() walks that list under rcu_read_lock() only, so a\nconcurrent lookup that already reached new_fa keeps reading it after the\nfree:\n\n BUG: KASAN: slab-use-after-free in fib_table_lookup (net/ipv4/fib_trie.c:1601)\n Read of size 1 at addr ffff88810676d4eb by task exploit/297\n Call Trace:\n  fib_table_lookup (net/ipv4/fib_trie.c:1601)\n  ip_route_output_key_hash_rcu (net/ipv4/route.c:2814)\n  ip_route_output_key_hash (net/ipv4/route.c:2705)\n  __ip4_datagram_connect (net/ipv4/datagram.c:49)\n  udp_connect (net/ipv4/udp.c:2144)\n  __sys_connect (net/socket.c:2167)\n  __x64_sys_connect (net/socket.c:2173)\n  do_syscall_64\n  entry_SYSCALL_64_after_hwframe\n which belongs to the cache ip_fib_alias of size 56\n\nTriggering the error path needs CAP_NET_ADMIN and a registered fib\nnotifier that can reject a route; a netdevsim device whose IPv4 FIB\nresource is exhausted is enough.\n\nFree new_fa with alias_free_mem_rcu(), as fib_table_delete() already\ndoes for a fib_alias removed from the trie.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv4: fib: free fib_alias with kfree_rcu() on insert error path\n\nfib_table_insert() publishes new_fa into the leaf's fa_list with\nfib_insert_alias() before calling the fib entry notifiers. When a\nnotifier fails, the error path removes new_fa with fib_remove_alias()\n(hlist_del_rcu) and frees it right away with kmem_cache_free().\n\nfib_table_lookup() walks that list under rcu_read_lock() only, so a\nconcurrent lookup that already reached new_fa keeps reading it after the\nfree:\n\n BUG: KASAN: slab-use-after-free in fib_table_lookup (net/ipv4/fib_trie.c:1601)\n Read of size 1 at addr ffff88810676d4eb by task exploit/297\n Call Trace:\n  fib_table_lookup (net/ipv4/fib_trie.c:1601)\n  ip_route_output_key_hash_rcu (net/ipv4/route.c:2814)\n  ip_route_output_key_hash (net/ipv4/route.c:2705)\n  __ip4_datagram_connect (net/ipv4/datagram.c:49)\n  udp_connect (net/ipv4/udp.c:2144)\n  __sys_connect (net/socket.c:2167)\n  __x64_sys_connect (net/socket.c:2173)\n  do_syscall_64\n  entry_SYSCALL_64_after_hwframe\n which belongs to the cache ip_fib_alias of size 56\n\nTriggering the error path needs CAP_NET_ADMIN and a registered fib\nnotifier that can reject a route; a netdevsim device whose IPv4 FIB\nresource is exhausted is enough.\n\nFree new_fa with alias_free_mem_rcu(), as fib_table_delete() already\ndoes for a fib_alias removed from the trie.","source":"cvelist"}],"published":"2026-08-05T08:08:09.068Z","modified":"2026-11-30T21:42:23.680Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"a6c76c17df021b141b0d306828c9fe4ba2d2717c","fixed":"9d0778571def598c31e84a38ae5a7ebc6f65e6d8","status":"affected"},{"type":"git","introduced":"a6c76c17df021b141b0d306828c9fe4ba2d2717c","fixed":"bb03350f974aec352b660d032a1d283eb462165a","status":"affected"},{"type":"git","introduced":"a6c76c17df021b141b0d306828c9fe4ba2d2717c","fixed":"6429c9cfd941e62acd7bb0bc64d631574d4c3b2a","status":"affected"},{"type":"git","introduced":"a6c76c17df021b141b0d306828c9fe4ba2d2717c","fixed":"8150b5365f026e72250cacc527ea00be30f40105","status":"affected"},{"type":"git","introduced":"a6c76c17df021b141b0d306828c9fe4ba2d2717c","fixed":"d007056868723de9c0cc3f5ffaad47a8d468b9a4","status":"affected"},{"type":"git","introduced":"a6c76c17df021b141b0d306828c9fe4ba2d2717c","fixed":"cb8be318b4432abd88d3172ec157330f27a5f7a7","status":"affected"},{"type":"git","introduced":"a6c76c17df021b141b0d306828c9fe4ba2d2717c","fixed":"b8d2ea75c76abcd0d72679c2f488271f573e32fb","status":"affected"},{"type":"git","introduced":"a6c76c17df021b141b0d306828c9fe4ba2d2717c","fixed":"f2f152e94a67bc746afaf05a1b2702c195553112","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.10.265","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.148","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.101","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.42","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.6","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.6","fixed":"5.10.265"},{"status":"affected","introduced":"5.11","fixed":"5.15.216"},{"status":"affected","introduced":"5.16","fixed":"6.1.183"},{"status":"affected","introduced":"6.2","fixed":"6.6.148"},{"status":"affected","introduced":"6.7","fixed":"6.12.101"},{"status":"affected","introduced":"6.13","fixed":"6.18.42"},{"status":"affected","introduced":"6.19","fixed":"7.1.6"},{"status":"affected","version":"7.2"},{"status":"affected","version":"7.2"},{"status":"affected","version":"7.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/9d0778571def598c31e84a38ae5a7ebc6f65e6d8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bb03350f974aec352b660d032a1d283eb462165a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6429c9cfd941e62acd7bb0bc64d631574d4c3b2a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8150b5365f026e72250cacc527ea00be30f40105","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d007056868723de9c0cc3f5ffaad47a8d468b9a4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cb8be318b4432abd88d3172ec157330f27a5f7a7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b8d2ea75c76abcd0d72679c2f488271f573e32fb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f2f152e94a67bc746afaf05a1b2702c195553112","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:41:42.353Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64572","url":"https://www.cve.org/CVERecord?id=CVE-2026-64572","licence":"CVE Terms of Use","modified":"2026-11-06T16:44:57.697Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64572","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64572","licence":"Public domain","modified":"2026-11-30T21:42:23.680Z"}],"updatedAt":"2026-11-30T21:47:28.753Z","epss":{"score":0.00158,"percentile":0.05256,"date":"2026-12-01T12:00:22.000Z"}}