Skip to contentSkip to conversation

CVE-2026-97472: ipv6: addrconf: fix temp address generation after prefix deprecation

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 24

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

ipv6: addrconf: fix temp address generation after prefix deprecation

When a router temporarily deprecates an IPv6 prefix (either by sending a Router Advertisement with Preferred Lifetime = 0 or by letting the lifetime expire) and later restores it, the kernel permanently loses its ability to generate temporary privacy addresses (RFC 8981) for that prefix.

This happens because the address worker attempts to generate a replacement temporary address when the current one nears expiration. As the base prefix is deprecated already, the generation fails after marking the temporary address as already having spawned a replacement (ifp->regen_count++).

When the router eventually restores the prefix, the temporary address becomes active again. However, once it naturally expires, the address worker sees this temporary address already tried to generate one and skips the regeneration.

Fix the issue by resetting the regen_count check of the latest temp address generated for the prefix updated by the incoming RA.

The Linux kernel CVE team has assigned CVE-2026-97472 to this issue.

Affected and fixed versions
===========================

	Fixed in 6.12.111 with commit bff7b87dfa28a1502c18d0c6f1fadda5162fa854
	Fixed in 6.18.53 with commit 4df5597c65446135362f72880995e8920f058fa0
	Fixed in 7.2 with commit e20d8922aa8fe441d291364c96c2179a005b79ea

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-97472

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/addrconf.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/bff7b87dfa28a1502c18d0c6f1fadda5162fa854
	https://git.kernel.org/stable/c/4df5597c65446135362f72880995e8920f058fa0
	https://git.kernel.org/stable/c/e20d8922aa8fe441d291364c96c2179a005b79ea