ipv6: initialize temporary ifaddr before publication

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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().

ProductVersions
Linux Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 3330760aae0b5ea31d8ff928071a8654f7012a4b Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before c9efc37e36148d56e000c9cd3bd682b29179e50d Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 2b374053c8c9c922536fecadf595c9d19d1ae937 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 53adaeb51c3ff473bb6aeea35901ef89dafc5c92 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 4bd95b046e1ce34f14c8cc915d4497dd480e5e45 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 1ca1ed1e5752c2fcb61a25ec31e612b1d88e2b4e Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before d4e3ab19ddd232850ad6a28fa95a6501be2373a1 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before ed7f278812e540db507f683e5bf9b6d0a1f5bc1e Affected
Linux Linux2.6.12 Affectedbefore 2.6.12 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.