# CVE-2026-99979: ipv6: remove ifaddr from hash during ifdown list cleanup

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-11-30T13:18:50.179Z
- Modified: 2026-12-01T06:17:58.983Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ipv6: remove ifaddr from hash during ifdown list cleanup

addrconf_ifdown() clears the address hash before snapshotting the
per-device address list. A concurrent ipv6_add_addr() can publish an
address after the hash scan and before the list snapshot.

The ifdown path then removes the address from the device list and drops
the list-owned reference while it is still linked in the hash. Once the
remaining references are released, inet6_ifa_finish_destroy() warns, but
a DEAD address continues to kfree_rcu(). The hash therefore points to
freed memory that later RCU walkers can dereference.

This follow-on was found by source review and was not separately
triggered at runtime.

Remove each non-kept address from the hash immediately before removing
it from the per-device list. Keeping it hashed through the delete
notification blocks same-address publication until NETDEV_DOWN has been
delivered. hlist_del_init_rcu() is safe when the earlier hash scan
already removed the address.

This handles a late publisher captured by the list snapshot. The next
change serializes publication with teardown so an add cannot miss both
observations. Both changes are required when backporting the complete fix.

(As written by CVE List.)

## Affected

- Linux Linux: from 73a8bd74e2618990dbb218c3d82f53e60acd9af0 before 1bf8fa9aa30be0dece05a53f4a4830920520487d; from 73a8bd74e2618990dbb218c3d82f53e60acd9af0 before cbcc4e9a51b55b67e43b3b5e910e3e798d25a37b; from 73a8bd74e2618990dbb218c3d82f53e60acd9af0 before c21e4316f584691e234fe121aec5479ae27d1cdd; from 73a8bd74e2618990dbb218c3d82f53e60acd9af0 before ac01bab1bff8f08d57fdaedb624e36fb65d147c6; from 73a8bd74e2618990dbb218c3d82f53e60acd9af0 before 310a2a825a9166b58578dd2ae4e63392b068b0f3; from 73a8bd74e2618990dbb218c3d82f53e60acd9af0 before 6ace56ed7b13a9c6d4cb7ef0d82d3a3d53324a63; 2.6.38 (not affected: before 2.6.38; 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.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/1bf8fa9aa30be0dece05a53f4a4830920520487d>
- <https://git.kernel.org/stable/c/cbcc4e9a51b55b67e43b3b5e910e3e798d25a37b>
- <https://git.kernel.org/stable/c/c21e4316f584691e234fe121aec5479ae27d1cdd>
- <https://git.kernel.org/stable/c/ac01bab1bff8f08d57fdaedb624e36fb65d147c6>
- <https://git.kernel.org/stable/c/310a2a825a9166b58578dd2ae4e63392b068b0f3>
- <https://git.kernel.org/stable/c/6ace56ed7b13a9c6d4cb7ef0d82d3a3d53324a63>

## Sources

- CVE List: [CVE-2026-99979](https://www.cve.org/CVERecord?id=CVE-2026-99979), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-99979](https://nvd.nist.gov/vuln/detail/CVE-2026-99979), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-99979 · Whole record: https://cve.day/CVE-2026-99979.json · Rebuilt by cve.day 2026-12-01T06:32:28.134Z
