CVE-2026-64542: ipv6: ndisc: fix NULL deref in accept_untracked_na()

Published Jul 27, 2026
·
Updated

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

ipv6: ndisc: fix NULL deref in acceptuntrackedna()

acceptuntrackedna() re-fetches the inet6dev with in6devget(dev) and dereferences idev->cnf.acceptuntrackedna without a NULL check, even though its only caller ndiscrecvna() already fetched and NULL-checked idev for the same device.

Both reads of dev->ip6ptr run in the same RCU read-side critical section, but a concurrent addrconfifdown() can clear dev->ip6ptr between them: lowering the MTU below IPV6MINMTU calls addrconfifdown() without the synchronizenet() that orders the unregister path, so the re-fetch returns NULL and oopses:

BUG: KASAN: null-ptr-deref in ndiscrecvna (net/ipv6/ndisc.c:974) Read of size 4 at addr 0000000000000364 Call Trace: <IRQ> ndiscrecvna (net/ipv6/ndisc.c:974) icmpv6rcv (net/ipv6/icmp.c:1193) ip6protocoldeliverrcu (net/ipv6/ip6input.c:479) ip6inputfinish (net/ipv6/ip6input.c:534) ip6input (net/ipv6/ip6input.c:545) ip6mcinput (net/ipv6/ip6input.c:635) ipv6rcv (net/ipv6/ip6input.c:351) </IRQ>

It is reachable by an unprivileged user via a network namespace.

Pass the caller's already validated idev instead of re-fetching it; the idev stays alive for the whole RCU critical section, so it is safe even after dev->ip6ptr has been cleared.

Affected Software

2 affected componentsFixes available
Linux Kernel
Microsoft azl3 kernel 6.6.145.2-1<6.6.150.1-1
6.6.150.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 6.6.150.1-1

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
Aug 9, 2026
Data Sourced
via Microsoft·08:41 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:41 AM
Affected Software
Updated
via Microsoft·08:41 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2026-64542?

The severity of CVE-2026-64542 is rated as risk 26.

2

How do I fix CVE-2026-64542?

To fix CVE-2026-64542, ensure you update to the latest version of the Linux kernel that addresses this vulnerability.

3

What component of the Linux kernel is affected by CVE-2026-64542?

CVE-2026-64542 affects the IPv6 networking stack in the Linux kernel.

4

What type of vulnerability is CVE-2026-64542?

CVE-2026-64542 is a NULL dereference vulnerability in the Linux kernel's handling of Neighbor Discovery Protocol.

5

Who is impacted by CVE-2026-64542?

Users and systems running vulnerable versions of the Linux kernel that utilize IPv6 are impacted by CVE-2026-64542.

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