Not scored
ipv6: serialize address publication with device teardown
- Severity
- Not scored
- Exploit likelihood
- 0.32% (higher than 26% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 8814c4b533817df825485ff32ce6ac406c3a54d1 before fd94f147cf9c898896f9686d1083aa5a3a2d5a09, from 8814c4b533817df825485ff32ce6ac406c3a54d1 before 6b38d86161a2e155d9a66718c9c39168962fd1b8, from 8814c4b533817df825485ff32ce6ac406c3a54d1 before 72e3cb0eef4b10404a440dcbd063d3e8b3936f63, from 8814c4b533817df825485ff32ce6ac406c3a54d1 before ff386540eef6fabdb330bee9ef927c9fafe71496, from 8814c4b533817df825485ff32ce6ac406c3a54d1 before 65dc6b153b65f094697123befb78554ecd33b54c, from 8814c4b533817df825485ff32ce6ac406c3a54d1 before 06227034e2d93942119b922cf05f2de9da0ad848, 2.6.19 Not affected: before 2.6.19, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.117 up to 6.12.*, from 6.18.63 up to 6.18.*, from 7.3.4 up to 7.3.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-99978 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-99978 changed 2026-11-30 | Public domain |