Not scored
ipv6: initialize temporary ifaddr before publication
- Severity
- Not scored
- Exploit likelihood
- 0.33% (higher than 27% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 3330760aae0b5ea31d8ff928071a8654f7012a4b, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before c9efc37e36148d56e000c9cd3bd682b29179e50d, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2b374053c8c9c922536fecadf595c9d19d1ae937, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 53adaeb51c3ff473bb6aeea35901ef89dafc5c92, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 4bd95b046e1ce34f14c8cc915d4497dd480e5e45, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1ca1ed1e5752c2fcb61a25ec31e612b1d88e2b4e, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d4e3ab19ddd232850ad6a28fa95a6501be2373a1, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ed7f278812e540db507f683e5bf9b6d0a1f5bc1e and 1 more Not affected: before 2.6.12, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.117 up to 6.12.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-99977 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-99977 changed 2026-11-30 | Public domain |