{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99979","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.450Z","datePublished":"2026-11-30T13:18:50.179Z","dateUpdated":"2026-12-01T05:44:28.984Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:44:28.984Z"},"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The racing teardown, addrconf_ifdown(), only runs from addrconf_notify() on NETDEV_DOWN/UNREGISTER, CHANGEMTU below 1280, VRF CHANGEUPPER or the disable_ipv6 sysctl, all local rtnetlink/ioctl/sysctl operations. A LAN RA sender alone cannot cause that ifdown: the RA MTU option only sets cnf.mtu6 and is clamped to at least 1280.\nAC:L - The attacker controls both sides. They flood RAs carrying PIO prefixes into one end of a veth pair they own, which drives ipv6_add_addr() in softirq without RTNL, while toggling MTU or VRF enslavement on another CPU. A lost race just removes or keeps the address, so it can be retried indefinitely.\nPR:L - Setting the MTU, enslaving to a VRF, and creating veth/vrf devices need only CAP_NET_ADMIN over the netns, and sending RAs from the peer needs CAP_NET_RAW. An unprivileged user gets both via unshare -Urn. A new netns defaults to accept_ra=1 and autoconf=1, so SLAAC runs on the attacker's veth.\nUI:N - No victim action is involved. The attacker builds the netns, veth pair, RA flood and ifdown toggles entirely through their own syscalls.\nS:U - The freed inet6_ifaddr and the stale per-netns hash bucket are kernel memory under the same kernel authority. This is a standard kernel memory-corruption privilege escalation with no VM or IOMMU boundary crossed.\nC:H - After kfree_rcu() the freed inet6_ifaddr stays linked in net->ipv6.inet6_addr_lst. /proc/net/if_inet6 (0444) walks it in if6_seq_show() and prints through ifp->idev->dev->name. Reclaiming the kmalloc-cg slot with controlled data therefore gives a pointer-following kernel read.\nI:H - Later hash updates in the same bucket, hlist_add_head_rcu() in ipv6_add_addr_hash() and hlist_del_init_rcu(), write pprev pointers into the freed object. A reclaimed object with a forged addr_lst.next lets hash walkers and unlinks operate on fake nodes, which is a kernel write primitive.\nA:H - inet6_ifa_finish_destroy() hits WARN_ON(!hlist_unhashed), which panics with panic_on_warn. After that, any ipv6_chk_addr()/ipv6_get_ifaddr() or /proc walk of the stale bucket dereferences freed memory and can oops the kernel."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/addrconf.c"],"versions":[{"version":"73a8bd74e2618990dbb218c3d82f53e60acd9af0","lessThan":"1bf8fa9aa30be0dece05a53f4a4830920520487d","status":"affected","versionType":"git"},{"version":"73a8bd74e2618990dbb218c3d82f53e60acd9af0","lessThan":"cbcc4e9a51b55b67e43b3b5e910e3e798d25a37b","status":"affected","versionType":"git"},{"version":"73a8bd74e2618990dbb218c3d82f53e60acd9af0","lessThan":"c21e4316f584691e234fe121aec5479ae27d1cdd","status":"affected","versionType":"git"},{"version":"73a8bd74e2618990dbb218c3d82f53e60acd9af0","lessThan":"ac01bab1bff8f08d57fdaedb624e36fb65d147c6","status":"affected","versionType":"git"},{"version":"73a8bd74e2618990dbb218c3d82f53e60acd9af0","lessThan":"310a2a825a9166b58578dd2ae4e63392b068b0f3","status":"affected","versionType":"git"},{"version":"73a8bd74e2618990dbb218c3d82f53e60acd9af0","lessThan":"6ace56ed7b13a9c6d4cb7ef0d82d3a3d53324a63","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/addrconf.c"],"versions":[{"version":"2.6.38","status":"affected"},{"version":"0","lessThan":"2.6.38","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.38","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.38","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.38","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.38","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.38","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.38","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/1bf8fa9aa30be0dece05a53f4a4830920520487d"},{"url":"https://git.kernel.org/stable/c/cbcc4e9a51b55b67e43b3b5e910e3e798d25a37b"},{"url":"https://git.kernel.org/stable/c/c21e4316f584691e234fe121aec5479ae27d1cdd"},{"url":"https://git.kernel.org/stable/c/ac01bab1bff8f08d57fdaedb624e36fb65d147c6"},{"url":"https://git.kernel.org/stable/c/310a2a825a9166b58578dd2ae4e63392b068b0f3"},{"url":"https://git.kernel.org/stable/c/6ace56ed7b13a9c6d4cb7ef0d82d3a3d53324a63"}],"title":"ipv6: remove ifaddr from hash during ifdown list cleanup","x_generator":{"engine":"bippy-1.2.0"}}}}