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

Published Jul 27, 2026
·
Updated

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

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

fib6nhmtuchange() re-fetches idev via in6devget(arg->dev) and dereferences idev->cnf.mtu6 without a NULL check. addrconfifdown() clears dev->ip6ptr with RCUINITPOINTER() after rt6disableip() has released tb6lock, so the RA-driven MTU walk can observe a NULL idev and oops. The caller rt6mtuchangeroute() guards its own in6devget(), but this re-fetch is unguarded; nexthop-backed routes survive addrconfifdown()'s flush, so the walk still reaches it after ip6ptr is nulled.

Return 0 when idev is NULL, matching rt6mtuchangeroute() and the fib6mtu() fix in commit 5ad509c1fdad ("ipv6: Fix null-ptr-deref in fib6mtu().").

Oops: general protection fault, ... KASAN: null-ptr-deref in range [0x00000000000002a8-0x00000000000002af] RIP: 0010:fib6nhmtuchange+0x203/0x990 rt6mtuchangeroute+0x141/0x1d0 fib6cleanall+0xd0/0x160 rt6mtuchange+0xb4/0x100 ndiscrouterdiscovery+0x24b5/0x2cb0 icmpv6rcv+0x12e9/0x1710 ipv6rcv+0x39b/0x410

Affected Software

1 affected component
Linux Kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 5ad509c1fdad

Event History

Jul 27, 2026
CVE Published
via MITRE·08:10 PM
Data Sourced
via MITRE·08:10 PM
Description
Data Sourced
via NVD·09:17 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2026-64538?

The severity of CVE-2026-64538 is rated at risk level 37.

2

How do I fix CVE-2026-64538?

To fix CVE-2026-64538, update to the latest version of the Linux Kernel that addresses this vulnerability.

3

What specific issue does CVE-2026-64538 address?

CVE-2026-64538 addresses a null pointer dereference issue in the fib6_nh_mtu_change function of the Linux Kernel.

4

Which versions of the Linux Kernel are affected by CVE-2026-64538?

CVE-2026-64538 affects certain versions of the Linux Kernel prior to the fix being implemented.

5

What are the potential impacts of CVE-2026-64538?

The impact of CVE-2026-64538 can lead to system crashes or instability due to null pointer dereferencing.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203