====================================== | [ 623.426840][ T7173] br0: port 2(veth02) entered disabled state | [ 624.313603][ C2] ------------[ cut here ]------------ | [ 624.314193][ C2] WARNING: CPU: 2 PID: 7179 at ./include/linux/skbuff.h:1164 ip_route_me_harder (./include/linux/skbuff.h:1164 ./include/linux/skbuff.h:1178 net/ipv4/netfilter.c:68) | [ 624.314927][ C2] Modules linked in: ip_vs_rr ip_vs nft_flow_offload nf_flow_table_inet nf_flow_table xt_conntrack nft_compat tun nft_meta_bridge br_netfilter macvlan bridge stp llc nft_nat nft_chain_nat nf_nat sctp_diag nft_limit tcp_diag inet_diag nfnetlink_queue nft_queue veth sctp ip6_udp_tunnel udp_tunnel nf_conntrack_netlink nft_ct nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_numgen nf_tables [ 624.317936][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 624.318887][ C2] RIP: 0010:ip_route_me_harder (./include/linux/skbuff.h:1164 ./include/linux/skbuff.h:1178 net/ipv4/netfilter.c:68) [ 624.319358][ C2] Code: 31 db e9 9a f7 ff ff 80 3c 02 00 0f 85 ee 05 00 00 49 8b 46 58 48 89 c3 48 83 e3 fe a8 01 0f 85 f5 02 00 00 48 85 db 74 04 90 <0f> 0b 90 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 80 3c All code ======== 0: 31 db xor %ebx,%ebx 2: e9 9a f7 ff ff jmp 0xfffffffffffff7a1 7: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) b: 0f 85 ee 05 00 00 jne 0x5ff 11: 49 8b 46 58 mov 0x58(%r14),%rax 15: 48 89 c3 mov %rax,%rbx 18: 48 83 e3 fe and $0xfffffffffffffffe,%rbx 1c: a8 01 test $0x1,%al 1e: 0f 85 f5 02 00 00 jne 0x319 24: 48 85 db test %rbx,%rbx 27: 74 04 je 0x2d 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 90 nop 2d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 34: fc ff df 37: 4c 89 ea mov %r13,%rdx 3a: 48 c1 ea 03 shr $0x3,%rdx 3e: 80 .byte 0x80 3f: 3c .byte 0x3c Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 90 nop 3: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax a: fc ff df d: 4c 89 ea mov %r13,%rdx 10: 48 c1 ea 03 shr $0x3,%rdx 14: 80 .byte 0x80 15: 3c .byte 0x3c [ 624.320617][ C2] RSP: 0018:ffffc90000218758 EFLAGS: 00010282 [ 624.321073][ C2] RAX: ffff88800b492c40 RBX: ffff88800b492c40 RCX: 1ffff11001692588 [ 624.321624][ C2] RDX: 1ffff110018aacbb RSI: 0000000000000000 RDI: ffff888012b090e0 [ 624.322158][ C2] RBP: ffff88800e4bb740 R08: 1ffff920000430fd R09: 0000000000000000 [ 624.322702][ C2] R10: ffff88800b493703 R11: dffffc0000000000 R12: 0000000000000000 [ 624.323233][ C2] R13: ffff88800c5565d8 R14: ffff88800c556580 R15: ffff88800c556601 [ 624.323783][ C2] FS: 00007fdd2870d740(0000) GS:ffff8880a01a4000(0000) knlGS:0000000000000000 [ 624.324417][ C2] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 624.324881][ C2] CR2: 00007fdd2888a730 CR3: 0000000011c8e001 CR4: 0000000000772ef0 [ 624.325412][ C2] PKRU: 55555554 [ 624.325696][ C2] Call Trace: [ 624.325971][ C2] [ 624.326174][ C2] ? __pfx_ip_route_me_harder (net/ipv4/netfilter.c:22) [ 624.326555][ C2] ? __pfx_ip_vs_conn_out_get (net/netfilter/ipvs/ip_vs_conn.c:402) ip_vs [ 624.327024][ C2] ? __pfx_tcp_snat_handler (net/netfilter/ipvs/ip_vs_proto_tcp.c:149) ip_vs [ 624.327484][ C2] ? ip_vs_conn_out_get_proto (net/netfilter/ipvs/ip_vs_conn.c:455) ip_vs [ 624.327954][ C2] handle_response.isra.0 (net/netfilter/ipvs/ip_vs_core.c:737 net/netfilter/ipvs/ip_vs_core.c:720 net/netfilter/ipvs/ip_vs_core.c:1302) ip_vs [ 624.328420][ C2] ip_vs_out_hook (net/netfilter/ipvs/ip_vs_core.c:1404) ip_vs [ 624.328808][ C2] ? __pfx_ip_vs_out_hook (net/netfilter/ipvs/ip_vs_core.c:1330) ip_vs [ 624.329275][ C2] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 624.329656][ C2] ? __pfx_ip_vs_forward_icmp (net/netfilter/ipvs/ip_vs_core.c:2106) ip_vs [ 624.330109][ C2] ? lock_acquire.part.0 (kernel/locking/lockdep.c:473 kernel/locking/lockdep.c:5873) [ 624.330471][ C2] ? __pfx_ip_vs_out_hook (net/netfilter/ipvs/ip_vs_core.c:1330) ip_vs [ 624.330939][ C2] nf_hook_slow (./include/linux/netfilter.h:157 net/netfilter/core.c:623) [ 624.331304][ C2] nf_hook.constprop.0 (./include/linux/netfilter.h:171 ./include/linux/netfilter.h:269) [ 624.331679][ C2] ? __pfx_nf_hook.constprop.0 (./include/linux/netfilter.h:226) [ 624.332039][ C2] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 624.332400][ C2] ? __pfx_ip_forward_finish (net/ipv4/ip_forward.c:66) [ 624.332768][ C2] ? ip_dst_mtu_maybe_forward.constprop.0 (./include/linux/rcupdate.h:873 ./include/net/ip.h:501) [ 624.333216][ C2] ip_forward (./include/linux/netfilter.h:316 net/ipv4/ip_forward.c:162) [ 624.333589][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:567) [ 624.333955][ C2] ? process_backlog (./include/linux/local_lock_internal.h:54 net/core/dev.c:6442) [ 624.334322][ C2] __netif_receive_skb_one_core (net/core/dev.c:5979 (discriminator 4)) [ 624.334779][ C2] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5972) [ 624.335227][ C2] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 624.335594][ C2] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5834) [ 624.335952][ C2] ? process_backlog (./include/linux/local_lock_internal.h:54 net/core/dev.c:6442) [ 624.336318][ C2] process_backlog (./include/linux/rcupdate.h:869 net/core/dev.c:6445) [ 624.336700][ C2] __napi_poll.constprop.0 (net/core/dev.c:7482) [ 624.337064][ C2] net_rx_action (net/core/dev.c:7546 net/core/dev.c:7673) [ 624.337438][ C2] ? __pfx_net_rx_action (net/core/dev.c:7635) [ 624.337804][ C2] ? clockevents_program_event (kernel/time/clockevents.c:326) [ 624.338162][ C2] ? __lock_release (kernel/locking/lockdep.c:5515) [ 624.338530][ C2] ? kvm_clock_get_cycles (./arch/x86/include/asm/preempt.h:95 arch/x86/kernel/kvmclock.c:80 arch/x86/kernel/kvmclock.c:86) [ 624.338902][ C2] ? ktime_get (kernel/time/timekeeping.c:251 (discriminator 4) kernel/time/timekeeping.c:360 (discriminator 4) kernel/time/timekeeping.c:778 (discriminator 4)) [ 624.339180][ C2] ? clockevents_program_event (kernel/time/clockevents.c:336 (discriminator 3)) [ 624.339640][ C2] handle_softirqs (kernel/softirq.c:579) [ 624.340009][ C2] ? __neigh_event_send (./include/linux/bottom_half.h:33 net/core/neighbour.c:1240) [ 624.340372][ C2] do_softirq (kernel/softirq.c:480 kernel/softirq.c:467) [ 624.340653][ C2] [ 624.340848][ C2] [ 624.341036][ C2] __local_bh_enable_ip (kernel/softirq.c:407) [ 624.341392][ C2] __neigh_event_send (net/core/neighbour.c:1241) [ 624.341772][ C2] neigh_resolve_output (net/core/neighbour.c:1545) [ 624.342135][ C2] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:412) [ 624.342503][ C2] ? ___neigh_create (net/core/neighbour.c:693) [ 624.342883][ C2] ip_finish_output2 (./include/net/neighbour.h:547 net/ipv4/ip_output.c:235) [ 624.343248][ C2] ? ip_skb_dst_mtu (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 ./include/net/ip.h:501 ./include/net/ip.h:515) [ 624.343618][ C2] ? __pfx_ip_finish_output2 (net/ipv4/ip_output.c:199) [ 624.343993][ C2] ? __ip_finish_output (./include/linux/skbuff.h:1685 ./include/linux/skbuff.h:5079 net/ipv4/ip_output.c:307 net/ipv4/ip_output.c:295) [ 624.344353][ C2] __ip_queue_xmit (./include/net/dst.h:461 net/ipv4/ip_output.c:129 net/ipv4/ip_output.c:527) [ 624.344723][ C2] ? __skb_clone (./arch/x86/include/asm/atomic.h:53 (discriminator 4) ./include/linux/atomic/atomic-arch-fallback.h:992 (discriminator 4) ./include/linux/atomic/atomic-instrumented.h:436 (discriminator 4) net/core/skbuff.c:1566 (discriminator 4)) [ 624.345097][ C2] __tcp_transmit_skb (net/ipv4/tcp_output.c:1625 (discriminator 4)) [ 624.345470][ C2] ? __pfx___tcp_transmit_skb (net/ipv4/tcp_output.c:1446) [ 624.345852][ C2] tcp_connect (net/ipv4/tcp_output.c:1643 net/ipv4/tcp_output.c:4319) [ 624.346218][ C2] tcp_v4_connect (net/ipv4/tcp_ipv4.c:346) [ 624.346600][ C2] ? __pfx_tcp_v4_connect (net/ipv4/tcp_ipv4.c:224) [ 624.346959][ C2] ? 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) [ 624.347320][ C2] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 624.347701][ C2] __inet_stream_connect (net/ipv4/af_inet.c:677) [ 624.348058][ C2] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:412) [ 624.348423][ C2] ? __pfx_inet_stream_connect (net/ipv4/af_inet.c:744) [ 624.348784][ C2] inet_stream_connect (net/ipv4/af_inet.c:749) [ 624.349151][ C2] __sys_connect (net/socket.c:2086 net/socket.c:2105) [ 624.349513][ C2] ? __pfx___sys_connect (net/socket.c:2093) [ 624.349877][ C2] ? do_fcntl (fs/fcntl.c:473) [ 624.350160][ C2] ? __pfx_do_fcntl (fs/fcntl.c:448) [ 624.350521][ C2] ? fd_install (./arch/x86/include/asm/preempt.h:104 ./include/linux/rcupdate.h:955 fs/file.c:661) [ 624.350897][ C2] ? __sys_socket (net/socket.c:503 net/socket.c:1740) [ 624.351257][ C2] ? __pfx___sys_socket (net/socket.c:1727) [ 624.351634][ C2] __x64_sys_connect (net/socket.c:2108) [ 624.351992][ C2] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 624.352353][ C2] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 624.352729][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 624.353182][ C2] RIP: 0033:0x7fdd2886bd77 [ 624.353570][ C2] Code: 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2a 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 18 89 54 24 0c 48 89 34 24 89 All code ======== 0: 64 89 01 mov %eax,%fs:(%rcx) 3: 48 83 c8 ff or $0xffffffffffffffff,%rax 7: c3 ret 8: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) f: 00 00 00 12: 90 nop 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 2a 00 00 00 mov $0x2a,%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 18 sub $0x18,%rsp 37: 89 54 24 0c mov %edx,0xc(%rsp) 3b: 48 89 34 24 mov %rsi,(%rsp) 3f: 89 .byte 0x89 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 18 sub $0x18,%rsp d: 89 54 24 0c mov %edx,0xc(%rsp) 11: 48 89 34 24 mov %rsi,(%rsp) 15: 89 .byte 0x89 [ 624.354833][ C2] RSP: 002b:00007ffc86585058 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 624.355370][ C2] RAX: ffffffffffffffda RBX: 00005564aae65cf0 RCX: 00007fdd2886bd77 [ 624.355920][ C2] RDX: 0000000000000010 RSI: 00007ffc865859d0 RDI: 0000000000000007 [ 624.356452][ C2] RBP: 00007ffc865859d0 R08: 00007ffc86585060 R09: 0000000000000010 [ 624.356990][ C2] R10: 0000000000001f90 R11: 0000000000000246 R12: 0000000000000010 Finger prints: ip_route_me_harder:ip_vs_out_hook:nf_hook_slow:ip_forward:__netif_receive_skb_one_core