{"id":"CVE-2026-139140","state":"PUBLISHED","title":"ipv6: Protect multiple routes insertion by table lock.","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: Protect multiple routes insertion by table lock.\n\nsyzbot reported the warning below. [0]\n\nWhile call_fib6_multipath_entry_notifiers() is called locklessly,\nfib6_siblings could be changed concurrently, leading to the\nwarning (and later null-ptr-deref).\n\nLet's protect multiple routes insertion with tb6_lock.\n\nAlong with that, __ip6_ins_rt() and ip6_route_del() are changed\nto fib6_add() and fib6_del().\n\nNote that fib6_del() finally calls rt6_multipath_rebalance(),\nwhich requires rcu_read_lock().\n\n[0]:\ni != fen6_info->nsiblings\nWARNING: drivers/net/netdevsim/fib.c:831 at nsim_fib6_event_init drivers/net/netdevsim/fib.c:831 [inline], CPU#0: syz.0.157/6279\nWARNING: drivers/net/netdevsim/fib.c:831 at nsim_fib6_prepare_event drivers/net/netdevsim/fib.c:947 [inline], CPU#0: syz.0.157/6279\nWARNING: drivers/net/netdevsim/fib.c:831 at nsim_fib_event_schedule_work drivers/net/netdevsim/fib.c:1003 [inline], CPU#0: syz.0.157/6279\nWARNING: drivers/net/netdevsim/fib.c:831 at nsim_fib_event_nb+0x1029/0x11d0 drivers/net/netdevsim/fib.c:1043, CPU#0: syz.0.157/6279\nModules linked in:\nCPU: 0 UID: 0 PID: 6279 Comm: syz.0.157 Not tainted syzkaller #0 PREEMPT(full)\nHardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026\nRIP: 0010:nsim_fib6_event_init drivers/net/netdevsim/fib.c:831 [inline]\nRIP: 0010:nsim_fib6_prepare_event drivers/net/netdevsim/fib.c:947 [inline]\nRIP: 0010:nsim_fib_event_schedule_work drivers/net/netdevsim/fib.c:1003 [inline]\nRIP: 0010:nsim_fib_event_nb+0x1029/0x11d0 drivers/net/netdevsim/fib.c:1043\nCode: eb 0d 4d 89 fd e8 b7 c5 6c fa be 01 00 00 00 48 89 df e8 5a 38 85 fd 4d 89 ef 4c 8b 6c 24 20 e9 4a f3 ff ff e8 98 c5 6c fa 90 <0f> 0b 90 e9 db fa ff ff 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c df f0\nRSP: 0018:ffffc900047bef10 EFLAGS: 00010293\nRAX: ffffffff875b59a8 RBX: 0000000000000002 RCX: ffff888079770000\nRDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001\nRBP: ffffc900047bf0a0 R08: ffff88805c0bb02f R09: 1ffff1100b817605\nR10: dffffc0000000000 R11: ffffed100b817606 R12: dffffc0000000000\nR13: 0000000000000000 R14: 0000000000000001 R15: ffff88802c792000\nFS:  00007f334ba076c0(0000) GS:ffff888123ad0000(0000) knlGS:0000000000000000\nCS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\nCR2: 00007f334ba06ff8 CR3: 000000007a5b2000 CR4: 00000000003526f0\nCall Trace:\n <TASK>\n notifier_call_chain+0x1a5/0x3d0 kernel/notifier.c:85\n atomic_notifier_call_chain+0xda/0x180 kernel/notifier.c:223\n call_fib_notifiers+0x31/0x60 net/core/fib_notifier.c:36\n call_fib6_multipath_entry_notifiers+0xf5/0x160 net/ipv6/ip6_fib.c:428\n ip6_route_multipath_add net/ipv6/route.c:5542 [inline]\n inet6_rtm_newroute+0x14f5/0x1a30 net/ipv6/route.c:5664\n rtnetlink_rcv_msg+0x802/0xc00 net/core/rtnetlink.c:7163\n netlink_rcv_skb+0x226/0x4a0 net/netlink/af_netlink.c:2572\n netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline]\n netlink_unicast+0x7bd/0x940 net/netlink/af_netlink.c:1361\n netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1916\n sock_sendmsg_nosec+0x14e/0x190 net/socket.c:800\n __sock_sendmsg net/socket.c:818 [inline]\n ____sys_sendmsg+0x54e/0x850 net/socket.c:2715\n ___sys_sendmsg+0x2a5/0x360 net/socket.c:2769\n __sys_sendmmsg+0x273/0x4d0 net/socket.c:2858\n __do_sys_sendmmsg net/socket.c:2885 [inline]\n __se_sys_sendmmsg net/socket.c:2882 [inline]\n __x64_sys_sendmmsg+0xa0/0xc0 net/socket.c:2882\n do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]\n do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\nRIP: 0033:0x7f334ab9e1d9\nCode: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48\nRSP: 002b:00007f334ba07028 EFLAGS: 00000246 ORIG_RAX: 0000000000000133\nRAX: ffffffffffffffda RBX: 00007f334ae26090 RCX: 00007f334ab9e1d9\nRDX: 04000000000001f2 RSI: 0\n---truncated---","publishedAt":"2026-11-30T13:31:57.110Z","updatedAt":"2026-11-30T13:31:57.110Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"169fd62799e8acabbfb4760799be11138ced949c","status":"affected","lessThan":"88427a63afa99e11db98e12f9245bb5a626b9b1a","versionType":"git"},{"version":"169fd62799e8acabbfb4760799be11138ced949c","status":"affected","lessThan":"3de1e2d28d1b51e01897b3e523d3a73d9ab3f785","versionType":"git"},{"version":"169fd62799e8acabbfb4760799be11138ced949c","status":"affected","lessThan":"4c6fbb1fbafa85029fa789b5b01f39ebcb459d1a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/ip6_fib.c","net/ipv6/route.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/ip6_fib.c","net/ipv6/route.c"]}],"references":["https://git.kernel.org/stable/c/88427a63afa99e11db98e12f9245bb5a626b9b1a","https://git.kernel.org/stable/c/3de1e2d28d1b51e01897b3e523d3a73d9ab3f785","https://git.kernel.org/stable/c/4c6fbb1fbafa85029fa789b5b01f39ebcb459d1a"],"weaknesses":[],"ingestedAt":"2026-11-30T13:44:05.999Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139140.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139140","state":"PUBLISHED","datePublished":"2026-11-30T13:31:57.110Z","dateUpdated":"2026-11-30T13:31:57.110Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.916Z"},"containers":{"cna":{"title":"ipv6: Protect multiple routes insertion by table lock.","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: Protect multiple routes insertion by table lock.\n\nsyzbot reported the warning below. [0]\n\nWhile call_fib6_multipath_entry_notifiers() is called locklessly,\nfib6_siblings could be changed concurrently, leading to the\nwarning (and later null-ptr-deref).\n\nLet's protect multiple routes insertion with tb6_lock.\n\nAlong with that, __ip6_ins_rt() and ip6_route_del() are changed\nto fib6_add() and fib6_del().\n\nNote that fib6_del() finally calls rt6_multipath_rebalance(),\nwhich requires rcu_read_lock().\n\n[0]:\ni != fen6_info->nsiblings\nWARNING: drivers/net/netdevsim/fib.c:831 at nsim_fib6_event_init drivers/net/netdevsim/fib.c:831 [inline], CPU#0: syz.0.157/6279\nWARNING: drivers/net/netdevsim/fib.c:831 at nsim_fib6_prepare_event drivers/net/netdevsim/fib.c:947 [inline], CPU#0: syz.0.157/6279\nWARNING: drivers/net/netdevsim/fib.c:831 at nsim_fib_event_schedule_work drivers/net/netdevsim/fib.c:1003 [inline], CPU#0: syz.0.157/6279\nWARNING: drivers/net/netdevsim/fib.c:831 at nsim_fib_event_nb+0x1029/0x11d0 drivers/net/netdevsim/fib.c:1043, CPU#0: syz.0.157/6279\nModules linked in:\nCPU: 0 UID: 0 PID: 6279 Comm: syz.0.157 Not tainted syzkaller #0 PREEMPT(full)\nHardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026\nRIP: 0010:nsim_fib6_event_init drivers/net/netdevsim/fib.c:831 [inline]\nRIP: 0010:nsim_fib6_prepare_event drivers/net/netdevsim/fib.c:947 [inline]\nRIP: 0010:nsim_fib_event_schedule_work drivers/net/netdevsim/fib.c:1003 [inline]\nRIP: 0010:nsim_fib_event_nb+0x1029/0x11d0 drivers/net/netdevsim/fib.c:1043\nCode: eb 0d 4d 89 fd e8 b7 c5 6c fa be 01 00 00 00 48 89 df e8 5a 38 85 fd 4d 89 ef 4c 8b 6c 24 20 e9 4a f3 ff ff e8 98 c5 6c fa 90 <0f> 0b 90 e9 db fa ff ff 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c df f0\nRSP: 0018:ffffc900047bef10 EFLAGS: 00010293\nRAX: ffffffff875b59a8 RBX: 0000000000000002 RCX: ffff888079770000\nRDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001\nRBP: ffffc900047bf0a0 R08: ffff88805c0bb02f R09: 1ffff1100b817605\nR10: dffffc0000000000 R11: ffffed100b817606 R12: dffffc0000000000\nR13: 0000000000000000 R14: 0000000000000001 R15: ffff88802c792000\nFS:  00007f334ba076c0(0000) GS:ffff888123ad0000(0000) knlGS:0000000000000000\nCS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\nCR2: 00007f334ba06ff8 CR3: 000000007a5b2000 CR4: 00000000003526f0\nCall Trace:\n <TASK>\n notifier_call_chain+0x1a5/0x3d0 kernel/notifier.c:85\n atomic_notifier_call_chain+0xda/0x180 kernel/notifier.c:223\n call_fib_notifiers+0x31/0x60 net/core/fib_notifier.c:36\n call_fib6_multipath_entry_notifiers+0xf5/0x160 net/ipv6/ip6_fib.c:428\n ip6_route_multipath_add net/ipv6/route.c:5542 [inline]\n inet6_rtm_newroute+0x14f5/0x1a30 net/ipv6/route.c:5664\n rtnetlink_rcv_msg+0x802/0xc00 net/core/rtnetlink.c:7163\n netlink_rcv_skb+0x226/0x4a0 net/netlink/af_netlink.c:2572\n netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline]\n netlink_unicast+0x7bd/0x940 net/netlink/af_netlink.c:1361\n netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1916\n sock_sendmsg_nosec+0x14e/0x190 net/socket.c:800\n __sock_sendmsg net/socket.c:818 [inline]\n ____sys_sendmsg+0x54e/0x850 net/socket.c:2715\n ___sys_sendmsg+0x2a5/0x360 net/socket.c:2769\n __sys_sendmmsg+0x273/0x4d0 net/socket.c:2858\n __do_sys_sendmmsg net/socket.c:2885 [inline]\n __se_sys_sendmmsg net/socket.c:2882 [inline]\n __x64_sys_sendmmsg+0xa0/0xc0 net/socket.c:2882\n do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]\n do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\nRIP: 0033:0x7f334ab9e1d9\nCode: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48\nRSP: 002b:00007f334ba07028 EFLAGS: 00000246 ORIG_RAX: 0000000000000133\nRAX: ffffffffffffffda RBX: 00007f334ae26090 RCX: 00007f334ab9e1d9\nRDX: 04000000000001f2 RSI: 0\n---truncated---"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"169fd62799e8acabbfb4760799be11138ced949c","status":"affected","lessThan":"88427a63afa99e11db98e12f9245bb5a626b9b1a","versionType":"git"},{"version":"169fd62799e8acabbfb4760799be11138ced949c","status":"affected","lessThan":"3de1e2d28d1b51e01897b3e523d3a73d9ab3f785","versionType":"git"},{"version":"169fd62799e8acabbfb4760799be11138ced949c","status":"affected","lessThan":"4c6fbb1fbafa85029fa789b5b01f39ebcb459d1a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/ip6_fib.c","net/ipv6/route.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/ip6_fib.c","net/ipv6/route.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/88427a63afa99e11db98e12f9245bb5a626b9b1a"},{"url":"https://git.kernel.org/stable/c/3de1e2d28d1b51e01897b3e523d3a73d9ab3f785"},{"url":"https://git.kernel.org/stable/c/4c6fbb1fbafa85029fa789b5b01f39ebcb459d1a"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:31:57.110Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}