Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143277

ipv4: Call rt_add_uncached_list() if !do_cache in ip_route_input_slow().

Description

In the Linux kernel, the following vulnerability has been resolved: ipv4: Call rt_add_uncached_list() if !do_cache in ip_route_input_slow(). Since the cited commit, ip_route_input_slow() could call rt_dst_alloc() with vrf in the local_input: path. If res->fi != NULL and one of the following is true, - a non-zero itag from fib_validate_source_reason() (realms/classid) - RTN_BROADCAST with BC_FORWARDING enabled do_cache is set to false. Then, the route is not added to rt_uncached_list, so the route cannot be removed from rt_flush_dev(). If the route is cached in sk->sk_rx_dst, removing the vrf device gets stuck. [0] Let's call rt_add_uncached_list() if !do_cache in ip_route_input_slow(). [0]: unregister_netdevice: waiting for vrf0 to become free. Usage count = 2 ref_tracker: netdev@000000008b304ac4 has 1/1 users at dst_alloc+0x14b/0x490 ip_route_input_rcu+0x1540/0x2530 ip_route_input_noref+0x5a/0x90 ip_rcv_finish_core+0x4b0/0x1140 ip_rcv_finish+0xe6/0x190 ip_rcv+0x6c/0x130 __netif_receive_skb+0x121/0x300 process_backlog+0x2df/0x5e0 __napi_poll+0x8c/0x380 net_rx_action+0x43c/0xab0 handle_softirqs+0x19f/0x520 do_softirq+0x46/0x60 __local_bh_enable_ip+0x79/0x80 __dev_queue_xmit+0x1b0e/0x24c0 ip_finish_output2+0x8b2/0xcd0 ip_output+0xf2/0x1e0

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • f5a0aab84b74de68523599817569c057c7ac1622 to < e1111ebf3d941d6ce324ae1c389da0533599062caffected
  • f5a0aab84b74de68523599817569c057c7ac1622 to < 9e00aa0416db2fa9d29cb15146c7aba80b46e164affected
  • f5a0aab84b74de68523599817569c057c7ac1622 to < 820cb0f091d167401c615db0c4ce7ec8e71cbaa4affected
  • f5a0aab84b74de68523599817569c057c7ac1622 to < d3b2fe088593787020faf7c9f34b0755a5a29e16affected
  • f5a0aab84b74de68523599817569c057c7ac1622 to < 5103f07ded158f10f85b61f144a78314a7a51994affected
  • f5a0aab84b74de68523599817569c057c7ac1622 to < 4019af3afd72864ec6abbfde2d76e416a64456c2affected
  • a8a213f296ae0287e2f46a251e10a88f2c30ba61affected
  • 4.9.4 to < 4.10affected

Linux Linux

Default version status: affected

  • 4.10affected
  • 0 to < 4.10unaffected
  • 5.10.276 to ≤ 5.10.*unaffected
  • 5.15.227 to ≤ 5.15.*unaffected
  • 6.12.120 to ≤ 6.12.*unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc2 to ≤ *unaffected

References