{"id":"CVE-2026-143144","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T10:17:48.530","lastModified":"2026-12-03T10:17:48.530","vulnStatus":"Received","cveTags":[],"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":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["net/ipv6/route.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5b98324ebe29f4494b0fc45bde2d47ee716518fd","lessThan":"af5fe27f849abcb8c7ea5c290bb92ecda26bcad9","versionType":"git","status":"affected"},{"version":"5b98324ebe29f4494b0fc45bde2d47ee716518fd","lessThan":"69eda49301b506338ac33c49d5daa595e8778a4f","versionType":"git","status":"affected"},{"version":"5b98324ebe29f4494b0fc45bde2d47ee716518fd","lessThan":"255bc679c64659764f9e67d04c82379d0fe8722f","versionType":"git","status":"affected"},{"version":"5b98324ebe29f4494b0fc45bde2d47ee716518fd","lessThan":"d0a692fce5408596ded6a4f40ce13844df72c62f","versionType":"git","status":"affected"},{"version":"5b98324ebe29f4494b0fc45bde2d47ee716518fd","lessThan":"0f296ae8f4d69638b694ff69de1c868ce87942ac","versionType":"git","status":"affected"},{"version":"5b98324ebe29f4494b0fc45bde2d47ee716518fd","lessThan":"08a1eb7a634f665718ebe74e0960e242f597135e","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["net/ipv6/route.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.3","status":"affected"},{"version":"0","lessThan":"5.3","versionType":"semver","status":"unaffected"},{"version":"5.10.276","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.227","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/08a1eb7a634f665718ebe74e0960e242f597135e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/0f296ae8f4d69638b694ff69de1c868ce87942ac","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/255bc679c64659764f9e67d04c82379d0fe8722f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/69eda49301b506338ac33c49d5daa595e8778a4f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/af5fe27f849abcb8c7ea5c290bb92ecda26bcad9","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d0a692fce5408596ded6a4f40ce13844df72c62f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}