# CVE-2026-64542: ipv6: ndisc: fix NULL deref in accept\_untracked\_na()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-07-27T20:10:34.994Z
- **Modified:** 2026-11-17T19:25:19.353Z

## Who should check

- Anyone running Linux \>= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, \< e5ba3017e46f275ad347e762e8eecacec5efa41d; \>= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, \< 160d3f0d7a556ceae505dcab521a37057b4ce28f; \>= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, \< 62c719203cb521b64fab74da94a81bdde5c18808; \>= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, \< a6450f7cfae57b382cbaf66a577765c9a88b3c58; \>= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, \< 63d1c23764de2309cedbb779c75188d257a09d9b; \>= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, \< d186e942365acece7c56d39da05dd63bf95b280a
- Anyone running Linux 6.0

## Description

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

ipv6: ndisc: fix NULL deref in accept\_untracked\_na()

accept\_untracked\_na() re-fetches the inet6\_dev with \_\_in6\_dev\_get(dev)
and dereferences idev-\>cnf.accept\_untracked\_na without a NULL check,
even though its only caller ndisc\_recv\_na() already fetched and
NULL-checked idev for the same device.

Both reads of dev-\>ip6\_ptr run in the same RCU read-side critical
section, but a concurrent addrconf\_ifdown() can clear dev-\>ip6\_ptr
between them: lowering the MTU below IPV6\_MIN\_MTU calls addrconf\_ifdown()
without the synchronize\_net() that orders the unregister path, so the
re-fetch returns NULL and oopses:

 BUG: KASAN: null-ptr-deref in ndisc\_recv\_na (net/ipv6/ndisc.c:974)
 Read of size 4 at addr 0000000000000364
 Call Trace:
  \<IRQ\>
  ndisc\_recv\_na (net/ipv6/ndisc.c:974)
  icmpv6\_rcv (net/ipv6/icmp.c:1193)
  ip6\_protocol\_deliver\_rcu (net/ipv6/ip6\_input.c:479)
  ip6\_input\_finish (net/ipv6/ip6\_input.c:534)
  ip6\_input (net/ipv6/ip6\_input.c:545)
  ip6\_mc\_input (net/ipv6/ip6\_input.c:635)
  ipv6\_rcv (net/ipv6/ip6\_input.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-\>ip6\_ptr has been cleared.

## Affected and fixed versions

- Linux: \>= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, \< e5ba3017e46f275ad347e762e8eecacec5efa41d; \>= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, \< 160d3f0d7a556ceae505dcab521a37057b4ce28f; \>= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, \< 62c719203cb521b64fab74da94a81bdde5c18808; \>= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, \< a6450f7cfae57b382cbaf66a577765c9a88b3c58; \>= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, \< 63d1c23764de2309cedbb779c75188d257a09d9b; \>= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, \< d186e942365acece7c56d39da05dd63bf95b280a (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64542. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64542.md
Affected: Linux >= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, < e5ba3017e46f275ad347e762e8eecacec5efa41d; >= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, < 160d3f0d7a556ceae505dcab521a37057b4ce28f; >= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, < 62c719203cb521b64fab74da94a81bdde5c18808; >= aaa5f515b16b6b3e137779f…
Fixed in: Linux 160d3f0d7a556ceae505dcab521a37057b4ce28f, Linux 62c719203cb521b64fab74da94a81bdde5c18808, Linux 63d1c23764de2309cedbb779c75188d257a09d9b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64542 being exploited?

There is no confirmed exploitation: CVE-2026-64542 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64542?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64542?

Linux \>= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, \< e5ba3017e46f275ad347e762e8eecacec5efa41d; \>= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, \< 160d3f0d7a556ceae505dcab521a37057b4ce28f; \>= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, \< 62c719203cb521b64fab74da94a81bdde5c18808; \>= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, \< a6450f7cfae57b382cbaf66a577765c9a88b3c58; \>= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, \< 63d1c23764de2309cedbb779c75188d257a09d9b; \>= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, \< d186e942365acece7c56d39da05dd63bf95b280a; Linux 6.0.

### Is there a fix for CVE-2026-64542?

Yes. Fixed in Linux 160d3f0d7a556ceae505dcab521a37057b4ce28f, Linux 62c719203cb521b64fab74da94a81bdde5c18808, Linux 63d1c23764de2309cedbb779c75188d257a09d9b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-64542?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/e5ba3017e46f275ad347e762e8eecacec5efa41d>
- patch: <https://git.kernel.org/stable/c/160d3f0d7a556ceae505dcab521a37057b4ce28f>
- patch: <https://git.kernel.org/stable/c/62c719203cb521b64fab74da94a81bdde5c18808>
- patch: <https://git.kernel.org/stable/c/a6450f7cfae57b382cbaf66a577765c9a88b3c58>
- patch: <https://git.kernel.org/stable/c/63d1c23764de2309cedbb779c75188d257a09d9b>
- patch: <https://git.kernel.org/stable/c/d186e942365acece7c56d39da05dd63bf95b280a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64542>

HTML: <https://flawdb.com/CVE-2026-64542> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64542>
