====================================== | xx__-> [ 1640.184816] ------------[ cut here ]------------ | [ 1640.184863] rcuref - imbalanced put() | [ 1640.184863] WARNING: lib/rcuref.c:266 at 0x0, CPU#1: ksoftirqd/1/22 | [ 1640.184923] Modules linked in: sch_etf sch_fq vxcan can_dev xfrm_interface ip_gre macsec ipvlan act_tunnel_key bareudp mpls_gso mpls_iptunnel mpls_router ip6_gre gre nft_chain_nat xt_nat cls_bpf xt_conntrack sctp_diag sctp drop_monitor netdevsim act_mirred cls_u32 ifb openvswitch psample nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nsh cls_matchall xfrm_user xt_policy ip6t_REJECT nf_reject_ipv6 nft_compat nf_tables act_gact cls_flower sch_ingress vxlan [last unloaded: ila] [ 1640.185214] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1640.185252] RIP: 0010:rcuref_put_slowpath (lib/rcuref.c:266 (discriminator 4)) [ 1640.185294] Code: c0 75 0d c3 81 fe ff ff ff bf 77 0f 85 f6 78 03 31 c0 c3 c7 07 00 00 00 a0 eb f5 48 83 ec 08 48 89 3c 24 48 8d 3d 30 04 4a 01 <67> 48 0f b9 3a 48 8b 14 24 31 c0 c7 02 00 00 00 e0 48 83 c4 08 c3 All code ======== 0: c0 75 0d c3 shlb $0xc3,0xd(%rbp) 4: 81 fe ff ff ff bf cmp $0xbfffffff,%esi a: 77 0f ja 0x1b c: 85 f6 test %esi,%esi e: 78 03 js 0x13 10: 31 c0 xor %eax,%eax 12: c3 ret 13: c7 07 00 00 00 a0 movl $0xa0000000,(%rdi) 19: eb f5 jmp 0x10 1b: 48 83 ec 08 sub $0x8,%rsp 1f: 48 89 3c 24 mov %rdi,(%rsp) 23: 48 8d 3d 30 04 4a 01 lea 0x14a0430(%rip),%rdi # 0x14a045a 2a:* 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 48 8b 14 24 mov (%rsp),%rdx 33: 31 c0 xor %eax,%eax 35: c7 02 00 00 00 e0 movl $0xe0000000,(%rdx) 3b: 48 83 c4 08 add $0x8,%rsp 3f: c3 ret Code starting with the faulting instruction =========================================== 0: 67 48 0f b9 3a ud1 (%edx),%rdi 5: 48 8b 14 24 mov (%rsp),%rdx 9: 31 c0 xor %eax,%eax b: c7 02 00 00 00 e0 movl $0xe0000000,(%rdx) 11: 48 83 c4 08 add $0x8,%rsp 15: c3 ret [ 1640.185393] RSP: 0018:ff2488d8c00cfd40 EFLAGS: 00010282 [ 1640.185424] RAX: 00000000dfffffff RBX: ff1bf58389a06480 RCX: ff1bf58381e85480 [ 1640.185469] RDX: 003a935492c3dc78 RSI: 00000000dfffffff RDI: ffffffff9167e6f0 [ 1640.185508] RBP: ff1bf58389a06470 R08: ff1bf58383067840 R09: 0000000080550043 [ 1640.185543] R10: ff1bf583811da000 R11: ff1bf58383067840 R12: ff1bf58389a064e8 [ 1640.185580] R13: ff2488d8c00cfe08 R14: 0000000000000004 R15: 0000000000000000 [ 1640.185633] FS: 0000000000000000(0000) GS:ff1bf5842d04c000(0000) knlGS:0000000000000000 [ 1640.185677] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1640.185711] CR2: 00007f69bbf21a88 CR3: 0000000030246001 CR4: 0000000000771ef0 [ 1640.185750] PKRU: 55555554 [ 1640.185765] Call Trace: [ 1640.185789] [ 1640.185806] dst_release_immediate (./arch/x86/include/asm/preempt.h:95 (discriminator 1) ./include/linux/rcuref.h:174 (discriminator 1) net/core/dst.c:184 (discriminator 1)) [ 1640.185838] rt_fibinfo_free_cpus.part.0 (net/ipv4/fib_semantics.c:196) [ 1640.185870] fib_nh_common_release (net/ipv4/fib_semantics.c:207) [ 1640.185899] free_fib_info_rcu (./include/net/nexthop.h:480 net/ipv4/fib_semantics.c:229) [ 1640.185922] rcu_core (kernel/rcu/tree.c:2612 (discriminator 1) kernel/rcu/tree.c:2857 (discriminator 1)) [ 1640.185946] handle_softirqs (./arch/x86/include/asm/jump_label.h:37 ./include/trace/events/irq.h:142 kernel/softirq.c:623) [ 1640.185972] ? sort_range (kernel/smpboot.c:103) [ 1640.185995] run_ksoftirqd (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:479 kernel/softirq.c:1064 kernel/softirq.c:1055) [ 1640.186021] smpboot_thread_fn (kernel/smpboot.c:160) [ 1640.186046] kthread (kernel/kthread.c:463) [ 1640.186069] ? kthreads_online_cpu (kernel/kthread.c:412) [ 1640.186101] ? kthreads_online_cpu (kernel/kthread.c:412) [ 1640.186133] ret_from_fork (arch/x86/kernel/process.c:164) [ 1640.186156] ? kthreads_online_cpu (kernel/kthread.c:412) Finger prints: rcuref_put_slowpath:dst_release_immediate:fib_nh_common_release:free_fib_info_rcu:rcu_core