ipv6: serialize address publication with device teardown

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: 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.

ProductVersions
Linux Linux8814c4b533817df825485ff32ce6ac406c3a54d1 to before fd94f147cf9c898896f9686d1083aa5a3a2d5a09 Affected8814c4b533817df825485ff32ce6ac406c3a54d1 to before 6b38d86161a2e155d9a66718c9c39168962fd1b8 Affected8814c4b533817df825485ff32ce6ac406c3a54d1 to before 72e3cb0eef4b10404a440dcbd063d3e8b3936f63 Affected8814c4b533817df825485ff32ce6ac406c3a54d1 to before ff386540eef6fabdb330bee9ef927c9fafe71496 Affected8814c4b533817df825485ff32ce6ac406c3a54d1 to before 65dc6b153b65f094697123befb78554ecd33b54c Affected8814c4b533817df825485ff32ce6ac406c3a54d1 to before 06227034e2d93942119b922cf05f2de9da0ad848 Affected
Linux Linux2.6.19 Affectedbefore 2.6.19 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.