{"id":"CVE-2026-143278","state":"PUBLISHED","title":"ipv6: Flush rt->from in rt6_uncached_list_flush_dev().","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: Flush rt->from in rt6_uncached_list_flush_dev().\n\nWhen a device is unregistered, rt6_uncached_list_flush_dev()\niterates over uncached routes and switches the dying dev\nwith blackhole_netdev.\n\nHowever, rt->from could be cached via sk->sk_rx_dst and\nhold the device reference.\n\nThen, unregister_netdevice() gets stuck with the splat\nbelow. [0]\n\nLet's release rt->from in rt6_uncached_list_flush_dev().\n\nNote that ip6_rt_copy_init() could set rt->from even if\nin6_dev_get() returns NULL (e.g. mtu < IPV6_MIN_MTU is\nset concurrently).\n\nAlso, rt->from->nh could be replaced with another device\nthan rt_dev and rt_idev->dev, and in such a case,\nnexthop_flush_dev() sets fib6_destroying before\nrt6_uncached_list_flush_dev().\n\n[0]:\nunregister_netdevice: waiting for dummy2 to become free. Usage count = 2\nref_tracker: netdev@000000006fb9da8c has 1/1 users at\n     netdev_get_by_index+0x14c/0x170\n     fib6_nh_init+0x1ae/0x1950\n     ip6_route_info_create_nh+0x15d/0x780\n     ip6_route_add+0x55/0x150\n     inet6_rtm_newroute+0x15d/0x1360\n     rtnetlink_rcv_msg+0x606/0x710\n     netlink_rcv_skb+0x14f/0x2f0\n     netlink_unicast+0x71b/0x940\n     netlink_sendmsg+0x595/0x840\n     __sock_sendmsg+0x119/0x150\n     ____sys_sendmsg+0x3e9/0x5c0\n     ___sys_sendmsg+0x157/0x1a0\n     __x64_sys_sendmsg+0x119/0x170\n     do_syscall_64+0x109/0x330\n     entry_SYSCALL_64_after_hwframe+0x77/0x7f","publishedAt":"2026-12-03T09:21:17.760Z","updatedAt":"2026-12-03T09:21:17.760Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"93531c6743157d7e8c5792f8ed1a57641149d62c","status":"affected","lessThan":"20c6a7d4a4c9fe019f065d546d01b8d6c72df000","versionType":"git"},{"version":"93531c6743157d7e8c5792f8ed1a57641149d62c","status":"affected","lessThan":"a0fe1a3f390a75152c7395fdf63fc39da77d7838","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/route.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.18","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/route.c"]}],"references":["https://git.kernel.org/stable/c/20c6a7d4a4c9fe019f065d546d01b8d6c72df000","https://git.kernel.org/stable/c/a0fe1a3f390a75152c7395fdf63fc39da77d7838"],"weaknesses":[],"ingestedAt":"2026-12-03T09:42:04.348Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143278.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143278","state":"PUBLISHED","datePublished":"2026-12-03T09:21:17.760Z","dateUpdated":"2026-12-03T09:21:17.760Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.364Z"},"containers":{"cna":{"title":"ipv6: Flush rt->from in rt6_uncached_list_flush_dev().","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: Flush rt->from in rt6_uncached_list_flush_dev().\n\nWhen a device is unregistered, rt6_uncached_list_flush_dev()\niterates over uncached routes and switches the dying dev\nwith blackhole_netdev.\n\nHowever, rt->from could be cached via sk->sk_rx_dst and\nhold the device reference.\n\nThen, unregister_netdevice() gets stuck with the splat\nbelow. [0]\n\nLet's release rt->from in rt6_uncached_list_flush_dev().\n\nNote that ip6_rt_copy_init() could set rt->from even if\nin6_dev_get() returns NULL (e.g. mtu < IPV6_MIN_MTU is\nset concurrently).\n\nAlso, rt->from->nh could be replaced with another device\nthan rt_dev and rt_idev->dev, and in such a case,\nnexthop_flush_dev() sets fib6_destroying before\nrt6_uncached_list_flush_dev().\n\n[0]:\nunregister_netdevice: waiting for dummy2 to become free. Usage count = 2\nref_tracker: netdev@000000006fb9da8c has 1/1 users at\n     netdev_get_by_index+0x14c/0x170\n     fib6_nh_init+0x1ae/0x1950\n     ip6_route_info_create_nh+0x15d/0x780\n     ip6_route_add+0x55/0x150\n     inet6_rtm_newroute+0x15d/0x1360\n     rtnetlink_rcv_msg+0x606/0x710\n     netlink_rcv_skb+0x14f/0x2f0\n     netlink_unicast+0x71b/0x940\n     netlink_sendmsg+0x595/0x840\n     __sock_sendmsg+0x119/0x150\n     ____sys_sendmsg+0x3e9/0x5c0\n     ___sys_sendmsg+0x157/0x1a0\n     __x64_sys_sendmsg+0x119/0x170\n     do_syscall_64+0x109/0x330\n     entry_SYSCALL_64_after_hwframe+0x77/0x7f"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"93531c6743157d7e8c5792f8ed1a57641149d62c","status":"affected","lessThan":"20c6a7d4a4c9fe019f065d546d01b8d6c72df000","versionType":"git"},{"version":"93531c6743157d7e8c5792f8ed1a57641149d62c","status":"affected","lessThan":"a0fe1a3f390a75152c7395fdf63fc39da77d7838","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/route.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.18","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/route.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/20c6a7d4a4c9fe019f065d546d01b8d6c72df000"},{"url":"https://git.kernel.org/stable/c/a0fe1a3f390a75152c7395fdf63fc39da77d7838"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:21:17.760Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"7.4-rc2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}