AZL-118478: CVE-2026-143278 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
ipv6: Flush rt->from in rt6uncachedlistflushdev().
When a device is unregistered, rt6uncachedlistflushdev() iterates over uncached routes and switches the dying dev with blackholenetdev.
However, rt->from could be cached via sk->skrxdst and hold the device reference.
Then, unregisternetdevice() gets stuck with the splat below. [0]
Let's release rt->from in rt6uncachedlistflushdev().
Note that ip6rtcopyinit() could set rt->from even if in6devget() returns NULL (e.g. mtu < IPV6MINMTU is set concurrently).
Also, rt->from->nh could be replaced with another device than rtdev and rtidev->dev, and in such a case, nexthopflushdev() sets fib6destroying before rt6uncachedlistflushdev().
[0]: unregisternetdevice: waiting for dummy2 to become free. Usage count = 2 reftracker: netdev@000000006fb9da8c has 1/1 users at netdevgetbyindex+0x14c/0x170 fib6nhinit+0x1ae/0x1950 ip6routeinfocreatenh+0x15d/0x780 ip6routeadd+0x55/0x150 inet6rtmnewroute+0x15d/0x1360 rtnetlinkrcvmsg+0x606/0x710 netlinkrcvskb+0x14f/0x2f0 netlinkunicast+0x71b/0x940 netlinksendmsg+0x595/0x840 socksendmsg+0x119/0x150 syssendmsg+0x3e9/0x5c0 syssendmsg+0x157/0x1a0 x64syssendmsg+0x119/0x170 dosyscall64+0x109/0x330 entrySYSCALL64afterhwframe+0x77/0x7f
Affected Software
Event History
Frequently Asked Questions
What operational symptom indicates that a system may be affected?
Device unregistration can become stuck while waiting for a network device to become free. The reported diagnostic includes an "unregister_netdevice: waiting for ... to become free" message and a remaining network-device usage count.
What conditions trigger the stuck device unregistration?
The issue involves uncached IPv6 routes during device removal. An affected route can retain a device reference through rt->from, including when it is cached through sk->sk_rx_dst, preventing the device from being freed.
Are concurrent route or device changes relevant?
Yes. The description notes that rt->from may be set even when in6_dev_get() returns NULL, such as when an MTU below IPV6_MIN_MTU is set concurrently. It also describes cases where the route's nexthop has been replaced with a different device before the uncached-route flush occurs.