======================================
| xx__-> [ 3230.158145][T18815] Initializing XFRM netlink socket
| [ 3402.528868][ C2] ------------[ cut here ]------------
| [ 3402.529369][ C2] WARNING: CPU: 2 PID: 20284 at ./include/linux/skbuff.h:1164 __xfrm_route_forward (./include/linux/skbuff.h:1164 ./include/linux/skbuff.h:1178 net/xfrm/xfrm_policy.c:3898)
| [ 3402.530048][ C2] Modules linked in: sha1_generic xfrm_user xt_policy nft_compat nf_tables act_gact cls_flower sch_ingress vxlan
[ 3402.531445][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 3402.531877][ C2] RIP: 0010:__xfrm_route_forward (./include/linux/skbuff.h:1164 ./include/linux/skbuff.h:1178 net/xfrm/xfrm_policy.c:3898)
[ 3402.532303][ C2] Code: 00 fc ff df 4c 89 ea 48 c1 ea 03 80 3c 02 00 0f 85 f7 03 00 00 48 8b 43 58 a8 01 0f 85 34 02 00 00 48 a9 fe ff ff ff 74 04 90 <0f> 0b 90 48 8d bb 81 00 00 00 48 ba 00 00 00 00 00 fc ff df 48 89
All code
========
0: 00 fc add %bh,%ah
2: ff lcall (bad)
3: df 4c 89 ea fisttps -0x16(%rcx,%rcx,4)
7: 48 c1 ea 03 shr $0x3,%rdx
b: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
f: 0f 85 f7 03 00 00 jne 0x40c
15: 48 8b 43 58 mov 0x58(%rbx),%rax
19: a8 01 test $0x1,%al
1b: 0f 85 34 02 00 00 jne 0x255
21: 48 a9 fe ff ff ff test $0xfffffffffffffffe,%rax
27: 74 04 je 0x2d
29: 90 nop
2a:* 0f 0b ud2 <-- trapping instruction
2c: 90 nop
2d: 48 8d bb 81 00 00 00 lea 0x81(%rbx),%rdi
34: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx
3b: fc ff df
3e: 48 rex.W
3f: 89 .byte 0x89
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: 90 nop
3: 48 8d bb 81 00 00 00 lea 0x81(%rbx),%rdi
a: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx
11: fc ff df
14: 48 rex.W
15: 89 .byte 0x89
[ 3402.533483][ C2] RSP: 0018:ffffc90000218a00 EFLAGS: 00010286
[ 3402.533909][ C2] RAX: ffff8880051f81c0 RBX: ffff8880112f1a80 RCX: 0000000000000001
[ 3402.534394][ C2] RDX: 1ffff1100225e35b RSI: 0000000000000001 RDI: ffff888010d04060
[ 3402.534897][ C2] RBP: 1ffff92000043142 R08: 0000000000000001 R09: ffffed1000a3f040
[ 3402.535400][ C2] R10: ffff8880051f8203 R11: ffff88806cf3a8d8 R12: 0000000000000002
[ 3402.535896][ C2] R13: ffff8880112f1ad8 R14: ffffc90000218a30 R15: ffff888010d04040
[ 3402.536379][ C2] FS: 00007fe0488da300(0000) GS:ffff8880b3c92000(0000) knlGS:0000000000000000
[ 3402.536956][ C2] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3402.537375][ C2] CR2: 00007fe048b2a8b0 CR3: 000000000b8b1002 CR4: 0000000000772ef0
[ 3402.537882][ C2] PKRU: 55555554
[ 3402.538304][ C2] Call Trace:
[ 3402.538559][ C2]
[ 3402.538751][ C2] ? __pfx___xfrm_route_forward (net/xfrm/xfrm_policy.c:3872)
[ 3402.539102][ C2] ip_forward (./include/net/xfrm.h:1363 ./include/net/xfrm.h:1369 net/ipv4/ip_forward.c:121)
[ 3402.539444][ C2] ip_rcv (./include/net/dst.h:471 ./include/net/dst.h:469 net/ipv4/ip_input.c:454 ./include/linux/netfilter.h:317 ./include/linux/netfilter.h:311 net/ipv4/ip_input.c:574)
[ 3402.539695][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:567)
[ 3402.540030][ C2] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380)
[ 3402.540365][ C2] ? validate_chain (kernel/locking/lockdep.c:3804 kernel/locking/lockdep.c:3824 kernel/locking/lockdep.c:3879)
[ 3402.540699][ C2] ? __lock_acquire (kernel/locking/lockdep.c:5240)
[ 3402.541041][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:567)
[ 3402.541364][ C2] ? process_backlog (./include/linux/local_lock_internal.h:54 net/core/dev.c:6442)
[ 3402.541696][ C2] __netif_receive_skb_one_core (net/core/dev.c:5979 (discriminator 4))
[ 3402.542112][ C2] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5972)
[ 3402.542514][ C2] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745)
[ 3402.542855][ C2] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5834)
[ 3402.543182][ C2] ? process_backlog (./include/linux/local_lock_internal.h:54 net/core/dev.c:6442)
[ 3402.543509][ C2] process_backlog (./include/linux/rcupdate.h:869 net/core/dev.c:6445)
[ 3402.543853][ C2] __napi_poll.constprop.0 (net/core/dev.c:7482)
[ 3402.544187][ C2] net_rx_action (net/core/dev.c:7546 net/core/dev.c:7673)
[ 3402.544524][ C2] ? __pfx_net_rx_action (net/core/dev.c:7635)
[ 3402.544857][ C2] ? clockevents_program_event (kernel/time/clockevents.c:326)
[ 3402.545195][ C2] ? lock_downgrade (kernel/locking/lockdep.c:468 kernel/locking/lockdep.c:5763)
[ 3402.545530][ C2] ? kvm_clock_get_cycles (./arch/x86/include/asm/preempt.h:95 arch/x86/kernel/kvmclock.c:80 arch/x86/kernel/kvmclock.c:86)
[ 3402.545868][ C2] ? ktime_get (kernel/time/timekeeping.c:251 (discriminator 4) kernel/time/timekeeping.c:360 (discriminator 4) kernel/time/timekeeping.c:778 (discriminator 4))
[ 3402.546123][ C2] ? clockevents_program_event (kernel/time/clockevents.c:334 (discriminator 3))
[ 3402.546536][ C2] handle_softirqs (kernel/softirq.c:580)
[ 3402.546876][ C2] ? __neigh_event_send (./include/linux/bottom_half.h:33 net/core/neighbour.c:1240)
[ 3402.547212][ C2] do_softirq (kernel/softirq.c:480 kernel/softirq.c:467)
[ 3402.547463][ C2]
[ 3402.547647][ C2]
[ 3402.547830][ C2] __local_bh_enable_ip (kernel/softirq.c:407)
[ 3402.548156][ C2] __neigh_event_send (net/core/neighbour.c:1241)
[ 3402.548491][ C2] neigh_resolve_output (net/core/neighbour.c:1545)
[ 3402.548825][ C2] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:412)
[ 3402.549154][ C2] ? ___neigh_create (net/core/neighbour.c:693)
[ 3402.549485][ C2] ip_finish_output2 (./include/net/neighbour.h:547 net/ipv4/ip_output.c:235)
[ 3402.549824][ 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)
[ 3402.550157][ C2] ? __pfx_ip_finish_output2 (net/ipv4/ip_output.c:199)
[ 3402.550487][ 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)
[ 3402.550827][ C2] ip_output (./include/linux/netfilter.h:306 net/ipv4/ip_output.c:433)
[ 3402.551081][ C2] ? __ip_local_out (net/ipv4/ip_output.c:96 net/ipv4/ip_output.c:107)
[ 3402.551408][ C2] ? __pfx_ip_output (net/ipv4/ip_output.c:427)
[ 3402.551744][ C2] ? __ip_make_skb (net/ipv4/ip_output.c:1382 net/ipv4/ip_output.c:1492)
[ 3402.552075][ C2] ? __pfx_raw_getfrag (net/ipv4/raw.c:453)
[ 3402.552406][ C2] ? ip_append_data (net/ipv4/ip_output.c:1371 net/ipv4/ip_output.c:1350)
[ 3402.552756][ C2] 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)
[ 3402.553086][ C2] raw_sendmsg (net/ipv4/raw.c:658)
[ 3402.553420][ C2] ? find_held_lock (kernel/locking/lockdep.c:5353)
[ 3402.553754][ C2] ? __pfx_raw_sendmsg (net/ipv4/raw.c:483)
[ 3402.554082][ C2] ? do_fault_around (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 mm/memory.c:5551)
[ 3402.554413][ C2] ? __lock_release (kernel/locking/lockdep.c:5539)
[ 3402.554775][ C2] ? find_held_lock (kernel/locking/lockdep.c:5353)
[ 3402.555114][ C2] ? __might_fault (mm/memory.c:6971 mm/memory.c:6965)
[ 3402.555448][ C2] ? __lock_release (kernel/locking/lockdep.c:5539)
[ 3402.555784][ C2] ? __might_fault (mm/memory.c:6971 mm/memory.c:6965)
[ 3402.556116][ C2] __sys_sendto (net/socket.c:714 net/socket.c:729 net/socket.c:2228)
[ 3402.556447][ C2] ? __pfx___sys_sendto (net/socket.c:2195)
[ 3402.556798][ C2] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745)
[ 3402.557127][ C2] ? rseq_update_cpu_node_id (kernel/rseq.c:189 (discriminator 10))
[ 3402.557465][ C2] ? __rseq_handle_notify_resume (kernel/rseq.c:442)
[ 3402.557885][ C2] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:425)
[ 3402.558296][ C2] __x64_sys_sendto (net/socket.c:2231)
[ 3402.558621][ C2] ? 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)
[ 3402.558974][ C2] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475)
[ 3402.559302][ C2] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94)
[ 3402.559630][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130)
[ 3402.560037][ C2] RIP: 0033:0x7fe048b7128a
[ 3402.560380][ C2] 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
[ 3402.561524][ C2] RSP: 002b:00007ffc50a9d6f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
[ 3402.562021][ C2] RAX: ffffffffffffffda RBX: 0000000000000038 RCX: 00007fe048b7128a
[ 3402.562513][ C2] RDX: 0000000000000040 RSI: 00000000361e63f0 RDI: 0000000000000005
[ 3402.563008][ C2] RBP: 00007ffc50a9d750 R08: 00000000004185e0 R09: 0000000000000010
[ 3402.563494][ C2] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000054
Finger prints:
__xfrm_route_forward:ip_forward:ip_rcv:__netif_receive_skb_one_core:process_backlog