====================================== | [ 851.460242][ T9868] 1 lock held by ip/9868: | [ 851.460461][ T9868] #0: ffff888004e83e30 (&tb->tb6_lock){+...}-{3:3}, at: ip6_route_multipath_add (net/ipv6/route.c:1351 net/ipv6/route.c:5477) | [ 851.461044][ T9868] | [ 851.461044][ T9868] stack backtrace: [ 851.461386][ T9868] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 851.461389][ T9868] Call Trace: [ 851.461392][ T9868] [ 851.461395][ T9868] dump_stack_lvl (lib/dump_stack.c:123) [ 851.461404][ T9868] lockdep_rcu_suspicious (kernel/locking/lockdep.c:6866) [ 851.461416][ T9868] 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) [ 851.461425][ T9868] fib6_add_rt2node (net/ipv6/ip6_fib.c:1225 (discriminator 2)) [ 851.461429][ T9868] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4473) [ 851.461435][ T9868] ? _raw_spin_unlock_irqrestore (./arch/x86/include/asm/preempt.h:104 ./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 851.461450][ T9868] ? __pfx_fib6_add_rt2node (net/ipv6/ip6_fib.c:1093) [ 851.461453][ T9868] ? fib6_add_1.constprop.0 (net/ipv6/ip6_fib.c:771) [ 851.461466][ T9868] fib6_add (net/ipv6/ip6_fib.c:1531) [ 851.461473][ T9868] ? 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) [ 851.461478][ T9868] ? __pfx_fib6_add (net/ipv6/ip6_fib.c:1423) [ 851.461480][ T9868] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 851.461485][ T9868] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5829) [ 851.461488][ T9868] ? ip6_route_multipath_add (net/ipv6/route.c:1351 net/ipv6/route.c:5477) [ 851.461497][ T9868] ip6_route_multipath_add (./include/linux/spinlock.h:396 net/ipv6/route.c:1352 net/ipv6/route.c:5477) [ 851.461511][ T9868] ? __pfx_ip6_route_multipath_add (net/ipv6/route.c:5389) [ 851.461540][ T9868] ? __pfx_inet6_rtm_newroute (net/ipv6/route.c:5631) [ 851.461544][ T9868] ? __pfx_inet6_rtm_newroute (net/ipv6/route.c:5631) [ 851.461550][ T9868] inet6_rtm_newroute (net/ipv6/route.c:5631) [ 851.461554][ T9868] ? __pfx_inet6_rtm_newroute (net/ipv6/route.c:5631) [ 851.461573][ T9868] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/core/rtnetlink.c:6953) [ 851.461578][ T9868] ? __lock_release (kernel/locking/lockdep.c:5534) [ 851.461584][ T9868] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/core/rtnetlink.c:6953) [ 851.461589][ T9868] rtnetlink_rcv_msg (net/core/rtnetlink.c:6955) [ 851.461595][ T9868] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6858) [ 851.461597][ T9868] ? validate_chain (kernel/locking/lockdep.c:3802 kernel/locking/lockdep.c:3822 kernel/locking/lockdep.c:3877) [ 851.461613][ T9868] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 851.461619][ T9868] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6858) [ 851.461625][ T9868] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 851.461629][ T9868] ? __lock_acquire (kernel/locking/lockdep.c:5235) [ 851.461643][ T9868] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 851.461646][ T9868] ? __lock_release (kernel/locking/lockdep.c:5534) [ 851.461652][ T9868] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 851.461655][ T9868] ? 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) [ 851.461662][ T9868] netlink_unicast (net/netlink/af_netlink.c:1313 net/netlink/af_netlink.c:1339) [ 851.461670][ T9868] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 851.461675][ T9868] ? __lock_acquire (kernel/locking/lockdep.c:5235) [ 851.461686][ T9868] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 851.461695][ T9868] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 851.461701][ T9868] ? __import_iovec (lib/iov_iter.c:1444 lib/iov_iter.c:1459) [ 851.461714][ T9868] ____sys_sendmsg (net/socket.c:712 net/socket.c:727 net/socket.c:2566) [ 851.461721][ T9868] ? __pfx_____sys_sendmsg (net/socket.c:2512) [ 851.461724][ T9868] ? __pfx_copy_msghdr_from_user (net/socket.c:2492) [ 851.461740][ T9868] ___sys_sendmsg (net/socket.c:2622) [ 851.461746][ T9868] ? __pfx____sys_sendmsg (net/socket.c:2609) [ 851.461751][ T9868] ? __pfx_handle_pte_fault (mm/memory.c:5954) [ 851.461757][ T9868] ? reacquire_held_locks (kernel/locking/lockdep.c:5383) [ 851.461761][ T9868] ? do_user_addr_fault (arch/x86/mm/fault.c:1328) [ 851.461771][ T9868] ? __handle_mm_fault (mm/memory.c:6140) [ 851.461776][ T9868] ? __pfx___handle_mm_fault (mm/memory.c:6049) [ 851.461779][ T9868] ? __lock_release (kernel/locking/lockdep.c:5580) [ 851.461794][ T9868] ? __pfx_lock_vma_under_rcu (mm/memory.c:6547) [ 851.461802][ T9868] __sys_sendmsg (net/socket.c:2652) [ 851.461806][ T9868] ? __pfx___sys_sendmsg (net/socket.c:2637) [ 851.461810][ T9868] ? 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) [ 851.461820][ T9868] ? 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) [ 851.461827][ T9868] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:736) [ 851.461836][ T9868] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 851.461844][ T9868] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 851.461848][ T9868] RIP: 0033:0x7f7a04de09a7 [ 851.461853][ T9868] 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) [ 851.461857][ T9868] RSP: 002b:00007fff8040df98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 851.461860][ T9868] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f7a04de09a7 [ 851.461863][ T9868] RDX: 0000000000000000 RSI: 00007fff8040e000 RDI: 0000000000000005 [ 851.461865][ T9868] RBP: 00007fff8040e34c R08: 0000000000000038 R09: 00007fff8040dff6 [ 851.461867][ T9868] R10: 00007fff80411991 R11: 0000000000000246 R12: 00007fff8040f310 Finger prints: lockdep_rcu_suspicious:fib6_add_rt2node:fib6_add:ip6_route_multipath_add:inet6_rtm_newroute