CVE-2026-99978
Description
In the Linux kernel, the following vulnerability has been resolved:
ipv6: serialize address publication with device teardown
ipv6_add_addr() checks idev state before allocating an ifaddr, but publishes the object later. addrconf_ifdown() can mark and detach the idev between the check and publication.
This happens when a non-loopback device MTU falls below IPV6_MIN_MTU. A forced interleaving published an address on a dead idev, and ipv6_get_ifaddr() still returned it after teardown. Later device deletion remained blocked with:
unregister_netdevice: waiting for ac0 to become free. Usage count = 3
Protect the dead indication with idev->lock and keep that lock across both hash and device-list publication. Recheck dead before publishing; if teardown wins the lock, reject the unpublished object.
Non-unregister teardown does not set dead. The preceding change covers an add that misses the initial hash scan but reaches the per-device list snapshot. Both changes are required when backporting this fix.
Affected products
1Patches
Vulnerability mechanics
References
6- git.kernel.org/stable/c/06227034e2d93942119b922cf05f2de9da0ad848nvd
- git.kernel.org/stable/c/65dc6b153b65f094697123befb78554ecd33b54cnvd
- git.kernel.org/stable/c/6b38d86161a2e155d9a66718c9c39168962fd1b8nvd
- git.kernel.org/stable/c/72e3cb0eef4b10404a440dcbd063d3e8b3936f63nvd
- git.kernel.org/stable/c/fd94f147cf9c898896f9686d1083aa5a3a2d5a09nvd
- git.kernel.org/stable/c/ff386540eef6fabdb330bee9ef927c9fafe71496nvd
News mentions
0No linked articles in our index yet.