{"id":"CVE-2026-143144","state":"PUBLISHED","title":"ipv6: reject routes without an inet6_dev","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: reject routes without an inet6_dev\n\nip6_route_output() and ip6_route_lookup() can return an error-free route\nwhose rt6i_idev is NULL.  Lowering an external nexthop device's MTU below\nIPV6_MIN_MTU tears down its inet6_dev, while fib6_ifdown() leaves routes\nusing nexthop objects in the FIB.\n\nAn unprivileged user with CAP_NET_ADMIN in a private user and network\nnamespace can construct this state.  Consumers which treat a route without\nan error as usable can then dereference the NULL rt6i_idev.  This was\nreproduced as a KASAN NULL pointer dereference in ip6_tnl_xmit().\n\nAn audit of IPv6 route and tunnel users found this unchecked\nip6_dst_idev() dereference.\n\nA similar missing inet6_dev check was fixed in commit 1b9b5323725e\n(\"netfilter: ip6t_rpfilter: reject routes without inet6_dev\").  However,\nthe route construction path still marks routes without an inet6_dev as\nsuccessful, leaving every consumer responsible for the same check.\n\nAcquire the inet6_dev reference before initializing the destination.  If a\nnon-reject route has no inet6_dev, initialize it as RTN_UNREACHABLE instead\nof a successful route.  Explicit reject routes keep their original type and\nerror.  This establishes that ordinary error-free IPv6 routes have an\ninet6_dev while retaining the existing defensive checks at callers.\n\nThe modified route object builds cleanly with W=1.  A full x86_64 KASAN\nbzImage build completes; it reports two pre-existing kernel-doc warnings\noutside this change.\n\nTests:\n  - `make W=1 net/ipv6/route.o`\n  - full x86_64 KASAN `bzImage` build with `W=1`\n  - KASAN QEMU with an unprivileged user and network namespace: after\n    lowering the MTU, the stale route returned `No route to host`, a normal\n    route still resolved, and the collect_md trigger completed without\n    KASAN, oops, or panic\n  - `tools/testing/selftests/net/ip6_tunnel.sh` in the same KASAN QEMU","publishedAt":"2026-12-03T09:19:49.386Z","updatedAt":"2026-12-03T09:19:49.386Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5b98324ebe29f4494b0fc45bde2d47ee716518fd","status":"affected","lessThan":"af5fe27f849abcb8c7ea5c290bb92ecda26bcad9","versionType":"git"},{"version":"5b98324ebe29f4494b0fc45bde2d47ee716518fd","status":"affected","lessThan":"69eda49301b506338ac33c49d5daa595e8778a4f","versionType":"git"},{"version":"5b98324ebe29f4494b0fc45bde2d47ee716518fd","status":"affected","lessThan":"255bc679c64659764f9e67d04c82379d0fe8722f","versionType":"git"},{"version":"5b98324ebe29f4494b0fc45bde2d47ee716518fd","status":"affected","lessThan":"d0a692fce5408596ded6a4f40ce13844df72c62f","versionType":"git"},{"version":"5b98324ebe29f4494b0fc45bde2d47ee716518fd","status":"affected","lessThan":"0f296ae8f4d69638b694ff69de1c868ce87942ac","versionType":"git"},{"version":"5b98324ebe29f4494b0fc45bde2d47ee716518fd","status":"affected","lessThan":"08a1eb7a634f665718ebe74e0960e242f597135e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/route.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.3","versionType":"semver"},{"version":"5.10.276","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/route.c"]}],"references":["https://git.kernel.org/stable/c/af5fe27f849abcb8c7ea5c290bb92ecda26bcad9","https://git.kernel.org/stable/c/69eda49301b506338ac33c49d5daa595e8778a4f","https://git.kernel.org/stable/c/255bc679c64659764f9e67d04c82379d0fe8722f","https://git.kernel.org/stable/c/d0a692fce5408596ded6a4f40ce13844df72c62f","https://git.kernel.org/stable/c/0f296ae8f4d69638b694ff69de1c868ce87942ac","https://git.kernel.org/stable/c/08a1eb7a634f665718ebe74e0960e242f597135e"],"weaknesses":[],"ingestedAt":"2026-12-03T09:40:06.136Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143144.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143144","state":"PUBLISHED","datePublished":"2026-12-03T09:19:49.386Z","dateUpdated":"2026-12-03T09:19:49.386Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.354Z"},"containers":{"cna":{"title":"ipv6: reject routes without an inet6_dev","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: reject routes without an inet6_dev\n\nip6_route_output() and ip6_route_lookup() can return an error-free route\nwhose rt6i_idev is NULL.  Lowering an external nexthop device's MTU below\nIPV6_MIN_MTU tears down its inet6_dev, while fib6_ifdown() leaves routes\nusing nexthop objects in the FIB.\n\nAn unprivileged user with CAP_NET_ADMIN in a private user and network\nnamespace can construct this state.  Consumers which treat a route without\nan error as usable can then dereference the NULL rt6i_idev.  This was\nreproduced as a KASAN NULL pointer dereference in ip6_tnl_xmit().\n\nAn audit of IPv6 route and tunnel users found this unchecked\nip6_dst_idev() dereference.\n\nA similar missing inet6_dev check was fixed in commit 1b9b5323725e\n(\"netfilter: ip6t_rpfilter: reject routes without inet6_dev\").  However,\nthe route construction path still marks routes without an inet6_dev as\nsuccessful, leaving every consumer responsible for the same check.\n\nAcquire the inet6_dev reference before initializing the destination.  If a\nnon-reject route has no inet6_dev, initialize it as RTN_UNREACHABLE instead\nof a successful route.  Explicit reject routes keep their original type and\nerror.  This establishes that ordinary error-free IPv6 routes have an\ninet6_dev while retaining the existing defensive checks at callers.\n\nThe modified route object builds cleanly with W=1.  A full x86_64 KASAN\nbzImage build completes; it reports two pre-existing kernel-doc warnings\noutside this change.\n\nTests:\n  - `make W=1 net/ipv6/route.o`\n  - full x86_64 KASAN `bzImage` build with `W=1`\n  - KASAN QEMU with an unprivileged user and network namespace: after\n    lowering the MTU, the stale route returned `No route to host`, a normal\n    route still resolved, and the collect_md trigger completed without\n    KASAN, oops, or panic\n  - `tools/testing/selftests/net/ip6_tunnel.sh` in the same KASAN QEMU"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5b98324ebe29f4494b0fc45bde2d47ee716518fd","status":"affected","lessThan":"af5fe27f849abcb8c7ea5c290bb92ecda26bcad9","versionType":"git"},{"version":"5b98324ebe29f4494b0fc45bde2d47ee716518fd","status":"affected","lessThan":"69eda49301b506338ac33c49d5daa595e8778a4f","versionType":"git"},{"version":"5b98324ebe29f4494b0fc45bde2d47ee716518fd","status":"affected","lessThan":"255bc679c64659764f9e67d04c82379d0fe8722f","versionType":"git"},{"version":"5b98324ebe29f4494b0fc45bde2d47ee716518fd","status":"affected","lessThan":"d0a692fce5408596ded6a4f40ce13844df72c62f","versionType":"git"},{"version":"5b98324ebe29f4494b0fc45bde2d47ee716518fd","status":"affected","lessThan":"0f296ae8f4d69638b694ff69de1c868ce87942ac","versionType":"git"},{"version":"5b98324ebe29f4494b0fc45bde2d47ee716518fd","status":"affected","lessThan":"08a1eb7a634f665718ebe74e0960e242f597135e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/route.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.3","versionType":"semver"},{"version":"5.10.276","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/route.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/af5fe27f849abcb8c7ea5c290bb92ecda26bcad9"},{"url":"https://git.kernel.org/stable/c/69eda49301b506338ac33c49d5daa595e8778a4f"},{"url":"https://git.kernel.org/stable/c/255bc679c64659764f9e67d04c82379d0fe8722f"},{"url":"https://git.kernel.org/stable/c/d0a692fce5408596ded6a4f40ce13844df72c62f"},{"url":"https://git.kernel.org/stable/c/0f296ae8f4d69638b694ff69de1c868ce87942ac"},{"url":"https://git.kernel.org/stable/c/08a1eb7a634f665718ebe74e0960e242f597135e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:19:49.386Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.10.276"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.15.227"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}