CVE-2026-99977
Description
In the Linux kernel, the following vulnerability has been resolved:
ipv6: initialize temporary ifaddr before publication
ipv6_create_tempaddr() holds a reference to the public ifaddr, publishes the new temporary address through ipv6_add_addr(), and only then stores the reference and final timestamps.
addrconf_ifdown() can remove the temporary address before ifpub is stored, leaking the public ifaddr reference. Publishing ifpub alone is insufficient: manage_tempaddrs() can then find the object before cstamp and tstamp are final, update its lifetimes, and have the constructor overwrite its timestamp with an older value.
This follow-on was found by source review and was not separately triggered at runtime.
Pass the public ifaddr and both timestamps in ifa6_config. Initialize all three fields before adding the temporary address to either the hash or per-device lists. On success the existing public-ifaddr reference transfers to the temporary object. On error it remains owned and released by ipv6_create_tempaddr().
Affected products
1Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/1ca1ed1e5752c2fcb61a25ec31e612b1d88e2b4envd
- git.kernel.org/stable/c/2b374053c8c9c922536fecadf595c9d19d1ae937nvd
- git.kernel.org/stable/c/3330760aae0b5ea31d8ff928071a8654f7012a4bnvd
- git.kernel.org/stable/c/4bd95b046e1ce34f14c8cc915d4497dd480e5e45nvd
- git.kernel.org/stable/c/53adaeb51c3ff473bb6aeea35901ef89dafc5c92nvd
- git.kernel.org/stable/c/c9efc37e36148d56e000c9cd3bd682b29179e50dnvd
- git.kernel.org/stable/c/d4e3ab19ddd232850ad6a28fa95a6501be2373a1nvd
- git.kernel.org/stable/c/ed7f278812e540db507f683e5bf9b6d0a1f5bc1envd
News mentions
0No linked articles in our index yet.