{"id":"CVE-2026-64542","published":"2026-07-27T20:10:34Z","modified":"2026-11-06T16:44:56Z","title":"ipv6: ndisc: fix NULL deref in accept_untracked_na()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: ndisc: fix NULL deref in accept_untracked_na()\n\naccept_untracked_na() re-fetches the inet6_dev with __in6_dev_get(dev)\nand dereferences idev->cnf.accept_untracked_na without a NULL check,\neven though its only caller ndisc_recv_na() already fetched and\nNULL-checked idev for the same device.\n\nBoth reads of dev->ip6_ptr run in the same RCU read-side critical\nsection, but a concurrent addrconf_ifdown() can clear dev->ip6_ptr\nbetween them: lowering the MTU below IPV6_MIN_MTU calls addrconf_ifdown()\nwithout the synchronize_net() that orders the unregister path, so the\nre-fetch returns NULL and oopses:\n\n BUG: KASAN: null-ptr-deref in ndisc_recv_na (net/ipv6/ndisc.c:974)\n Read of size 4 at addr 0000000000000364\n Call Trace:\n  <IRQ>\n  ndisc_recv_na (net/ipv6/ndisc.c:974)\n  icmpv6_rcv (net/ipv6/icmp.c:1193)\n  ip6_protocol_deliver_rcu (net/ipv6/ip6_input.c:479)\n  ip6_input_finish (net/ipv6/ip6_input.c:534)\n  ip6_input (net/ipv6/ip6_input.c:545)\n  ip6_mc_input (net/ipv6/ip6_input.c:635)\n  ipv6_rcv (net/ipv6/ip6_input.c:351)\n  </IRQ>\n\nIt is reachable by an unprivileged user via a network namespace.\n\nPass the caller's already validated idev instead of re-fetching it; the\nidev stays alive for the whole RCU critical section, so it is safe even\nafter dev->ip6_ptr has been cleared.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00162,"percentile":0.03031,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/e5ba3017e46f275ad347e762e8eecacec5efa41d","tags":[]},{"url":"https://git.kernel.org/stable/c/160d3f0d7a556ceae505dcab521a37057b4ce28f","tags":[]},{"url":"https://git.kernel.org/stable/c/62c719203cb521b64fab74da94a81bdde5c18808","tags":[]},{"url":"https://git.kernel.org/stable/c/a6450f7cfae57b382cbaf66a577765c9a88b3c58","tags":[]},{"url":"https://git.kernel.org/stable/c/63d1c23764de2309cedbb779c75188d257a09d9b","tags":[]},{"url":"https://git.kernel.org/stable/c/d186e942365acece7c56d39da05dd63bf95b280a","tags":[]}],"priority":{"score":0.6,"factors":[{"name":"EPSS percentile","points":0.61}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, < e5ba3017e46f275ad347e762e8eecacec5efa41d",">= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, < 160d3f0d7a556ceae505dcab521a37057b4ce28f",">= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, < 62c719203cb521b64fab74da94a81bdde5c18808",">= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, < a6450f7cfae57b382cbaf66a577765c9a88b3c58",">= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, < 63d1c23764de2309cedbb779c75188d257a09d9b",">= aaa5f515b16b6b3e137779ffb4c9558bb58c1e75, < d186e942365acece7c56d39da05dd63bf95b280a"]},{"vendor":"Linux","product":"Linux","versions":["6.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-06T16:41:10.310401Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-49593","exploited":false,"provenance":"source"}}