====================================== | xx__-> [ 18.912938][ T253] ip (253) used greatest stack depth: 24080 bytes left | [ 25.054824][ C3] ------------[ cut here ]------------ | [ 25.055349][ C3] WARNING: CPU: 3 PID: 292 at ./include/linux/skbuff.h:1164 icmp_route_lookup.constprop.0 (./include/linux/skbuff.h:1164 ./include/linux/skbuff.h:1178 net/ipv4/icmp.c:548) | [ 25.056088][ C3] Modules linked in: nft_ct nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables veth [ 25.057433][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 25.057894][ C3] RIP: 0010:icmp_route_lookup.constprop.0 (./include/linux/skbuff.h:1164 ./include/linux/skbuff.h:1178 net/ipv4/icmp.c:548) [ 25.058349][ C3] Code: c1 ea 03 80 3c 02 00 0f 85 2c 05 00 00 48 8b 45 58 48 89 44 24 08 a8 01 0f 85 35 02 00 00 48 f7 44 24 08 fe ff ff ff 74 04 90 <0f> 0b 90 48 b8 00 00 00 00 00 fc ff df 4c 89 da 48 c1 ea 03 80 3c All code ======== 0: c1 ea 03 shr $0x3,%edx 3: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 7: 0f 85 2c 05 00 00 jne 0x539 d: 48 8b 45 58 mov 0x58(%rbp),%rax 11: 48 89 44 24 08 mov %rax,0x8(%rsp) 16: a8 01 test $0x1,%al 18: 0f 85 35 02 00 00 jne 0x253 1e: 48 f7 44 24 08 fe ff testq $0xfffffffffffffffe,0x8(%rsp) 25: ff ff 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 da mov %r11,%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 da mov %r11,%rdx 10: 48 c1 ea 03 shr $0x3,%rdx 14: 80 .byte 0x80 15: 3c .byte 0x3c [ 25.059614][ C3] RSP: 0018:ffffc900002706b8 EFLAGS: 00010286 [ 25.060071][ C3] RAX: ffff88800dc5a7c0 RBX: 1ffff9200004e0db RCX: 0000000000000002 [ 25.060598][ C3] RDX: 1ffff11000999830 RSI: ffffffffb00a1d68 RDI: ffffc9000027076a [ 25.061139][ C3] RBP: ffff888004ccc128 R08: 0000000000000001 R09: ffff88800dc5a340 [ 25.061667][ C3] R10: ffffe8ffffd83b6f R11: ffff888004ccc180 R12: ffff88800b701bc0 [ 25.062208][ C3] R13: ffffc90000270968 R14: ffff88800dc5a940 R15: ffffc900002706f8 [ 25.062745][ C3] FS: 00007f74bd5f6740(0000) GS:ffff888084224000(0000) knlGS:0000000000000000 [ 25.063372][ C3] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 25.064025][ C3] CR2: 00007f74bd773730 CR3: 000000000f9e0006 CR4: 0000000000772ef0 [ 25.064552][ C3] PKRU: 55555554 [ 25.064846][ C3] Call Trace: [ 25.065117][ C3] [ 25.065301][ C3] ? __pfx_icmp_route_lookup.constprop.0 (net/ipv4/icmp.c:480) [ 25.065765][ C3] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 25.066119][ C3] ? __ip_options_echo (net/ipv4/ip_options.c:86) [ 25.066474][ C3] ? __icmp_send (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/ipv4/icmp.c:718) [ 25.066831][ C3] ? __lock_release (kernel/locking/lockdep.c:5539) [ 25.067184][ C3] __icmp_send (net/ipv4/icmp.c:746) [ 25.067546][ C3] ? validate_chain (kernel/locking/lockdep.c:3804 kernel/locking/lockdep.c:3824 kernel/locking/lockdep.c:3879) [ 25.067905][ C3] ? __pfx___icmp_send (net/ipv4/icmp.c:596) [ 25.068266][ C3] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 25.068616][ C3] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 25.068989][ C3] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 25.069360][ C3] ip_rt_send_redirect (net/ipv4/route.c:920) [ 25.069728][ C3] ? __pfx_ip_rt_send_redirect (net/ipv4/route.c:868) [ 25.070085][ C3] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 25.070436][ C3] ? __pfx_pskb_expand_head (net/core/skbuff.c:2224) [ 25.070807][ C3] ? ip_forward (net/ipv4/ip_forward.c:157) [ 25.071154][ C3] ip_forward (net/ipv4/ip_forward.c:157) [ 25.071505][ C3] ? __pfx_ip_rcv (net/ipv4/ip_input.c:567) [ 25.071862][ C3] ? process_backlog (./include/linux/local_lock_internal.h:54 net/core/dev.c:6442) [ 25.072213][ C3] __netif_receive_skb_one_core (net/core/dev.c:5979 (discriminator 4)) [ 25.072647][ C3] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5972) [ 25.073091][ C3] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 25.073446][ C3] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5834) [ 25.073799][ C3] ? process_backlog (./include/linux/local_lock_internal.h:54 net/core/dev.c:6442) [ 25.074153][ C3] process_backlog (./include/linux/rcupdate.h:869 net/core/dev.c:6445) [ 25.074509][ C3] __napi_poll.constprop.0 (net/core/dev.c:7482) [ 25.074874][ C3] net_rx_action (net/core/dev.c:7546 net/core/dev.c:7673) [ 25.075230][ C3] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 25.075583][ C3] ? __pfx_net_rx_action (net/core/dev.c:7635) [ 25.075942][ C3] ? rcu_start_this_gp (kernel/rcu/tree.c:1047) [ 25.076293][ C3] ? trace_rcu_quiescent_state_report (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745 ./include/trace/events/rcu.h:368) [ 25.076740][ C3] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 25.077093][ C3] ? mark_held_locks (kernel/locking/lockdep.c:4328) [ 25.077445][ C3] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 25.077890][ C3] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 25.078247][ C3] handle_softirqs (kernel/softirq.c:579) [ 25.078599][ C3] ? __dev_queue_xmit (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:908 net/core/dev.c:4740) [ 25.078955][ C3] do_softirq (kernel/softirq.c:480 kernel/softirq.c:467) [ 25.079217][ C3] [ 25.079394][ C3] [ 25.079570][ C3] __local_bh_enable_ip (kernel/softirq.c:407) [ 25.079931][ C3] ? __dev_queue_xmit (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:908 net/core/dev.c:4740) [ 25.080281][ C3] __dev_queue_xmit (net/core/dev.c:4741) [ 25.080634][ C3] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 25.080998][ C3] ? __pfx___dev_queue_xmit (net/core/dev.c:4621) [ 25.081360][ C3] ? neigh_hh_output (./include/linux/seqlock.h:74 ./include/linux/seqlock.h:836 ./include/net/neighbour.h:501) [ 25.081707][ C3] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 25.082071][ C3] ? neigh_hh_output (./include/linux/seqlock.h:74 ./include/linux/seqlock.h:836 ./include/net/neighbour.h:501) [ 25.082429][ C3] ip_finish_output2 (./include/net/neighbour.h:545 net/ipv4/ip_output.c:235) [ 25.082789][ C3] ? ip_skb_dst_mtu (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 ./include/net/ip.h:501 ./include/net/ip.h:515) [ 25.083136][ C3] ? __pfx_ip_finish_output2 (net/ipv4/ip_output.c:199) [ 25.083484][ C3] ? __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) [ 25.083843][ C3] __ip_queue_xmit (./include/net/dst.h:461 net/ipv4/ip_output.c:129 net/ipv4/ip_output.c:527) [ 25.084196][ C3] ? __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)) [ 25.084546][ C3] __tcp_transmit_skb (net/ipv4/tcp_output.c:1625 (discriminator 4)) [ 25.084927][ C3] ? __pfx___tcp_transmit_skb (net/ipv4/tcp_output.c:1446) [ 25.085301][ C3] tcp_connect (net/ipv4/tcp_output.c:1643 net/ipv4/tcp_output.c:4319) [ 25.085658][ C3] tcp_v4_connect (net/ipv4/tcp_ipv4.c:346) [ 25.086023][ C3] ? __pfx_tcp_v4_connect (net/ipv4/tcp_ipv4.c:224) [ 25.086369][ C3] ? 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) [ 25.086726][ C3] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 25.087078][ C3] __inet_stream_connect (net/ipv4/af_inet.c:677) [ 25.087430][ C3] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:412) [ 25.087791][ C3] ? __pfx_inet_stream_connect (net/ipv4/af_inet.c:744) [ 25.088139][ C3] inet_stream_connect (net/ipv4/af_inet.c:749) [ 25.088489][ C3] __sys_connect (net/socket.c:2086 net/socket.c:2105) [ 25.088849][ C3] ? __pfx___sys_connect (net/socket.c:2093) [ 25.089195][ C3] ? do_fcntl (fs/fcntl.c:473) [ 25.089462][ C3] ? __pfx_do_fcntl (fs/fcntl.c:448) [ 25.089825][ C3] ? fd_install (./arch/x86/include/asm/preempt.h:104 ./include/linux/rcupdate.h:955 fs/file.c:661) [ 25.090179][ C3] ? __sys_socket (net/socket.c:503 net/socket.c:1740) [ 25.090527][ C3] ? __pfx___sys_socket (net/socket.c:1727) [ 25.091190][ C3] __x64_sys_connect (net/socket.c:2108) [ 25.091542][ C3] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 25.091900][ C3] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 25.092255][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 25.092981][ C3] RIP: 0033:0x7f74bd754d77 [ 25.093350][ C3] 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 [ 25.094857][ C3] RSP: 002b:00007ffe0b8621e8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 25.095395][ C3] RAX: ffffffffffffffda RBX: 0000559245a62cf0 RCX: 00007f74bd754d77 [ 25.095934][ C3] RDX: 0000000000000010 RSI: 00007ffe0b862b60 RDI: 0000000000000007 [ 25.096712][ C3] RBP: 00007ffe0b862b60 R08: 00007ffe0b8621f0 R09: 0000000000000010 [ 25.097253][ C3] R10: 0000000000000050 R11: 0000000000000246 R12: 0000000000000010 Finger prints: __icmp_send:ip_rt_send_redirect:ip_forward:__netif_receive_skb_one_core:process_backlog