{"id":"CVE-2026-99979","summary":"ipv6: remove ifaddr from hash during ifdown list cleanup","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: remove ifaddr from hash during ifdown list cleanup\n\naddrconf_ifdown() clears the address hash before snapshotting the\nper-device address list. A concurrent ipv6_add_addr() can publish an\naddress after the hash scan and before the list snapshot.\n\nThe ifdown path then removes the address from the device list and drops\nthe list-owned reference while it is still linked in the hash. Once the\nremaining references are released, inet6_ifa_finish_destroy() warns, but\na DEAD address continues to kfree_rcu(). The hash therefore points to\nfreed memory that later RCU walkers can dereference.\n\nThis follow-on was found by source review and was not separately\ntriggered at runtime.\n\nRemove each non-kept address from the hash immediately before removing\nit from the per-device list. Keeping it hashed through the delete\nnotification blocks same-address publication until NETDEV_DOWN has been\ndelivered. hlist_del_init_rcu() is safe when the earlier hash scan\nalready removed the address.\n\nThis handles a late publisher captured by the list snapshot. The next\nchange serializes publication with teardown so an add cannot miss both\nobservations. Both changes are required when backporting the complete fix.","modified":"2026-12-01T07:00:47.466837191Z","published":"2026-11-30T13:18:50.179Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99979.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1bf8fa9aa30be0dece05a53f4a4830920520487d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/310a2a825a9166b58578dd2ae4e63392b068b0f3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6ace56ed7b13a9c6d4cb7ef0d82d3a3d53324a63"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ac01bab1bff8f08d57fdaedb624e36fb65d147c6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c21e4316f584691e234fe121aec5479ae27d1cdd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cbcc4e9a51b55b67e43b3b5e910e3e798d25a37b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99979.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99979"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"73a8bd74e2618990dbb218c3d82f53e60acd9af0"},{"fixed":"1bf8fa9aa30be0dece05a53f4a4830920520487d"},{"fixed":"cbcc4e9a51b55b67e43b3b5e910e3e798d25a37b"},{"fixed":"c21e4316f584691e234fe121aec5479ae27d1cdd"},{"fixed":"ac01bab1bff8f08d57fdaedb624e36fb65d147c6"},{"fixed":"310a2a825a9166b58578dd2ae4e63392b068b0f3"},{"fixed":"6ace56ed7b13a9c6d4cb7ef0d82d3a3d53324a63"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99979.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.38"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99979.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}