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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-07-27T20:10:32.779Z
- Modified: 2026-11-18T14:37:34.050Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

(As written by CVE List.)

## Affected

- Linux Linux: from c0b220cf7d80eb8a36ae9f12cae6df4577a6814e before d08d019f2f43a6f9a71e81868bbc326b3afaf37b; from c0b220cf7d80eb8a36ae9f12cae6df4577a6814e before 1451deca9896957159f0666520a792c1b861af4f; from c0b220cf7d80eb8a36ae9f12cae6df4577a6814e before b2c70dd3326809429b709a9c7e9220d29923051a; from c0b220cf7d80eb8a36ae9f12cae6df4577a6814e before 302d57ed7872838b40e56a868fb4c7da7da606e9; from c0b220cf7d80eb8a36ae9f12cae6df4577a6814e before 80600b5d0f3ecb9324120dc95b5e915130f516c5; from c0b220cf7d80eb8a36ae9f12cae6df4577a6814e before b0d0eb13a0441a8ebf4f227843deaf494f1e2c33; from c0b220cf7d80eb8a36ae9f12cae6df4577a6814e before 6428634f7a0b7878144b4925c37856bef3224967; from c0b220cf7d80eb8a36ae9f12cae6df4577a6814e before 46c3b8191aad3d032776bf3bebf03efdf5f4b905; 5.3 (not affected: before 5.3; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 5.3 before 5.10.261; from 5.11 before 5.15.212; from 5.16 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.97; from 6.13 before 6.18.40; from 6.19 before 7.1.5
- siemens simatic_s7-1500_cpu_1518-4_pn/dp_mfp_firmware: 3.1.6; 3.1.7
- siemens simatic_s7-1500_cpu_1518f-4_pn/dp_mfp_firmware: 3.1.6; 3.1.7
- siemens siplus_s7-1500_cpu_1518-4_pn/dp_mfp_firmware: 3.1.6; 3.1.7

## References

- <https://git.kernel.org/stable/c/d08d019f2f43a6f9a71e81868bbc326b3afaf37b> (patch)
- <https://git.kernel.org/stable/c/1451deca9896957159f0666520a792c1b861af4f> (patch)
- <https://git.kernel.org/stable/c/b2c70dd3326809429b709a9c7e9220d29923051a> (patch)
- <https://git.kernel.org/stable/c/302d57ed7872838b40e56a868fb4c7da7da606e9> (patch)
- <https://git.kernel.org/stable/c/80600b5d0f3ecb9324120dc95b5e915130f516c5> (patch)
- <https://git.kernel.org/stable/c/b0d0eb13a0441a8ebf4f227843deaf494f1e2c33> (patch)
- <https://git.kernel.org/stable/c/6428634f7a0b7878144b4925c37856bef3224967> (patch)
- <https://git.kernel.org/stable/c/46c3b8191aad3d032776bf3bebf03efdf5f4b905> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html> (vendor-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-64538](https://www.cve.org/CVERecord?id=CVE-2026-64538), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-64538](https://nvd.nist.gov/vuln/detail/CVE-2026-64538), Public domain, modified 2026-11-18

---

Page: https://cve.day/CVE-2026-64538 · Whole record: https://cve.day/CVE-2026-64538.json · Rebuilt by cve.day 2026-11-25T22:59:30.267Z
