======================================
| [ 2.446008] Initializing XFRM netlink socket
| [ 18.449122] ------------[ cut here ]------------
| [ 18.449184] kernel BUG at net/core/skbuff.c:5103!
| [ 18.449231] invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
[ 18.449318] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 18.449393] RIP: 0010:__skb_to_sgvec (net/core/skbuff.c:5103 (discriminator 1))
[ 18.449440] Code: 00 00 00 e9 d8 fe ff ff 41 8d 54 24 ff 48 63 d2 48 c1 e2 05 41 f6 44 15 00 02 74 84 e9 b9 fe ff ff 85 db 0f 84 b7 fe ff ff 90 <0f> 0b 41 89 c4 e9 ac fe ff ff 90 0f 0b 4c 8b 0d 30 7f d4 00 e9 e9
All code
========
0: 00 00 add %al,(%rax)
2: 00 e9 add %ch,%cl
4: d8 fe fdivr %st(6),%st
6: ff (bad)
7: ff 41 8d incl -0x73(%rcx)
a: 54 push %rsp
b: 24 ff and $0xff,%al
d: 48 63 d2 movslq %edx,%rdx
10: 48 c1 e2 05 shl $0x5,%rdx
14: 41 f6 44 15 00 02 testb $0x2,0x0(%r13,%rdx,1)
1a: 74 84 je 0xffffffffffffffa0
1c: e9 b9 fe ff ff jmp 0xfffffffffffffeda
21: 85 db test %ebx,%ebx
23: 0f 84 b7 fe ff ff je 0xfffffffffffffee0
29: 90 nop
2a:* 0f 0b ud2 <-- trapping instruction
2c: 41 89 c4 mov %eax,%r12d
2f: e9 ac fe ff ff jmp 0xfffffffffffffee0
34: 90 nop
35: 0f 0b ud2
37: 4c 8b 0d 30 7f d4 00 mov 0xd47f30(%rip),%r9 # 0xd47f6e
3e: e9 .byte 0xe9
3f: e9 .byte 0xe9
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: 41 89 c4 mov %eax,%r12d
5: e9 ac fe ff ff jmp 0xfffffffffffffeb6
a: 90 nop
b: 0f 0b ud2
d: 4c 8b 0d 30 7f d4 00 mov 0xd47f30(%rip),%r9 # 0xd47f44
14: e9 .byte 0xe9
15: e9 .byte 0xe9
[ 18.449554] RSP: 0018:ffffb85440140b88 EFLAGS: 00010202
[ 18.449594] RAX: 0000000000000058 RBX: 0000000000000040 RCX: 0000000000000001
[ 18.449647] RDX: ffff905e046bbac0 RSI: 0000000000000001 RDI: ffff905e01f2f600
[ 18.449699] RBP: 0000000000000058 R08: 0000000000000000 R09: ffff905e046bb800
[ 18.449751] R10: 00000000000002c0 R11: 0000000000000002 R12: 0000000000000002
[ 18.449809] R13: ffff905e046bbe18 R14: ffff905e046bbc00 R15: 0000000000000000
[ 18.449864] FS: 00007f2e86bff300(0000) GS:ffff905e3ed80000(0000) knlGS:0000000000000000
[ 18.449920] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 18.449963] CR2: 00007f2e86e8e840 CR3: 0000000002440004 CR4: 0000000000770ef0
[ 18.450018] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 18.450068] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 18.450120] PKRU: 55555554
[ 18.450141] Call Trace:
[ 18.450168]
[ 18.450191] ? die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434 arch/x86/kernel/dumpstack.c:447)
[ 18.450227] ? do_trap (arch/x86/kernel/traps.c:113 arch/x86/kernel/traps.c:154)
[ 18.450258] ? __skb_to_sgvec (net/core/skbuff.c:5103 (discriminator 1))
[ 18.450288] ? do_error_trap (./arch/x86/include/asm/traps.h:58 arch/x86/kernel/traps.c:175)
[ 18.450317] ? __skb_to_sgvec (net/core/skbuff.c:5103 (discriminator 1))
[ 18.450348] ? exc_invalid_op (arch/x86/kernel/traps.c:265)
[ 18.450380] ? __skb_to_sgvec (net/core/skbuff.c:5103 (discriminator 1))
[ 18.450410] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568)
[ 18.450446] ? __skb_to_sgvec (net/core/skbuff.c:5103 (discriminator 1))
[ 18.450475] skb_to_sgvec (net/core/skbuff.c:5123)
[ 18.450504] esp_output_tail (net/ipv4/esp4.c:578)
[ 18.450541] esp_xmit (net/ipv4/esp4_offload.c:342)
[ 18.450573] validate_xmit_xfrm (net/xfrm/xfrm_device.c:184)
[ 18.450603] ? validate_xmit_skb (net/core/dev.c:3632)
[ 18.450634] __dev_queue_xmit (net/core/dev.c:4364)
[ 18.450666] ? eth_header (net/ethernet/eth.c:85)
[ 18.450699] __neigh_update (net/core/neighbour.c:1461)
[ 18.450734] arp_process (./include/net/neighbour.h:444 (discriminator 4) net/ipv4/arp.c:934 (discriminator 4))
[ 18.450769] ? ip_finish_output2 (net/ipv4/ip_output.c:245)
[ 18.450808] __netif_receive_skb_one_core (net/core/dev.c:5610 (discriminator 5))
[ 18.450847] process_backlog (./include/linux/rcupdate.h:782 net/core/dev.c:6053)
[ 18.450877] __napi_poll (net/core/dev.c:6703)
[ 18.450908] net_rx_action (net/core/dev.c:6774 net/core/dev.c:6886)
[ 18.450936] __do_softirq (kernel/softirq.c:553)
[ 18.450971] do_softirq (kernel/softirq.c:454 kernel/softirq.c:441)
[ 18.451004]
[ 18.451024]
[ 18.451045] __local_bh_enable_ip (kernel/softirq.c:381)
[ 18.451075] __neigh_event_send (./arch/x86/include/asm/jump_label.h:27 ./include/linux/jump_label.h:207 ./include/trace/events/neigh.h:237 net/core/neighbour.c:1246)
[ 18.451105] neigh_resolve_output (net/core/neighbour.c:1547)
[ 18.451144] ip_finish_output2 (./include/net/neighbour.h:542 net/ipv4/ip_output.c:235)
[ 18.451175] ? __ip_finish_output (./include/linux/skbuff.h:4942 net/ipv4/ip_output.c:307 net/ipv4/ip_output.c:295)
[ 18.451214] ip_push_pending_frames (./include/net/dst.h:450 net/ipv4/ip_output.c:129 net/ipv4/ip_output.c:1496 net/ipv4/ip_output.c:1516)
[ 18.451253] raw_sendmsg (net/ipv4/raw.c:648)
[ 18.451290] ? next_uptodate_folio (./include/linux/xarray.h:1699 mm/filemap.c:3395)
[ 18.451331] ? __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191)
[ 18.451363] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191)
[ 18.451395] ? handle_mm_fault (mm/memory.c:5330 mm/memory.c:5486)
[ 18.451426] ? do_user_addr_fault (./include/linux/rcupdate.h:782 ./include/linux/mm.h:688 arch/x86/mm/fault.c:1357)
[ 18.451467] __x64_sys_sendto (net/socket.c:2203 net/socket.c:2199 net/socket.c:2199)
[ 18.451496] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 18.451529] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 18.451571] RIP: 0033:0x7f2e86ed585a
[ 18.451600] 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
[ 18.451714] RSP: 002b:00007fff57f45a88 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
[ 18.451767] RAX: ffffffffffffffda RBX: 0000000000000038 RCX: 00007f2e86ed585a
[ 18.451818] RDX: 0000000000000040 RSI: 0000000000ef4340 RDI: 0000000000000005
[ 18.451871] RBP: 00007fff57f45ae0 R08: 00000000004185e0 R09: 0000000000000010
[ 18.451923] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000054
Finger prints:
__skb_to_sgvec:skb_to_sgvec:esp_output_tail:esp_xmit