======================================
| 0
| xx__-> [ 89.746821][ C0] ------------[ cut here ]------------
| [ 89.747337][ C0] WARNING: CPU: 0 PID: 678 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)
| [ 89.748032][ C0] Modules linked in: dummy veth nf_log_syslog nft_log nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nf_tables
[ 89.749474][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 89.749900][ C0] RIP: 0010:icmp_route_lookup.constprop.0 (./include/linux/skbuff.h:1164 ./include/linux/skbuff.h:1178 net/ipv4/icmp.c:548)
[ 89.750328][ C0] 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
[ 89.751546][ C0] RSP: 0018:ffffc900000076b8 EFLAGS: 00010286
[ 89.751971][ C0] RAX: ffff88800a1dd6c0 RBX: 1ffff92000000edb RCX: 0000000000000002
[ 89.752489][ C0] RDX: 1ffff110012c7d2b RSI: ffffffffbb6a1d68 RDI: ffffc9000000776a
[ 89.752998][ C0] RBP: ffff88800963e900 R08: 0000000000000001 R09: ffff88800a1dd840
[ 89.753513][ C0] R10: ffffe8ffffc054ef R11: ffff88800963e958 R12: ffff888005028040
[ 89.754012][ C0] R13: ffffc90000007968 R14: ffff88800a1dd9c0 R15: ffffc900000076f8
[ 89.754519][ C0] FS: 00007f0658402300(0000) GS:ffff888078aa4000(0000) knlGS:0000000000000000
[ 89.755103][ C0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 89.755741][ C0] CR2: 00007fffab44e740 CR3: 000000000edcb005 CR4: 0000000000772ef0
[ 89.756242][ C0] PKRU: 55555554
[ 89.756530][ C0] Call Trace:
[ 89.756782][ C0]
[ 89.756957][ C0] ? __pfx_icmp_route_lookup.constprop.0 (net/ipv4/icmp.c:480)
[ 89.757402][ C0] ? find_held_lock (kernel/locking/lockdep.c:5353)
[ 89.757735][ C0] ? __ip_options_echo (net/ipv4/ip_options.c:86)
[ 89.758069][ C0] ? __icmp_send (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/ipv4/icmp.c:718)
[ 89.758403][ C0] ? __lock_release (kernel/locking/lockdep.c:5539)
[ 89.758738][ C0] __icmp_send (net/ipv4/icmp.c:746)
[ 89.759083][ C0] ? __pfx___icmp_send (net/ipv4/icmp.c:596)
[ 89.759434][ C0] ? ip_finish_output2 (./include/net/neighbour.h:547 net/ipv4/ip_output.c:235)
[ 89.759773][ C0] ? __lock_acquire (kernel/locking/lockdep.c:5240)
[ 89.760119][ C0] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745)
[ 89.760466][ C0] ip_rt_send_redirect (net/ipv4/route.c:920)
[ 89.760798][ C0] ? __lock_acquire (kernel/locking/lockdep.c:5240)
[ 89.761133][ C0] ? __pfx_ip_rt_send_redirect (net/ipv4/route.c:868)
[ 89.761470][ C0] ? find_held_lock (kernel/locking/lockdep.c:5353)
[ 89.761802][ C0] ? ip_dst_mtu_maybe_forward.constprop.0 (./include/linux/rcupdate.h:873 ./include/net/ip.h:501)
[ 89.762212][ C0] ? __lock_release (kernel/locking/lockdep.c:5539)
[ 89.762562][ C0] ? ip_forward (net/ipv4/ip_forward.c:157)
[ 89.762891][ C0] ip_forward (net/ipv4/ip_forward.c:157)
[ 89.763228][ C0] ? __pfx_ip_rcv (net/ipv4/ip_input.c:567)
[ 89.763564][ C0] ? process_backlog (./include/linux/local_lock_internal.h:54 net/core/dev.c:6442)
[ 89.763895][ C0] __netif_receive_skb_one_core (net/core/dev.c:5979 (discriminator 4))
[ 89.764312][ C0] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5972)
[ 89.764733][ C0] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745)
[ 89.765069][ C0] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5834)
[ 89.765412][ C0] ? process_backlog (./include/linux/local_lock_internal.h:54 net/core/dev.c:6442)
[ 89.765758][ C0] process_backlog (./include/linux/rcupdate.h:869 net/core/dev.c:6445)
[ 89.766100][ C0] __napi_poll.constprop.0 (net/core/dev.c:7482)
[ 89.766444][ C0] net_rx_action (net/core/dev.c:7546 net/core/dev.c:7673)
[ 89.766789][ C0] ? __pfx_net_rx_action (net/core/dev.c:7635)
[ 89.767120][ C0] ? clockevents_program_event (kernel/time/clockevents.c:326)
[ 89.767460][ C0] ? __lock_release (kernel/locking/lockdep.c:5515)
[ 89.767800][ C0] ? kvm_clock_get_cycles (./arch/x86/include/asm/preempt.h:95 arch/x86/kernel/kvmclock.c:80 arch/x86/kernel/kvmclock.c:86)
[ 89.768136][ C0] ? ktime_get (kernel/time/timekeeping.c:251 (discriminator 4) kernel/time/timekeeping.c:360 (discriminator 4) kernel/time/timekeeping.c:778 (discriminator 4))
[ 89.768395][ C0] ? clockevents_program_event (kernel/time/clockevents.c:336 (discriminator 3))
[ 89.768816][ C0] handle_softirqs (kernel/softirq.c:579)
[ 89.769155][ C0] ? __dev_queue_xmit (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:908 net/core/dev.c:4740)
[ 89.769502][ C0] do_softirq (kernel/softirq.c:480 kernel/softirq.c:467)
[ 89.769752][ C0]
[ 89.769924][ C0]
[ 89.770091][ C0] __local_bh_enable_ip (kernel/softirq.c:407)
[ 89.770427][ C0] ? __dev_queue_xmit (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:908 net/core/dev.c:4740)
[ 89.770755][ C0] __dev_queue_xmit (net/core/dev.c:4741)
[ 89.771086][ C0] ? __lock_acquire (kernel/locking/lockdep.c:5240)
[ 89.771448][ C0] ? __pfx___dev_queue_xmit (net/core/dev.c:4621)
[ 89.771784][ C0] ? eth_header (net/ethernet/eth.c:100)
[ 89.772117][ C0] ? neigh_resolve_output (./include/linux/netdevice.h:3412 net/core/neighbour.c:1556 net/core/neighbour.c:1541)
[ 89.772470][ C0] ip_finish_output2 (./include/net/neighbour.h:547 net/ipv4/ip_output.c:235)
[ 89.772806][ C0] ? ip_skb_dst_mtu (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 ./include/net/ip.h:501 ./include/net/ip.h:515)
[ 89.773139][ C0] ? __pfx_ip_finish_output2 (net/ipv4/ip_output.c:199)
[ 89.773482][ C0] ? __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)
[ 89.773806][ C0] ip_push_pending_frames (./include/net/dst.h:461 net/ipv4/ip_output.c:129 net/ipv4/ip_output.c:1501 net/ipv4/ip_output.c:1521)
[ 89.774133][ C0] raw_sendmsg (net/ipv4/raw.c:658)
[ 89.774467][ C0] ? __pfx_raw_sendmsg (net/ipv4/raw.c:483)
[ 89.774788][ C0] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380)
[ 89.775110][ C0] ? __lock_acquire (kernel/locking/lockdep.c:5240)
[ 89.775451][ C0] ? find_held_lock (kernel/locking/lockdep.c:5353)
[ 89.775769][ C0] ? __might_fault (mm/memory.c:6971 mm/memory.c:6965)
[ 89.776093][ C0] ? __lock_release (kernel/locking/lockdep.c:5539)
[ 89.776419][ C0] ? __might_fault (mm/memory.c:6971 mm/memory.c:6965)
[ 89.776735][ C0] ? _copy_from_user (./arch/x86/include/asm/smap.h:29 ./arch/x86/include/asm/uaccess_64.h:134 ./arch/x86/include/asm/uaccess_64.h:141 ./include/linux/uaccess.h:178 lib/usercopy.c:18)
[ 89.777057][ C0] __sys_sendto (net/socket.c:714 net/socket.c:729 net/socket.c:2228)
[ 89.777387][ C0] ? __pfx___sys_sendto (net/socket.c:2195)
[ 89.777711][ C0] ? __pfx_lock_vma_under_rcu (mm/mmap_lock.c:137)
[ 89.778033][ C0] ? find_held_lock (kernel/locking/lockdep.c:5353)
[ 89.778360][ C0] ? 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:1484 arch/x86/mm/fault.c:1532)
[ 89.778696][ C0] ? __lock_release (kernel/locking/lockdep.c:5539)
[ 89.779024][ C0] ? 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:1484 arch/x86/mm/fault.c:1532)
[ 89.779355][ C0] ? 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/mmap_lock.h:142 ./include/linux/mmap_lock.h:237 arch/x86/mm/fault.c:1338)
[ 89.779700][ C0] __x64_sys_sendto (net/socket.c:2231)
[ 89.780034][ C0] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90)
[ 89.780373][ C0] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475)
[ 89.780705][ C0] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94)
[ 89.781038][ C0] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130)
[ 89.781457][ C0] RIP: 0033:0x7f065869928a
[ 89.781800][ C0] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89
All code
========
0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4)
4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax
b: eb b8 jmp 0xffffffffffffffc5
d: 0f 1f 00 nopl (%rax)
10: f3 0f 1e fa endbr64
14: 41 89 ca mov %ecx,%r10d
17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax
1e: 00
1f: 85 c0 test %eax,%eax
21: 75 15 jne 0x38
23: b8 2c 00 00 00 mov $0x2c,%eax
28: 0f 05 syscall
2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction
30: 77 7e ja 0xb0
32: c3 ret
33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
38: 41 54 push %r12
3a: 48 83 ec 30 sub $0x30,%rsp
3e: 44 rex.R
3f: 89 .byte 0x89
Code starting with the faulting instruction
===========================================
0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax
6: 77 7e ja 0x86
8: c3 ret
9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
e: 41 54 push %r12
10: 48 83 ec 30 sub $0x30,%rsp
14: 44 rex.R
15: 89 .byte 0x89
[ 89.782996][ C0] RSP: 002b:00007fffab44f178 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
[ 89.783506][ C0] RAX: ffffffffffffffda RBX: 0000000000000038 RCX: 00007f065869928a
[ 89.783997][ C0] RDX: 0000000000000040 RSI: 000000000b1c53f0 RDI: 0000000000000005
[ 89.784499][ C0] RBP: 00007fffab44f1d0 R08: 00000000004185e0 R09: 0000000000000010
[ 89.784994][ C0] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000054
Finger prints:
__icmp_send:ip_rt_send_redirect:ip_forward:__netif_receive_skb_one_core:process_backlog