CVE-2026-64116

ipv6: ioam: add NULL check for idev in ipv6_hop_ioam()

State
Published
Severity
7.5 High
Published
Jul 19, 2026
Updated
Aug 5, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

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

ipv6: ioam: add NULL check for idev in ipv6_hop_ioam()

Reported by Sashiko:

The function ipv6_hop_ioam() accesses __in6_dev_get(skb->dev)->cnf.ioam6_enabled without validating the returned idev pointer. Because addrconf_ifdown() can concurrently clear dev->ip6_ptr via RCU, __in6_dev_get() can return NULL during interface teardown, which could cause a NULL pointer dereference when processing an IOAM Hop-by-Hop option.

Let's add a check and use SKB_DROP_REASON_IPV6DISABLED accordingly.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0 to before c7e8971abd70e9d022f1c251ba2508f8dc7f2db8Affected
  • 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0 to before 09cbfd4b81ae90963dadb1de99b63b702e73290aAffected
  • 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0 to before 1dca7e491f070ac49b3d934f16ee953a53b37f38Affected
  • 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0 to before 902daac307eb7e1955ce05b071950f3cba88c963Affected
  • 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0 to before abdd03229414b5a52943b65a60f34b84cea5ac59Affected
  • 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0 to before cf75eb6617042c8cff6112daeed7791809fc9dd2Affected
  • 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0 to before d4ea0dfd75011b78cebf3808f98ac4c4f51a6fb9Affected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 5.15.210 through 5.15.*Not affected
  • 6.1.176 through 6.1.*Not affected
  • 6.6.143 through 6.6.*Not affected
  • 6.12.92 through 6.12.*Not affected
  • 6.18.34 through 6.18.*Not affected
  • 7.0.11 through 7.0.*Not affected
  • 7.1 and laterNot affected

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.