VDB

CVE-2026-64538

CVE-2026-64538 PUBLISHED

ipv6: Fix null-ptr-deref in fib6_nh_mtu_change().

Reported by linux · Published July 27, 2026

In the Linux kernel, the following vulnerability has been resolved: ipv6: Fix null-ptr-deref in fib6_nh_mtu_change(). fib6_nh_mtu_change() re-fetches idev via __in6_dev_get(arg->dev) and dereferences idev->cnf.mtu6 without a NULL check. addrconf_ifdown() clears dev->ip6_ptr with RCU_INIT_POINTER() after rt6_disable_ip() has released tb6_lock, so the RA-driven MTU walk can observe a NULL idev and oops. The caller rt6_mtu_change_route() guards its own __in6_dev_get(), but this re-fetch is unguarded; nexthop-backed routes survive addrconf_ifdown()'s flush, so the walk still reaches it after ip6_ptr is nulled. Return 0 when idev is NULL, matching rt6_mtu_change_route() and the fib6_mtu() fix in commit 5ad509c1fdad ("ipv6: Fix null-ptr-deref in fib6_mtu()."). Oops: general protection fault, ... KASAN: null-ptr-deref in range [0x00000000000002a8-0x00000000000002af] RIP: 0010:fib6_nh_mtu_change+0x203/0x990 rt6_mtu_change_route+0x141/0x1d0 __fib6_clean_all+0xd0/0x160 rt6_mtu_change+0xb4/0x100 ndisc_router_discovery+0x24b5/0x2cb0 icmpv6_rcv+0x12e9/0x1710 ipv6_rcv+0x39b/0x410

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perf6.12Amazon Linux1:6.12.100-125.179.amzn2023
kernel-tools-develAmazon Linux1:6.1.180-225.360.amzn2023
perfAmazon Linux1:6.1.180-225.360.amzn2023
kernel6.18-develAmazon Linux1:6.18.41-94.142.amzn2023
kernel-modules-extraAmazon Linux1:6.1.180-225.360.amzn2023
kernel6.12Amazon Linux1:6.12.100-125.179.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.100-125.179.amzn2023
perf6.18Amazon Linux1:6.18.41-94.142.amzn2023
bpftool6.12Amazon Linux1:6.12.100-125.179.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.100-125.179.amzn2023
kernel-develAmazon Linux1:6.1.180-225.360.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.41-94.142.amzn2023

4 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinuxc0b220cf7d80eb8a36ae9f12cae6df4577a6814e, c0b220cf7d80eb8a36ae9f12cae6df4577a6814e, c0b220cf7d80eb8a36ae9f12cae6df4577a6814e
LinuxLinux5.3, 0, 5.10.261
amazon:2023python3-perf6.120
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)3.1.6, 3.1.7
amazon:2023kernel-tools-devel0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.7, 3.1.6
amazon:2023perf0
amazon:2023kernel6.18-devel0
amazon:2023kernel-modules-extra0
amazon:2023kernel6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023perf6.180
amazon:2023bpftool6.120
amazon:2023kernel6.12-tools0
amazon:2023kernel-devel0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023microvm-kernel6.180
amazon:2023kernel-livepatch-6.1.180-225.3600
LinuxLinux7.2, *, *

…and 26 more

Timeline

  • Jul 27, 2026 CVE Published
  • Jul 28, 2026 Coalition ESS Score
  • Jul 28, 2026 Security Advisory
  • Aug 7, 2026 EPSS Score (17 in total, the first dated here)
  • Nov 10, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64538
vulnetix vdb fixes CVE-2026-64538

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64538/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›