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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
76f793e3a47139d340185cbc1a314740c09b13d3 to < b00f7c1da82a809156f785ed37536c2d2584927daffected76f793e3a47139d340185cbc1a314740c09b13d3 to < 6da8ba900b85e6478e211427630c67595fb707a4affected76f793e3a47139d340185cbc1a314740c09b13d3 to < 4f7d2a8dc364c4e55d0a1533451339008512933faffected76f793e3a47139d340185cbc1a314740c09b13d3 to < f601ec5c92b3260c742f27a5d2fd289e30ae798faffected76f793e3a47139d340185cbc1a314740c09b13d3 to < bff7b87dfa28a1502c18d0c6f1fadda5162fa854affected76f793e3a47139d340185cbc1a314740c09b13d3 to < 4df5597c65446135362f72880995e8920f058fa0affected76f793e3a47139d340185cbc1a314740c09b13d3 to < e20d8922aa8fe441d291364c96c2179a005b79eaaffected
Linux Linux
Default version status: affected
3.2affected0 to < 3.2unaffected5.10.271 to ≤ 5.10.*unaffected5.15.222 to ≤ 5.15.*unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/b00f7c1da82a809156f785ed37536c2d2584927d ↗
- https://git.kernel.org/stable/c/6da8ba900b85e6478e211427630c67595fb707a4 ↗
- https://git.kernel.org/stable/c/4f7d2a8dc364c4e55d0a1533451339008512933f ↗
- https://git.kernel.org/stable/c/f601ec5c92b3260c742f27a5d2fd289e30ae798f ↗
- https://git.kernel.org/stable/c/bff7b87dfa28a1502c18d0c6f1fadda5162fa854 ↗
- https://git.kernel.org/stable/c/4df5597c65446135362f72880995e8920f058fa0 ↗
- https://git.kernel.org/stable/c/e20d8922aa8fe441d291364c96c2179a005b79ea ↗