{"id":"CVE-2026-99074","aliases":["CVE-2026-99074"],"related":[],"kind":"vulnerability","state":"published","title":"ipv4: stop PMTU walk when nexthop group shrinks","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv4: stop PMTU walk when nexthop group shrinks\n\nCommit 7d3f3b4367f3 (\"net: ipv4: Cache pmtu for all packet paths if\nmultipath enabled\") made __ip_rt_update_pmtu() update every path.\n\nFor nexthop objects, fib_info_num_path() and fib_info_nhc()\nindependently load nh->nh_grp.  RCU protects each group's lifetime but\ndoes not make the loads observe the same group.  If replacement shrinks\nthe group after the loop accepts an index, fib_info_nhc() returns NULL\nand update_or_create_fnhe() dereferences it.\n\nA deterministic probe only widened the existing window between the real\noperations.  On v7.2, an RTM_NEWNEXTHOP replacement published a\none-member group after the PMTU reader accepted index 1 from a two-member\ngroup, producing:\n\n  KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]\n  RIP: update_or_create_fnhe+0x45/0x15b0\n\nStop when the indexed path is absent.  Groups are dense, so no later\nindex exists in that snapshot.  The same real-writer window completed\n114,423 PMTU iterations without an oops with this check.  A reproducer\nis available on request.\n\nReplacement requires CAP_NET_ADMIN in the network namespace.  Where\nunprivileged user namespaces are permitted, a local user can obtain it\nin a new user and network namespace.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv4: stop PMTU walk when nexthop group shrinks\n\nCommit 7d3f3b4367f3 (\"net: ipv4: Cache pmtu for all packet paths if\nmultipath enabled\") made __ip_rt_update_pmtu() update every path.\n\nFor nexthop objects, fib_info_num_path() and fib_info_nhc()\nindependently load nh->nh_grp.  RCU protects each group's lifetime but\ndoes not make the loads observe the same group.  If replacement shrinks\nthe group after the loop accepts an index, fib_info_nhc() returns NULL\nand update_or_create_fnhe() dereferences it.\n\nA deterministic probe only widened the existing window between the real\noperations.  On v7.2, an RTM_NEWNEXTHOP replacement published a\none-member group after the PMTU reader accepted index 1 from a two-member\ngroup, producing:\n\n  KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]\n  RIP: update_or_create_fnhe+0x45/0x15b0\n\nStop when the indexed path is absent.  Groups are dense, so no later\nindex exists in that snapshot.  The same real-writer window completed\n114,423 PMTU iterations without an oops with this check.  A reproducer\nis available on request.\n\nReplacement requires CAP_NET_ADMIN in the network namespace.  Where\nunprivileged user namespaces are permitted, a local user can obtain it\nin a new user and network namespace.","source":"cvelist"}],"published":"2026-10-23T12:23:17.866Z","modified":"2026-10-30T13:21:43.640Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"fc07a232326a623d0be482e307c08ea7049c2846","fixed":"82d83eec893d8ae84f280aec44c60d9fdecc62b5","status":"affected"},{"type":"git","introduced":"b1f7bdee5750d6cbb9497140cd6582abc5fdcb9e","fixed":"a411df69524f91fe3adb8f9544d33e701fc9732c","status":"affected"},{"type":"git","introduced":"3bed2abab4a682d426624ce9add9d7b6d475d4e4","fixed":"7fd60d3c9a1e1b11ef5f1643bbae78d91eae2f4a","status":"affected"},{"type":"git","introduced":"7f5005457b3072fe1ddf15bfef869f2a1d98e05e","fixed":"c60d17d6dd61adc761ac6f65a008fefbc54cbf87","status":"affected"},{"type":"git","introduced":"7d3f3b4367f315a61fc615e3138f3d320da8c466","fixed":"c6d670ac656badfd0e15355e07a13a6bdf3b69fd","status":"affected"},{"type":"git","introduced":"7d3f3b4367f315a61fc615e3138f3d320da8c466","fixed":"f27483f9975b5065ff67054cc7eb8edac6083488","status":"affected"},{"type":"git","introduced":"7d3f3b4367f315a61fc615e3138f3d320da8c466","fixed":"6619e01855e65ef35723685a557e3eb106f4ecf5","status":"affected"},{"type":"semver","introduced":"5.15.179","fixed":"5.15.224","status":"affected"},{"type":"semver","introduced":"6.1.129","fixed":"6.1.191","status":"affected"},{"type":"semver","introduced":"6.6.79","fixed":"6.6.160","status":"affected"},{"type":"semver","introduced":"6.12.16","fixed":"6.12.113","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.11","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/82d83eec893d8ae84f280aec44c60d9fdecc62b5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a411df69524f91fe3adb8f9544d33e701fc9732c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7fd60d3c9a1e1b11ef5f1643bbae78d91eae2f4a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c60d17d6dd61adc761ac6f65a008fefbc54cbf87","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c6d670ac656badfd0e15355e07a13a6bdf3b69fd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f27483f9975b5065ff67054cc7eb8edac6083488","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6619e01855e65ef35723685a557e3eb106f4ecf5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99074","url":"https://www.cve.org/CVERecord?id=CVE-2026-99074","licence":"CVE Terms of Use","modified":"2026-10-30T12:41:33.126Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99074","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99074","licence":"Public domain","modified":"2026-10-30T13:21:43.640Z"}],"updatedAt":"2026-11-25T22:59:46.968Z","epss":{"score":0.00205,"percentile":0.05914,"date":"2026-11-30T12:00:22.000Z"}}