CVE-2026-64538
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf6.12 | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel-tools-devel | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| perf | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| kernel6.18-devel | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| kernel-modules-extra | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
4 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | c0b220cf7d80eb8a36ae9f12cae6df4577a6814e, c0b220cf7d80eb8a36ae9f12cae6df4577a6814e, c0b220cf7d80eb8a36ae9f12cae6df4577a6814e |
| Linux | Linux | 5.3, 0, 5.10.261 |
| amazon:2023 | python3-perf6.12 | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | 3.1.6, 3.1.7 |
| amazon:2023 | kernel-tools-devel | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.7, 3.1.6 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.1.180-225.360 | 0 |
| Linux | Linux | 7.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