CVE-2026-63969: ipv6: fix possible infinite loop in rt6_fill_node()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ipv6: fix possible infinite loop in rt6_fill_node()
Sashiko reported this issue [1]. Apply the same fix as
commit f8d8ce1b515a ("ipv6: fix possible infinite loop in fib6_info_uses_dev()").
Writers holding tb6_lock can list_del_rcu(&rt->fib6_siblings) without waiting for RCU readers; rt->fib6_siblings.next then still points into the old ring and this softirq-side walker never reaches &rt->fib6_siblings, causing a CPU stall. fib6_del_route() always WRITE_ONCE()s rt->fib6_nsiblings to 0 before list_del_rcu(), so an inside-loop check is a reliable detach signal.
[1] https://sashiko.dev/#/patchset/20260526020227.4857-1-jiayuan.chen%40linux.dev
The Linux kernel CVE team has assigned CVE-2026-63969 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.1.128 with commit d0ec61c9f3583b76aebdbb271f5c0d3fcccd48b2 and fixed in 6.1.176 with commit b014a63d2f2c2c767762b548381882dfb1655529 Issue introduced in 6.6.75 with commit 52da02521ede55fb86546c3fffd9377b3261b91f and fixed in 6.6.143 with commit 279853aec9f58d5cd723e6e5617c1c3337b30383 Issue introduced in 6.12.2 with commit 34a949e7a0869dfa31a40416d2a56973fae1807b and fixed in 6.12.93 with commit c65b1f60237daac7c56c2652e064cc566a45dc81 Issue introduced in 6.13 with commit d9ccb18f83ea2bb654289b6ecf014fd267cc988b and fixed in 6.18.35 with commit dc36a04621dcc2447dae428709207810b6c06e14 Issue introduced in 6.13 with commit d9ccb18f83ea2bb654289b6ecf014fd267cc988b and fixed in 7.0.12 with commit 5e40de719ee76b8d96e2556ce36dbd3bd07bf37d Issue introduced in 6.13 with commit d9ccb18f83ea2bb654289b6ecf014fd267cc988b and fixed in 7.1 with commit 9f72412bcf60144f252b0d6205106abf14344abc Issue introduced in 6.11.11 with commit 11edcd026012ac18acee0f1514db3ed1b160fc6f
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-63969
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/ipv6/route.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/b014a63d2f2c2c767762b548381882dfb1655529 https://git.kernel.org/stable/c/279853aec9f58d5cd723e6e5617c1c3337b30383 https://git.kernel.org/stable/c/c65b1f60237daac7c56c2652e064cc566a45dc81 https://git.kernel.org/stable/c/dc36a04621dcc2447dae428709207810b6c06e14 https://git.kernel.org/stable/c/5e40de719ee76b8d96e2556ce36dbd3bd07bf37d https://git.kernel.org/stable/c/9f72412bcf60144f252b0d6205106abf14344abc