====================================== | [ 2060.355510][ T8067] 1 lock held by ip/8067: | [ 2060.355722][ T8067] #0: ffff888009f01430 (&tb->tb6_lock){+.-.}-{3:3}, at: ip6_route_multipath_add (net/ipv6/route.c:1351 net/ipv6/route.c:5477) | [ 2060.356293][ T8067] | [ 2060.356293][ T8067] stack backtrace: [ 2060.356640][ T8067] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 2060.356642][ T8067] Call Trace: [ 2060.356645][ T8067] [ 2060.356647][ T8067] dump_stack_lvl (lib/dump_stack.c:123) [ 2060.356655][ T8067] lockdep_rcu_suspicious (kernel/locking/lockdep.c:6866) [ 2060.356666][ T8067] 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) [ 2060.356675][ T8067] fib6_add_rt2node (net/ipv6/ip6_fib.c:1225 (discriminator 2)) [ 2060.356678][ T8067] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4473) [ 2060.356682][ T8067] ? _raw_spin_unlock_irqrestore (./arch/x86/include/asm/preempt.h:104 ./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 2060.356697][ T8067] ? __pfx_fib6_add_rt2node (net/ipv6/ip6_fib.c:1093) [ 2060.356700][ T8067] ? fib6_add_1.constprop.0 (net/ipv6/ip6_fib.c:771) [ 2060.356713][ T8067] fib6_add (net/ipv6/ip6_fib.c:1531) [ 2060.356719][ T8067] ? 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) [ 2060.356724][ T8067] ? __pfx_fib6_add (net/ipv6/ip6_fib.c:1423) [ 2060.356726][ T8067] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 2060.356731][ T8067] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5829) [ 2060.356733][ T8067] ? ip6_route_multipath_add (net/ipv6/route.c:1351 net/ipv6/route.c:5477) [ 2060.356743][ T8067] ip6_route_multipath_add (./include/linux/spinlock.h:396 net/ipv6/route.c:1352 net/ipv6/route.c:5477) [ 2060.356757][ T8067] ? __pfx_ip6_route_multipath_add (net/ipv6/route.c:5389) [ 2060.356787][ T8067] ? __pfx_inet6_rtm_newroute (net/ipv6/route.c:5631) [ 2060.356791][ T8067] ? __pfx_inet6_rtm_newroute (net/ipv6/route.c:5631) [ 2060.356796][ T8067] inet6_rtm_newroute (net/ipv6/route.c:5631) [ 2060.356801][ T8067] ? __pfx_inet6_rtm_newroute (net/ipv6/route.c:5631) [ 2060.356822][ T8067] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/core/rtnetlink.c:6953) [ 2060.356825][ T8067] ? __lock_release (kernel/locking/lockdep.c:5534) [ 2060.356832][ T8067] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/core/rtnetlink.c:6953) [ 2060.356837][ T8067] rtnetlink_rcv_msg (net/core/rtnetlink.c:6955) [ 2060.356843][ T8067] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6858) [ 2060.356845][ T8067] ? validate_chain (kernel/locking/lockdep.c:3802 kernel/locking/lockdep.c:3822 kernel/locking/lockdep.c:3877) [ 2060.356861][ T8067] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 2060.356866][ T8067] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6858) [ 2060.356873][ T8067] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 2060.356877][ T8067] ? __lock_acquire (kernel/locking/lockdep.c:5235) [ 2060.356890][ T8067] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 2060.356894][ T8067] ? __lock_release (kernel/locking/lockdep.c:5534) [ 2060.356900][ T8067] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 2060.356903][ T8067] ? 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) [ 2060.356911][ T8067] netlink_unicast (net/netlink/af_netlink.c:1313 net/netlink/af_netlink.c:1339) [ 2060.356919][ T8067] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 2060.356923][ T8067] ? __lock_acquire (kernel/locking/lockdep.c:5235) [ 2060.356934][ T8067] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 2060.356943][ T8067] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 2060.356949][ T8067] ? __import_iovec (lib/iov_iter.c:1444 lib/iov_iter.c:1459) [ 2060.356961][ T8067] ____sys_sendmsg (net/socket.c:712 net/socket.c:727 net/socket.c:2566) [ 2060.356968][ T8067] ? __pfx_____sys_sendmsg (net/socket.c:2512) [ 2060.356971][ T8067] ? __pfx_copy_msghdr_from_user (net/socket.c:2492) [ 2060.356986][ T8067] ___sys_sendmsg (net/socket.c:2622) [ 2060.356989][ T8067] ? kasan_record_aux_stack (mm/kasan/generic.c:548) [ 2060.356995][ T8067] ? __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) [ 2060.357002][ T8067] ? __pfx____sys_sendmsg (net/socket.c:2609) [ 2060.357010][ T8067] ? find_held_lock (kernel/locking/lockdep.c:5348) [ 2060.357019][ T8067] ? __lock_acquire (kernel/locking/lockdep.c:5235) [ 2060.357030][ T8067] ? find_held_lock (kernel/locking/lockdep.c:5348) [ 2060.357035][ T8067] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:953 ./include/linux/mmzone.h:2127 arch/x86/mm/physaddr.c:65) [ 2060.357040][ T8067] ? __lock_release (kernel/locking/lockdep.c:5534) [ 2060.357053][ T8067] __sys_sendmsg (net/socket.c:2652) [ 2060.357057][ T8067] ? __pfx___sys_sendmsg (net/socket.c:2637) [ 2060.357074][ T8067] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:736) [ 2060.357081][ T8067] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 2060.357087][ T8067] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 2060.357091][ T8067] RIP: 0033:0x7fec91f3c9a7 [ 2060.357096][ T8067] 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) [ 2060.357099][ T8067] RSP: 002b:00007fff2e87b138 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 2060.357102][ T8067] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fec91f3c9a7 [ 2060.357104][ T8067] RDX: 0000000000000000 RSI: 00007fff2e87b1a0 RDI: 0000000000000005 [ 2060.357106][ T8067] RBP: 00007fff2e87b4ec R08: 0000000000000038 R09: 0000000000000000 [ 2060.357108][ T8067] R10: 000000002151e910 R11: 0000000000000246 R12: 00007fff2e87c4b0 Finger prints: lockdep_rcu_suspicious:fib6_add_rt2node:fib6_add:ip6_route_multipath_add:inet6_rtm_newroute