CVE-2026-99708: ipv6: reject wrapped temporary address preferred lifetimes
In the Linux kernel, the following vulnerability has been resolved:
ipv6: reject wrapped temporary address preferred lifetimes
ipv6createtempaddr() raises a temporary address's preferred lifetime to regenadvance + age + 1 when the configured lifetime is too short. The result is stored in a u32, while regenadvance and age are unsigned long. If the sum wraps or is truncated, the stored lifetime can still be less than or equal to regenadvance + age.
addrconfverifyrtnl() then sees the new address as due for regeneration and creates another one. Temporary addresses are not limited by maxaddresses since commit 4b08a8f1bd8c ("ipv6: remove maxaddresses check from ipv6createtempaddr"), so this can cause unbounded address growth. With dadtransmits set to -1, a baseline kernel reached 2859 loopback addresses in two seconds.
After storing the adjusted lifetime, verify that it is still greater than regenadvance + age. Reject the new address if the check fails.
On an x86-64 KASAN kernel, the normal configuration created three IPv6 addresses. The negative dadtransmits, positive multiplication overflow, and large retransmission-time cases each left only the loopback and public addresses. An i386 defconfig and an x86-64 allmodconfig both built addrconf.o with W=1.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.118 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.64 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.5 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.192-2Fixed in 7.3.5-1 - Compensating control
In Linux kernel IPv6 temporary-address creation (ipv6_create_tempaddr()), after storing the adjusted preferred lifetime, verify it is greater than or equal to regen_advance + age; reject the new address if the check fails.
Event History
Frequently Asked Questions
Which systems are at risk of unbounded IPv6 address growth?
Systems that create IPv6 temporary addresses and use lifetime or timing values that cause the adjusted preferred lifetime calculation to wrap or truncate are affected. The described triggering cases include dad_transmits set to -1, a positive multiplication overflow, and a large retransmission time.
Is the normal configuration affected?
The reported normal configuration created three IPv6 addresses on an x86-64 KASAN kernel. The excessive growth was demonstrated with abnormal timing or lifetime inputs rather than that normal configuration.
How can I tell whether a system is experiencing this issue?
Look for rapid, repeated creation of IPv6 temporary addresses, particularly on the loopback interface. In the demonstrated case with dad_transmits set to -1, a baseline kernel accumulated 2,859 loopback addresses in two seconds.
What can be done before applying the fix?
Avoid configurations that set dad_transmits to -1 or otherwise produce overflow-prone preferred-lifetime or retransmission-time calculations. The fix rejects a new temporary address when its stored adjusted preferred lifetime is not greater than regen_advance plus address age.