{"id":"CVE-2026-64538","aliases":["CVE-2026-64538"],"related":[],"kind":"vulnerability","state":"published","title":"ipv6: Fix null-ptr-deref in fib6_nh_mtu_change().","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: Fix null-ptr-deref in fib6_nh_mtu_change().\n\nfib6_nh_mtu_change() re-fetches idev via __in6_dev_get(arg->dev) and\ndereferences idev->cnf.mtu6 without a NULL check. addrconf_ifdown()\nclears dev->ip6_ptr with RCU_INIT_POINTER() after rt6_disable_ip() has\nreleased tb6_lock, so the RA-driven MTU walk can observe a NULL idev and\noops. The caller rt6_mtu_change_route() guards its own __in6_dev_get(),\nbut this re-fetch is unguarded; nexthop-backed routes survive\naddrconf_ifdown()'s flush, so the walk still reaches it after ip6_ptr is\nnulled.\n\nReturn 0 when idev is NULL, matching rt6_mtu_change_route() and the\nfib6_mtu() fix in commit 5ad509c1fdad (\"ipv6: Fix null-ptr-deref in\nfib6_mtu().\").\n\n  Oops: general protection fault, ... KASAN: null-ptr-deref in range\n        [0x00000000000002a8-0x00000000000002af]\n  RIP: 0010:fib6_nh_mtu_change+0x203/0x990\n   rt6_mtu_change_route+0x141/0x1d0\n   __fib6_clean_all+0xd0/0x160\n   rt6_mtu_change+0xb4/0x100\n   ndisc_router_discovery+0x24b5/0x2cb0\n   icmpv6_rcv+0x12e9/0x1710\n   ipv6_rcv+0x39b/0x410","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: Fix null-ptr-deref in fib6_nh_mtu_change().\n\nfib6_nh_mtu_change() re-fetches idev via __in6_dev_get(arg->dev) and\ndereferences idev->cnf.mtu6 without a NULL check. addrconf_ifdown()\nclears dev->ip6_ptr with RCU_INIT_POINTER() after rt6_disable_ip() has\nreleased tb6_lock, so the RA-driven MTU walk can observe a NULL idev and\noops. The caller rt6_mtu_change_route() guards its own __in6_dev_get(),\nbut this re-fetch is unguarded; nexthop-backed routes survive\naddrconf_ifdown()'s flush, so the walk still reaches it after ip6_ptr is\nnulled.\n\nReturn 0 when idev is NULL, matching rt6_mtu_change_route() and the\nfib6_mtu() fix in commit 5ad509c1fdad (\"ipv6: Fix null-ptr-deref in\nfib6_mtu().\").\n\n  Oops: general protection fault, ... KASAN: null-ptr-deref in range\n        [0x00000000000002a8-0x00000000000002af]\n  RIP: 0010:fib6_nh_mtu_change+0x203/0x990\n   rt6_mtu_change_route+0x141/0x1d0\n   __fib6_clean_all+0xd0/0x160\n   rt6_mtu_change+0xb4/0x100\n   ndisc_router_discovery+0x24b5/0x2cb0\n   icmpv6_rcv+0x12e9/0x1710\n   ipv6_rcv+0x39b/0x410","source":"cvelist"}],"published":"2026-07-27T20:10:32.779Z","modified":"2026-11-18T14:37:34.050Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"c0b220cf7d80eb8a36ae9f12cae6df4577a6814e","fixed":"d08d019f2f43a6f9a71e81868bbc326b3afaf37b","status":"affected"},{"type":"git","introduced":"c0b220cf7d80eb8a36ae9f12cae6df4577a6814e","fixed":"1451deca9896957159f0666520a792c1b861af4f","status":"affected"},{"type":"git","introduced":"c0b220cf7d80eb8a36ae9f12cae6df4577a6814e","fixed":"b2c70dd3326809429b709a9c7e9220d29923051a","status":"affected"},{"type":"git","introduced":"c0b220cf7d80eb8a36ae9f12cae6df4577a6814e","fixed":"302d57ed7872838b40e56a868fb4c7da7da606e9","status":"affected"},{"type":"git","introduced":"c0b220cf7d80eb8a36ae9f12cae6df4577a6814e","fixed":"80600b5d0f3ecb9324120dc95b5e915130f516c5","status":"affected"},{"type":"git","introduced":"c0b220cf7d80eb8a36ae9f12cae6df4577a6814e","fixed":"b0d0eb13a0441a8ebf4f227843deaf494f1e2c33","status":"affected"},{"type":"git","introduced":"c0b220cf7d80eb8a36ae9f12cae6df4577a6814e","fixed":"6428634f7a0b7878144b4925c37856bef3224967","status":"affected"},{"type":"git","introduced":"c0b220cf7d80eb8a36ae9f12cae6df4577a6814e","fixed":"46c3b8191aad3d032776bf3bebf03efdf5f4b905","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.3","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.3","fixed":"5.10.261"},{"status":"affected","introduced":"5.11","fixed":"5.15.212"},{"status":"affected","introduced":"5.16","fixed":"6.1.178"},{"status":"affected","introduced":"6.2","fixed":"6.6.145"},{"status":"affected","introduced":"6.7","fixed":"6.12.97"},{"status":"affected","introduced":"6.13","fixed":"6.18.40"},{"status":"affected","introduced":"6.19","fixed":"7.1.5"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"3.1.6"},{"status":"affected","version":"3.1.7"}],"vendor":"siemens","product":"simatic_s7-1500_cpu_1518-4_pn/dp_mfp_firmware","cpe":"cpe:2.3:o:siemens:simatic_s7-1500_cpu_1518-4_pn\\/dp_mfp_firmware:3.1.6:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"3.1.6"},{"status":"affected","version":"3.1.7"}],"vendor":"siemens","product":"simatic_s7-1500_cpu_1518f-4_pn/dp_mfp_firmware","cpe":"cpe:2.3:o:siemens:simatic_s7-1500_cpu_1518f-4_pn\\/dp_mfp_firmware:3.1.6:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"3.1.6"},{"status":"affected","version":"3.1.7"}],"vendor":"siemens","product":"siplus_s7-1500_cpu_1518-4_pn/dp_mfp_firmware","cpe":"cpe:2.3:o:siemens:siplus_s7-1500_cpu_1518-4_pn\\/dp_mfp_firmware:3.1.6:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d08d019f2f43a6f9a71e81868bbc326b3afaf37b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1451deca9896957159f0666520a792c1b861af4f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b2c70dd3326809429b709a9c7e9220d29923051a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/302d57ed7872838b40e56a868fb4c7da7da606e9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/80600b5d0f3ecb9324120dc95b5e915130f516c5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b0d0eb13a0441a8ebf4f227843deaf494f1e2c33","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6428634f7a0b7878144b4925c37856bef3224967","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/46c3b8191aad3d032776bf3bebf03efdf5f4b905","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:41:04.434Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64538","url":"https://www.cve.org/CVERecord?id=CVE-2026-64538","licence":"CVE Terms of Use","modified":"2026-11-10T12:49:27.750Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64538","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64538","licence":"Public domain","modified":"2026-11-18T14:37:34.050Z"}],"updatedAt":"2026-11-25T22:59:30.267Z","epss":{"score":0.00163,"percentile":0.05727,"date":"2026-12-01T12:00:22.000Z"}}