CVE-2026-143277: ipv4: Call rt_add_uncached_list() if !do_cache in ip_route_input_slow().
In the Linux kernel, the following vulnerability has been resolved:
ipv4: Call rtadduncachedlist() if !docache in iprouteinputslow().
Since the cited commit, iprouteinputslow() could call rtdstalloc() with vrf in the localinput: path.
If res->fi != NULL and one of the following is true,
- a non-zero itag from fibvalidatesourcereason() (realms/classid) - RTNBROADCAST with BCFORWARDING enabled
docache is set to false.
Then, the route is not added to rtuncachedlist, so the route cannot be removed from rtflushdev().
If the route is cached in sk->skrxdst, removing the vrf device gets stuck. [0]
Let's call rtadduncachedlist() if !docache in iprouteinputslow().
[0]: unregisternetdevice: waiting for vrf0 to become free. Usage count = 2 reftracker: netdev@000000008b304ac4 has 1/1 users at dstalloc+0x14b/0x490 iprouteinputrcu+0x1540/0x2530 iprouteinputnoref+0x5a/0x90 iprcvfinishcore+0x4b0/0x1140 iprcvfinish+0xe6/0x190 iprcv+0x6c/0x130 netifreceiveskb+0x121/0x300 processbacklog+0x2df/0x5e0 napipoll+0x8c/0x380 netrxaction+0x43c/0xab0 handlesoftirqs+0x19f/0x520 dosoftirq+0x46/0x60 localbhenableip+0x79/0x80 devqueuexmit+0x1b0e/0x24c0 ipfinishoutput2+0x8b2/0xcd0 ipoutput+0xf2/0x1e0
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 4.10 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.276 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.227 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7
Event History
Frequently Asked Questions
Which deployments are exposed to the device-removal hang?
The affected path requires IPv4 routing with a VRF device in the local-input path, a non-NULL res->fi, and caching disabled because either fib_validate_source_reason() returns a non-zero itag (realms/classid) or the route is RTN_BROADCAST with BC_FORWARDING enabled. The hang occurs when the resulting route is retained in sk->sk_rx_dst and the VRF device is removed.
What is the observable operational impact?
Removing the VRF device can become stuck because the uncached route is not tracked for removal by rt_flush_dev(). Affected systems may log "unregister_netdevice: waiting for vrf0 to become free" along with a nonzero device usage count and a reference-tracker stack involving dst_alloc and IP route input processing.
Does the provided information establish whether default configurations are affected?
No. The issue depends on specific VRF, routing, realm/classid or broadcast-forwarding conditions, but the provided data does not state whether those conditions are enabled by default.