====================================== | [ 565.792704][ T3175] 1 lock held by ip/3175: | [ 565.792915][ T3175] #0: ffff8880060f6830 (&tb->tb6_lock){+.-.}-{3:3}, at: ip6_route_multipath_add (net/ipv6/route.c:1351 net/ipv6/route.c:5477) | [ 565.793484][ T3175] | [ 565.793484][ T3175] stack backtrace: [ 565.794188][ T3175] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 565.794190][ T3175] Call Trace: [ 565.794192][ T3175] [ 565.794195][ T3175] dump_stack_lvl (lib/dump_stack.c:123) [ 565.794203][ T3175] lockdep_rcu_suspicious (kernel/locking/lockdep.c:6866) [ 565.794214][ T3175] rt6_multipath_rebalance.part.0 (./include/net/addrconf.h:347 ./include/net/addrconf.h:345 ./include/net/addrconf.h:443 net/ipv6/route.c:4794 net/ipv6/route.c:4805 net/ipv6/route.c:4859) [ 565.794223][ T3175] fib6_add_rt2node (net/ipv6/ip6_fib.c:1225 (discriminator 2)) [ 565.794226][ T3175] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4473) [ 565.794231][ T3175] ? _raw_spin_unlock_irqrestore (./arch/x86/include/asm/preempt.h:104 ./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 565.794245][ T3175] ? __pfx_fib6_add_rt2node (net/ipv6/ip6_fib.c:1093) [ 565.794248][ T3175] ? fib6_add_1.constprop.0 (net/ipv6/ip6_fib.c:771) [ 565.794261][ T3175] fib6_add (net/ipv6/ip6_fib.c:1531) [ 565.794268][ T3175] ? do_raw_spin_lock (./arch/x86/include/asm/atomic.h:107 ./include/linux/atomic/atomic-arch-fallback.h:2170 ./include/linux/atomic/atomic-instrumented.h:1302 ./include/asm-generic/qspinlock.h:111 kernel/locking/spinlock_debug.c:116) [ 565.794272][ T3175] ? __pfx_fib6_add (net/ipv6/ip6_fib.c:1423) [ 565.794274][ T3175] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 565.794279][ T3175] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5829) [ 565.794282][ T3175] ? ip6_route_multipath_add (net/ipv6/route.c:1351 net/ipv6/route.c:5477) [ 565.794291][ T3175] ip6_route_multipath_add (./include/linux/spinlock.h:396 net/ipv6/route.c:1352 net/ipv6/route.c:5477) [ 565.794305][ T3175] ? __pfx_ip6_route_multipath_add (net/ipv6/route.c:5389) [ 565.794335][ T3175] ? __pfx_inet6_rtm_newroute (net/ipv6/route.c:5631) [ 565.794338][ T3175] ? __pfx_inet6_rtm_newroute (net/ipv6/route.c:5631) [ 565.794344][ T3175] inet6_rtm_newroute (net/ipv6/route.c:5631) [ 565.794348][ T3175] ? __pfx_inet6_rtm_newroute (net/ipv6/route.c:5631) [ 565.794367][ T3175] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/core/rtnetlink.c:6953) [ 565.794371][ T3175] ? __lock_release (kernel/locking/lockdep.c:5534) [ 565.794377][ T3175] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/core/rtnetlink.c:6953) [ 565.794382][ T3175] rtnetlink_rcv_msg (net/core/rtnetlink.c:6955) [ 565.794388][ T3175] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6858) [ 565.794391][ T3175] ? validate_chain (kernel/locking/lockdep.c:3802 kernel/locking/lockdep.c:3822 kernel/locking/lockdep.c:3877) [ 565.794406][ T3175] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 565.794412][ T3175] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6858) [ 565.794418][ T3175] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 565.794423][ T3175] ? __lock_acquire (kernel/locking/lockdep.c:5235) [ 565.794436][ T3175] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 565.794439][ T3175] ? __lock_release (kernel/locking/lockdep.c:5534) [ 565.794445][ T3175] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 565.794448][ T3175] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 ./include/net/netns/generic.h:48 net/netlink/af_netlink.c:333) [ 565.794455][ T3175] netlink_unicast (net/netlink/af_netlink.c:1313 net/netlink/af_netlink.c:1339) [ 565.794463][ T3175] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 565.794467][ T3175] ? __lock_acquire (kernel/locking/lockdep.c:5235) [ 565.794477][ T3175] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 565.794486][ T3175] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 565.794492][ T3175] ? __import_iovec (lib/iov_iter.c:1444 lib/iov_iter.c:1459) [ 565.794504][ T3175] ____sys_sendmsg (net/socket.c:712 net/socket.c:727 net/socket.c:2566) [ 565.794510][ T3175] ? __pfx_____sys_sendmsg (net/socket.c:2512) [ 565.794513][ T3175] ? __pfx_copy_msghdr_from_user (net/socket.c:2492) [ 565.794530][ T3175] ___sys_sendmsg (net/socket.c:2622) [ 565.794533][ T3175] ? kasan_record_aux_stack (mm/kasan/generic.c:548) [ 565.794539][ T3175] ? __call_rcu_common.constprop.0 (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:127 kernel/rcu/tree.c:3084) [ 565.794546][ T3175] ? __pfx____sys_sendmsg (net/socket.c:2609) [ 565.794554][ T3175] ? find_held_lock (kernel/locking/lockdep.c:5348) [ 565.794564][ T3175] ? __lock_acquire (kernel/locking/lockdep.c:5235) [ 565.794574][ T3175] ? find_held_lock (kernel/locking/lockdep.c:5348) [ 565.794579][ T3175] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:953 ./include/linux/mmzone.h:2127 arch/x86/mm/physaddr.c:65) [ 565.794584][ T3175] ? __lock_release (kernel/locking/lockdep.c:5534) [ 565.794597][ T3175] __sys_sendmsg (net/socket.c:2652) [ 565.794601][ T3175] ? __pfx___sys_sendmsg (net/socket.c:2637) [ 565.794617][ T3175] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:736) [ 565.794625][ T3175] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 565.794631][ T3175] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 565.794635][ T3175] RIP: 0033:0x7fb07df4f9a7 [ 565.794640][ T3175] Code: 0a 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b9 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10 All code ======== 0: 0a 00 or (%rax),%al 2: f7 d8 neg %eax 4: 64 89 02 mov %eax,%fs:(%rdx) 7: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax e: eb b9 jmp 0xffffffffffffffc9 10: 0f 1f 00 nopl (%rax) 13: f3 0f 1e fa endbr64 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 10 jne 0x33 23: b8 2e 00 00 00 mov $0x2e,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 51 ja 0x83 32: c3 ret 33: 48 83 ec 28 sub $0x28,%rsp 37: 89 54 24 1c mov %edx,0x1c(%rsp) 3b: 48 89 74 24 10 mov %rsi,0x10(%rsp) Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 51 ja 0x59 8: c3 ret 9: 48 83 ec 28 sub $0x28,%rsp d: 89 54 24 1c mov %edx,0x1c(%rsp) 11: 48 89 74 24 10 mov %rsi,0x10(%rsp) [ 565.794643][ T3175] RSP: 002b:00007fff60de1308 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 565.794646][ T3175] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fb07df4f9a7 [ 565.794649][ T3175] RDX: 0000000000000000 RSI: 00007fff60de1370 RDI: 0000000000000005 [ 565.794650][ T3175] RBP: 00007fff60de16bc R08: 0000000000000038 R09: 0000000000000000 [ 565.794652][ T3175] R10: 000000002c7c1910 R11: 0000000000000246 R12: 00007fff60de2680 Finger prints: lockdep_rcu_suspicious:fib6_add_rt2node:fib6_add:ip6_route_multipath_add:inet6_rtm_newroute