======================================
| [ 26.380641][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 10.0.254.1:7010. Sending cookies.
| [ 27.431553][ C1] ------------[ cut here ]------------
| [ 27.431975][ C1] kernel BUG at net/core/skbuff.c:2813!
| [ 27.432454][ C1] invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI
[ 27.433140][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 27.433717][ C1] RIP: 0010:__pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 27.434035][ C1] Code: e9 52 f7 ff ff 48 8b 7c 24 38 be 02 00 00 00 e8 9e 9c ff ff 48 83 c4 58 31 c0 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc 90 <0f> 0b 48 c7 44 24 38 00 00 00 00 e9 dc fa ff ff 84 c9 0f 84 4b f9
All code
========
0: e9 52 f7 ff ff jmp 0xfffffffffffff757
5: 48 8b 7c 24 38 mov 0x38(%rsp),%rdi
a: be 02 00 00 00 mov $0x2,%esi
f: e8 9e 9c ff ff call 0xffffffffffff9cb2
14: 48 83 c4 58 add $0x58,%rsp
18: 31 c0 xor %eax,%eax
1a: 5b pop %rbx
1b: 41 5c pop %r12
1d: 41 5d pop %r13
1f: 41 5e pop %r14
21: 41 5f pop %r15
23: 5d pop %rbp
24: c3 ret
25: cc int3
26: cc int3
27: cc int3
28: cc int3
29: 90 nop
2a:* 0f 0b ud2 <-- trapping instruction
2c: 48 c7 44 24 38 00 00 movq $0x0,0x38(%rsp)
33: 00 00
35: e9 dc fa ff ff jmp 0xfffffffffffffb16
3a: 84 c9 test %cl,%cl
3c: 0f .byte 0xf
3d: 84 4b f9 test %cl,-0x7(%rbx)
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: 48 c7 44 24 38 00 00 movq $0x0,0x38(%rsp)
9: 00 00
b: e9 dc fa ff ff jmp 0xfffffffffffffaec
10: 84 c9 test %cl,%cl
12: 0f .byte 0xf
13: 84 4b f9 test %cl,-0x7(%rbx)
[ 27.434660][ C1] RSP: 0018:ffffc900001c8b68 EFLAGS: 00010282
[ 27.434859][ C1] RAX: 00000000fffffff2 RBX: ffff88800385b2ac RCX: 0000000000000004
[ 27.435094][ C1] RDX: dffffc0000000000 RSI: 1ffff110006d6439 RDI: ffff8880036b21c8
[ 27.435317][ C1] RBP: ffffc900001c8be8 R08: 0000000000000014 R09: ffff88800385b2f4
[ 27.435539][ C1] R10: ffff88800385b2f8 R11: ffff88800385b2f8 R12: ffff88800385b240
[ 27.435764][ C1] R13: 0000000000000100 R14: 0000000000000000 R15: ffff88800385b2ea
[ 27.436000][ C1] FS: 00007f820f84b640(0000) GS:ffff888036080000(0000) knlGS:0000000000000000
[ 27.436260][ C1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 27.436450][ C1] CR2: 00007f820801c0a8 CR3: 000000000365a001 CR4: 0000000000770ef0
[ 27.436675][ C1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 27.436899][ C1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 27.437147][ C1] PKRU: 55555554
[ 27.437263][ C1] Call Trace:
[ 27.437381][ C1]
[ 27.437458][ C1] ? die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434 arch/x86/kernel/dumpstack.c:447)
[ 27.437576][ C1] ? do_trap (arch/x86/kernel/traps.c:113 arch/x86/kernel/traps.c:154)
[ 27.437694][ C1] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 27.437845][ C1] ? do_error_trap (./arch/x86/include/asm/traps.h:58 arch/x86/kernel/traps.c:175)
[ 27.438002][ C1] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 27.438163][ C1] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 27.438315][ C1] ? handle_invalid_op (arch/x86/kernel/traps.c:213)
[ 27.438466][ C1] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 27.438614][ C1] ? exc_invalid_op (arch/x86/kernel/traps.c:265)
[ 27.438767][ C1] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568)
[ 27.438929][ C1] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 27.439081][ C1] ? __pskb_pull_tail (net/core/skbuff.c:2813)
[ 27.439231][ C1] ? __netif_receive_skb_core.constprop.0 (net/core/dev.c:5498)
[ 27.439424][ C1] tcp_v4_early_demux (./include/linux/skbuff.h:2731 ./include/linux/skbuff.h:2739 net/ipv4/tcp_ipv4.c:1966)
[ 27.439581][ C1] ip_rcv_finish_core.constprop.0 (./include/linux/skbuff.h:2943 ./include/linux/ip.h:21 net/ipv4/ip_input.c:344)
[ 27.439774][ C1] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562)
[ 27.439929][ C1] ip_rcv (net/ipv4/ip_input.c:448 ./include/linux/netfilter.h:422 net/ipv4/ip_input.c:569)
[ 27.440044][ C1] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562)
[ 27.440192][ C1] __netif_receive_skb_one_core (net/core/dev.c:5610 (discriminator 4))
[ 27.440381][ C1] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5603)
[ 27.440570][ C1] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725)
[ 27.440727][ C1] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:6051)
[ 27.440878][ C1] process_backlog (./include/linux/rcupdate.h:779 net/core/dev.c:6053)
[ 27.441038][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244)
[ 27.441192][ C1] __napi_poll.constprop.0 (net/core/dev.c:6703)
[ 27.441342][ C1] net_rx_action (net/core/dev.c:6772 net/core/dev.c:6886)
[ 27.441497][ C1] ? __pfx_net_rx_action (net/core/dev.c:6850)
[ 27.441647][ C1] ? hlock_class (kernel/locking/lockdep.c:223)
[ 27.441799][ C1] ? mark_held_locks (kernel/locking/lockdep.c:4274)
[ 27.441961][ C1] ? hrtimer_interrupt (kernel/time/hrtimer.c:1828)
[ 27.442118][ C1] __do_softirq (kernel/softirq.c:553)
[ 27.442274][ C1] ? __dev_queue_xmit (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:818 net/core/dev.c:4399)
[ 27.442424][ C1] do_softirq (kernel/softirq.c:454 kernel/softirq.c:441)
[ 27.442539][ C1]
[ 27.442616][ C1]
[ 27.442691][ C1] __local_bh_enable_ip (kernel/softirq.c:381)
[ 27.442841][ C1] ? __dev_queue_xmit (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:818 net/core/dev.c:4399)
[ 27.443044][ C1] __dev_queue_xmit (net/core/dev.c:4400)
[ 27.443297][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359)
[ 27.443543][ C1] ? __pfx___dev_queue_xmit (net/core/dev.c:4281)
[ 27.443714][ C1] ? neigh_hh_output (./include/linux/seqlock.h:74 ./include/linux/seqlock.h:772 ./include/net/neighbour.h:496)
[ 27.443956][ C1] ip_finish_output2 (./include/net/neighbour.h:540 net/ipv4/ip_output.c:235)
[ 27.444200][ C1] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:228)
[ 27.444438][ C1] ? __pfx_ip_finish_output2 (net/ipv4/ip_output.c:199)
[ 27.444676][ C1] ? __ip_finish_output (./include/linux/skbuff.h:1624 ./include/linux/skbuff.h:4942 net/ipv4/ip_output.c:307)
[ 27.444911][ C1] __ip_queue_xmit (net/ipv4/ip_output.c:535 (discriminator 4))
[ 27.445155][ C1] ? tcp_options_write (net/ipv4/tcp_output.c:670)
[ 27.445399][ C1] __tcp_transmit_skb (net/ipv4/tcp_output.c:1462 (discriminator 4))
[ 27.445646][ C1] ? __pfx___tcp_transmit_skb (net/ipv4/tcp_output.c:1283)
[ 27.445893][ C1] ? tcp_mtu_probe (./include/net/net_namespace.h:383 ./include/net/sock.h:648 net/ipv4/tcp_output.c:2420)
[ 27.446137][ C1] ? mark_held_locks (kernel/locking/lockdep.c:4274)
[ 27.446385][ C1] ? tcp_small_queue_check.isra.0 (./arch/x86/include/asm/atomic.h:23 ./include/linux/atomic/atomic-arch-fallback.h:457 ./include/linux/atomic/atomic-instrumented.h:33 ./include/linux/refcount.h:136 net/ipv4/tcp_output.c:2623)
[ 27.446692][ C1] tcp_write_xmit (net/ipv4/tcp_output.c:2792)
[ 27.446941][ C1] ? __alloc_skb (./arch/x86/include/asm/atomic.h:28 ./include/linux/atomic/atomic-arch-fallback.h:503 ./include/linux/atomic/atomic-instrumented.h:68 ./include/linux/refcount.h:125 net/core/skbuff.c:696)
[ 27.447193][ C1] ? __pfx_tcp_write_xmit (net/ipv4/tcp_output.c:2702)
[ 27.447436][ C1] ? skb_do_copy_data_nocache (./include/net/sock.h:2258)
[ 27.447681][ C1] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3))
[ 27.447864][ C1] ? __pfx_skb_do_copy_data_nocache (./include/net/sock.h:2257)
[ 27.448178][ C1] ? skb_page_frag_refill (./arch/x86/include/asm/atomic.h:23 ./include/linux/atomic/atomic-arch-fallback.h:457 ./include/linux/atomic/atomic-instrumented.h:33 ./include/linux/page_ref.h:67 net/core/sock.c:2908)
[ 27.448424][ C1] __tcp_push_pending_frames (net/ipv4/tcp_output.c:2977)
[ 27.448669][ C1] tcp_sendmsg_locked (net/ipv4/tcp.c:1309)
[ 27.448923][ C1] ? __lock_release (kernel/locking/lockdep.c:5430)
[ 27.449158][ C1] ? tcp_sendmsg (net/ipv4/tcp.c:1341)
[ 27.449311][ C1] ? __pfx_tcp_sendmsg_locked (net/ipv4/tcp.c:1039)
[ 27.449460][ C1] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:228)
[ 27.449611][ C1] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3))
[ 27.449729][ C1] tcp_sendmsg (net/ipv4/tcp.c:1342)
[ 27.449843][ C1] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191)
[ 27.450015][ C1] ? __fget_files (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:783 fs/file.c:1037)
[ 27.450167][ C1] ? __pfx___sys_sendto (net/socket.c:2161)
[ 27.450321][ C1] ? __pfx_do_sock_getsockopt (net/socket.c:2351)
[ 27.450473][ C1] ? __fget_files (fs/file.c:1040)
[ 27.450626][ C1] ? fput (./arch/x86/include/asm/atomic64_64.h:61 ./include/linux/atomic/atomic-arch-fallback.h:4382 ./include/linux/atomic/atomic-long.h:1563 ./include/linux/atomic/atomic-instrumented.h:4504 fs/file_table.c:427)
[ 27.450741][ C1] ? __sys_getsockopt (net/socket.c:2406)
[ 27.450891][ C1] ? __pfx___sys_getsockopt (net/socket.c:2392)
[ 27.451052][ C1] __x64_sys_sendto (net/socket.c:2199)
[ 27.451201][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359)
[ 27.451388][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 27.451543][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 27.451733][ C1] RIP: 0033:0x7f820f99e74e
[ 27.451889][ C1] Code: 4c 24 1c e8 b4 c4 f4 ff 44 8b 54 24 1c 8b 3c 24 45 31 c9 41 89 c4 48 8b 54 24 10 48 8b 74 24 08 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 32 44 89 e7 48 89 04 24 e8 fe c4 f4 ff 48 8b
All code
========
0: 4c 24 1c rex.WR and $0x1c,%al
3: e8 b4 c4 f4 ff call 0xfffffffffff4c4bc
8: 44 8b 54 24 1c mov 0x1c(%rsp),%r10d
d: 8b 3c 24 mov (%rsp),%edi
10: 45 31 c9 xor %r9d,%r9d
13: 41 89 c4 mov %eax,%r12d
16: 48 8b 54 24 10 mov 0x10(%rsp),%rdx
1b: 48 8b 74 24 08 mov 0x8(%rsp),%rsi
20: 45 31 c0 xor %r8d,%r8d
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 32 ja 0x64
32: 44 89 e7 mov %r12d,%edi
35: 48 89 04 24 mov %rax,(%rsp)
39: e8 fe c4 f4 ff call 0xfffffffffff4c53c
3e: 48 rex.W
3f: 8b .byte 0x8b
Code starting with the faulting instruction
===========================================
0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax
6: 77 32 ja 0x3a
8: 44 89 e7 mov %r12d,%edi
b: 48 89 04 24 mov %rax,(%rsp)
f: e8 fe c4 f4 ff call 0xfffffffffff4c512
14: 48 rex.W
15: 8b .byte 0x8b
[ 27.452425][ C1] RSP: 002b:00007f820f84a480 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
[ 27.452651][ C1] RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f820f99e74e
[ 27.452878][ C1] RDX: 0000000000000064 RSI: 00007f820f84a5a0 RDI: 0000000000000008
[ 27.453113][ C1] RBP: 00007f820f84a590 R08: 0000000000000000 R09: 0000000000000000
[ 27.453339][ C1] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
Finger prints:
__pskb_pull_tail:tcp_v4_early_demux:ip_rcv:__netif_receive_skb_one_core