====================================== | [ 24.618617][ T361] 1 lock held by ip/361: | [ 24.618943][ T361] #0: ffff88800c17b830 (&tb->tb6_lock){+...}-{3:3}, at: ip6_route_multipath_add (net/ipv6/route.c:1351 net/ipv6/route.c:5477) | [ 24.619823][ T361] | [ 24.619823][ T361] stack backtrace: [ 24.620393][ T361] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.620395][ T361] Call Trace: [ 24.620399][ T361] [ 24.620402][ T361] dump_stack_lvl (lib/dump_stack.c:123) [ 24.620415][ T361] lockdep_rcu_suspicious (kernel/locking/lockdep.c:6866) [ 24.620431][ T361] 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) [ 24.620447][ T361] fib6_add_rt2node (net/ipv6/ip6_fib.c:1225 (discriminator 2)) [ 24.620452][ T361] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4473) [ 24.620460][ T361] ? _raw_spin_unlock_irqrestore (./arch/x86/include/asm/preempt.h:104 ./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 24.620487][ T361] ? __pfx_fib6_add_rt2node (net/ipv6/ip6_fib.c:1093) [ 24.620493][ T361] ? fib6_add_1.constprop.0 (net/ipv6/ip6_fib.c:771) [ 24.620518][ T361] fib6_add (net/ipv6/ip6_fib.c:1531) [ 24.620532][ T361] ? 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) [ 24.620539][ T361] ? __pfx_fib6_add (net/ipv6/ip6_fib.c:1423) [ 24.620542][ T361] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 24.620549][ T361] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5829) [ 24.620554][ T361] ? ip6_route_multipath_add (net/ipv6/route.c:1351 net/ipv6/route.c:5477) [ 24.620573][ T361] ip6_route_multipath_add (./include/linux/spinlock.h:396 net/ipv6/route.c:1352 net/ipv6/route.c:5477) [ 24.620598][ T361] ? __pfx_ip6_route_multipath_add (net/ipv6/route.c:5389) [ 24.620653][ T361] ? __pfx_inet6_rtm_newroute (net/ipv6/route.c:5631) [ 24.620659][ T361] ? __pfx_inet6_rtm_newroute (net/ipv6/route.c:5631) [ 24.620669][ T361] inet6_rtm_newroute (net/ipv6/route.c:5631) [ 24.620677][ T361] ? __pfx_inet6_rtm_newroute (net/ipv6/route.c:5631) [ 24.620707][ T361] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/core/rtnetlink.c:6953) [ 24.620714][ T361] ? __lock_release (kernel/locking/lockdep.c:5534) [ 24.620726][ T361] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/core/rtnetlink.c:6953) [ 24.620735][ T361] rtnetlink_rcv_msg (net/core/rtnetlink.c:6955) [ 24.620747][ T361] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6858) [ 24.620752][ T361] ? validate_chain (kernel/locking/lockdep.c:3802 kernel/locking/lockdep.c:3822 kernel/locking/lockdep.c:3877) [ 24.620780][ T361] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 24.620789][ T361] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6858) [ 24.620800][ T361] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 24.620806][ T361] ? __lock_acquire (kernel/locking/lockdep.c:5235) [ 24.620826][ T361] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 24.620832][ T361] ? __lock_release (kernel/locking/lockdep.c:5534) [ 24.620841][ T361] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 24.620846][ T361] ? 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) [ 24.620858][ T361] netlink_unicast (net/netlink/af_netlink.c:1313 net/netlink/af_netlink.c:1339) [ 24.620873][ T361] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 24.620881][ T361] ? __lock_acquire (kernel/locking/lockdep.c:5235) [ 24.620900][ T361] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 24.620916][ T361] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 24.620928][ T361] ? __import_iovec (lib/iov_iter.c:1444 lib/iov_iter.c:1459) [ 24.620948][ T361] ____sys_sendmsg (net/socket.c:712 net/socket.c:727 net/socket.c:2566) [ 24.620959][ T361] ? __pfx_____sys_sendmsg (net/socket.c:2512) [ 24.620963][ T361] ? __pfx_copy_msghdr_from_user (net/socket.c:2492) [ 24.620994][ T361] ___sys_sendmsg (net/socket.c:2622) [ 24.621008][ T361] ? __pfx____sys_sendmsg (net/socket.c:2609) [ 24.621016][ T361] ? __pfx_handle_pte_fault (mm/memory.c:5954) [ 24.621026][ T361] ? reacquire_held_locks (kernel/locking/lockdep.c:5383) [ 24.621032][ T361] ? do_user_addr_fault (arch/x86/mm/fault.c:1328) [ 24.621046][ T361] ? __handle_mm_fault (mm/memory.c:6140) [ 24.621053][ T361] ? __pfx___handle_mm_fault (mm/memory.c:6049) [ 24.621058][ T361] ? __lock_release (kernel/locking/lockdep.c:5580) [ 24.621088][ T361] ? __pfx_lock_vma_under_rcu (mm/memory.c:6547) [ 24.621101][ T361] __sys_sendmsg (net/socket.c:2652) [ 24.621108][ T361] ? __pfx___sys_sendmsg (net/socket.c:2637) [ 24.621115][ T361] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1488 arch/x86/mm/fault.c:1538) [ 24.621134][ T361] ? do_user_addr_fault (./arch/x86/include/asm/atomic.h:93 ./include/linux/atomic/atomic-arch-fallback.h:949 ./include/linux/atomic/atomic-instrumented.h:401 ./include/linux/refcount.h:389 ./include/linux/refcount.h:432 ./include/linux/mm.h:704 ./include/linux/mm.h:799 arch/x86/mm/fault.c:1339) [ 24.621147][ T361] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:736) [ 24.621161][ T361] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 24.621172][ T361] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 24.621179][ T361] RIP: 0033:0x7eff13f2a9a7 [ 24.621186][ T361] 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) [ 24.621191][ T361] RSP: 002b:00007ffd3d579a48 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 24.621196][ T361] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007eff13f2a9a7 [ 24.621199][ T361] RDX: 0000000000000000 RSI: 00007ffd3d579ab0 RDI: 0000000000000005 [ 24.621202][ T361] RBP: 00007ffd3d579dfc R08: 0000000000000038 R09: 00007ffd3d579aa6 [ 24.621205][ T361] R10: 00007ffd3d57c98b R11: 0000000000000246 R12: 00007ffd3d57adc0 Finger prints: lockdep_rcu_suspicious:fib6_add_rt2node:fib6_add:ip6_route_multipath_add:inet6_rtm_newroute