====================================== | xx__-> [ 1573.698779] ------------[ cut here ]------------ | [ 1573.698822] rcuref - imbalanced put() | [ 1573.698823] WARNING: lib/rcuref.c:266 at 0x0, CPU#3: mausezahn/26334 | [ 1573.698878] Modules linked in: ip6t_rpfilter ipt_rpfilter vxcan can_dev xfrm_interface macsec ipvlan pktgen nft_chain_nat xt_nat cls_bpf netdevsim sctp_diag sctp ip6_gre ip_gre gre xt_mark nft_compat nf_tables act_mirred cls_basic sch_fq_codel xfrm_user openvswitch psample nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nsh geneve act_csum act_pedit sch_prio act_gact cls_flower sch_ingress vxlan [last unloaded: ila] [ 1573.699120] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1573.699162] RIP: 0010:rcuref_put_slowpath (lib/rcuref.c:266 (discriminator 4)) [ 1573.699198] 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 [ 1573.699290] RSP: 0018:ff6edd9780b37768 EFLAGS: 00010292 [ 1573.699323] RAX: 00000000dfffffff RBX: ff13985f832edc00 RCX: ff13985f832edc00 [ 1573.699367] RDX: ff13985f832edc68 RSI: 00000000dfffffff RDI: ffffffff9a87e6f0 [ 1573.699408] RBP: ff6edd9780b377d8 R08: ff13985f8454f600 R09: 0000000000000001 [ 1573.699452] R10: ff13985f8309ccc0 R11: 0000000000000000 R12: ff6edd9780b37858 [ 1573.699495] R13: ff13985f87a40800 R14: 00000000010200c0 R15: 0000000080000000 [ 1573.699545] FS: 00007fbfa5014c40(0000) GS:ff13986023f4c000(0000) knlGS:0000000000000000 [ 1573.699590] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1573.699623] CR2: 00007ffe42ea84f8 CR3: 0000000004c72001 CR4: 0000000000771ef0 [ 1573.699664] PKRU: 55555554 [ 1573.699679] Call Trace: [ 1573.699696] [ 1573.699712] dst_release (./arch/x86/include/asm/preempt.h:95 (discriminator 1) ./include/linux/rcuref.h:174 (discriminator 1) net/core/dst.c:167 (discriminator 1)) [ 1573.699743] rt_cache_route (net/ipv4/route.c:1518) [ 1573.699768] ? dst_alloc (./include/net/dst_ops.h:59 net/core/dst.c:75 net/core/dst.c:93) [ 1573.699791] rt_set_nexthop.isra.0 (net/ipv4/route.c:1622 (discriminator 1)) [ 1573.699820] ? rt_dst_alloc (net/ipv4/route.c:1654) [ 1573.699842] ip_route_output_key_hash_rcu (./include/net/lwtunnel.h:140 net/ipv4/route.c:2682 net/ipv4/route.c:2875) [ 1573.699869] ip_route_output_flow (net/ipv4/route.c:2705 ./include/net/route.h:169 net/ipv4/route.c:2932) [ 1573.699891] udp_tunnel_dst_lookup (net/ipv4/udp_tunnel_core.c:261 (discriminator 1)) [ 1573.699920] vxlan_xmit_one (drivers/net/vxlan/vxlan_core.c:2472 (discriminator 4)) vxlan [ 1573.699956] ? __fuse_simple_request (fs/fuse/dev.c:702) [ 1573.699987] ? vxlan_xmit (drivers/net/vxlan/vxlan_core.c:2829) vxlan [ 1573.700021] vxlan_xmit (drivers/net/vxlan/vxlan_core.c:2829) vxlan [ 1573.700053] ? filemap_get_read_batch (mm/filemap.c:2477) [ 1573.700082] ? get_page_from_freelist (mm/page_alloc.c:1226 (discriminator 1) mm/page_alloc.c:1843 (discriminator 1) mm/page_alloc.c:1853 (discriminator 1) mm/page_alloc.c:3879 (discriminator 1)) [ 1573.700111] ? dev_hard_start_xmit (./include/linux/netdevice.h:5272 ./include/linux/netdevice.h:5281 net/core/dev.c:3853 net/core/dev.c:3869) [ 1573.700143] dev_hard_start_xmit (./include/linux/netdevice.h:5272 ./include/linux/netdevice.h:5281 net/core/dev.c:3853 net/core/dev.c:3869) [ 1573.700168] __dev_queue_xmit (net/core/dev.c:4817) [ 1573.700195] ? __alloc_skb (net/core/skbuff.c:706) [ 1573.700218] ? alloc_skb_with_frags (./include/linux/skbuff.h:1383 net/core/skbuff.c:6715) [ 1573.700247] packet_sendmsg (net/packet/af_packet.c:3076 (discriminator 1) net/packet/af_packet.c:3108 (discriminator 1)) [ 1573.700273] ? account_locked_vm (./include/linux/mmap_lock.h:355 mm/util.c:559 mm/util.c:549) [ 1573.700299] __sys_sendto (net/socket.c:721 (discriminator 1) net/socket.c:733 (discriminator 1) net/socket.c:2222 (discriminator 1)) [ 1573.700322] __x64_sys_sendto (net/socket.c:2229 (discriminator 1) net/socket.c:2225 (discriminator 1) net/socket.c:2225 (discriminator 1)) [ 1573.700342] do_syscall_64 (arch/x86/entry/syscall_64.c:63 (discriminator 1) arch/x86/entry/syscall_64.c:94 (discriminator 1)) [ 1573.700368] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:131) [ 1573.700397] RIP: 0033:0x7fbfa51c7c5e [ 1573.700419] Code: 4d 89 d8 e8 14 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 13 ff ff ff 0f 1f 00 f3 0f 1e fa All code ======== 0: 4d 89 d8 mov %r11,%r8 3: e8 14 bd 00 00 call 0xbd1c 8: 4c 8b 5d f8 mov -0x8(%rbp),%r11 c: 41 8b 93 08 03 00 00 mov 0x308(%r11),%edx 13: 59 pop %rcx 14: 5e pop %rsi 15: 48 83 f8 fc cmp $0xfffffffffffffffc,%rax 19: 74 11 je 0x2c 1b: c9 leave 1c: c3 ret 1d: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 24: 48 8b 45 10 mov 0x10(%rbp),%rax 28: 0f 05 syscall 2a:* c9 leave <-- trapping instruction 2b: c3 ret 2c: 83 e2 39 and $0x39,%edx 2f: 83 fa 08 cmp $0x8,%edx 32: 75 e7 jne 0x1b 34: e8 13 ff ff ff call 0xffffffffffffff4c 39: 0f 1f 00 nopl (%rax) 3c: f3 0f 1e fa endbr64 Code starting with the faulting instruction =========================================== 0: c9 leave 1: c3 ret 2: 83 e2 39 and $0x39,%edx 5: 83 fa 08 cmp $0x8,%edx 8: 75 e7 jne 0xfffffffffffffff1 a: e8 13 ff ff ff call 0xffffffffffffff22 f: 0f 1f 00 nopl (%rax) 12: f3 0f 1e fa endbr64 [ 1573.700521] RSP: 002b:00007ffe42eae400 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 1573.700567] RAX: ffffffffffffffda RBX: 000055e005177830 RCX: 00007fbfa51c7c5e [ 1573.700607] RDX: 0000000000000064 RSI: 000055e005177ac2 RDI: 0000000000000005 [ 1573.700641] RBP: 00007ffe42eae410 R08: 00007ffe42eae460 R09: 0000000000000014 [ 1573.700681] R10: 0000000000000000 R11: 0000000000000202 R12: 000055e005177ac2 Finger prints: rcuref_put_slowpath:dst_release:rt_cache_route:ip_route_output_key_hash_rcu:ip_route_output_flow