======================================
|
| [ 78.338267][ C1] ------------[ cut here ]------------
| [ 78.338796][ C1] kernel BUG at net/core/skbuff.c:2813!
| [ 78.339097][ C1] invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI
[ 78.339815][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 78.340381][ C1] RIP: 0010:__pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 78.340713][ 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)
[ 78.341606][ C1] RSP: 0018:ffffc900001c8b68 EFLAGS: 00010282
[ 78.341935][ C1] RAX: 00000000fffffff2 RBX: ffff888005a809ac RCX: 0000000000000004
[ 78.342312][ C1] RDX: dffffc0000000000 RSI: 1ffff11000b42d09 RDI: ffff888005a16848
[ 78.342701][ C1] RBP: ffffc900001c8be8 R08: 0000000000000014 R09: ffff888005a809f4
[ 78.343081][ C1] R10: ffff888005a809f8 R11: ffff888005a809f8 R12: ffff888005a80940
[ 78.343460][ C1] R13: 0000000000000100 R14: 0000000000000000 R15: ffff888005a809ea
[ 78.343841][ C1] FS: 00007fbdcc469b80(0000) GS:ffff888036080000(0000) knlGS:0000000000000000
[ 78.344282][ C1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 78.344605][ C1] CR2: 0000000000935008 CR3: 0000000007f42001 CR4: 0000000000770ef0
[ 78.344985][ C1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 78.345361][ C1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 78.345742][ C1] PKRU: 55555554
[ 78.345936][ C1] Call Trace:
[ 78.346129][ C1]
[ 78.346265][ C1] ? die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434 arch/x86/kernel/dumpstack.c:447)
[ 78.346465][ C1] ? do_trap (arch/x86/kernel/traps.c:113 arch/x86/kernel/traps.c:154)
[ 78.346663][ C1] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 78.346919][ C1] ? do_error_trap (./arch/x86/include/asm/traps.h:58 arch/x86/kernel/traps.c:175)
[ 78.347171][ C1] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 78.347427][ C1] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 78.347680][ C1] ? handle_invalid_op (arch/x86/kernel/traps.c:213)
[ 78.347931][ C1] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 78.348182][ C1] ? exc_invalid_op (arch/x86/kernel/traps.c:265)
[ 78.348437][ C1] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568)
[ 78.348694][ C1] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 78.348949][ C1] ? __pskb_pull_tail (net/core/skbuff.c:2813)
[ 78.349199][ C1] ? __netif_receive_skb_core.constprop.0 (net/core/dev.c:5498)
[ 78.349519][ C1] tcp_v4_early_demux (./include/linux/skbuff.h:2731 ./include/linux/skbuff.h:2739 net/ipv4/tcp_ipv4.c:1966)
[ 78.349779][ C1] ip_rcv_finish_core.constprop.0 (./include/linux/skbuff.h:2943 ./include/linux/ip.h:21 net/ipv4/ip_input.c:344)
[ 78.350094][ C1] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562)
[ 78.350353][ C1] ip_rcv (net/ipv4/ip_input.c:448 ./include/linux/netfilter.h:422 net/ipv4/ip_input.c:569)
[ 78.350549][ C1] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562)
[ 78.350821][ C1] __netif_receive_skb_one_core (net/core/dev.c:5610 (discriminator 4))
[ 78.351134][ C1] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5603)
[ 78.351448][ C1] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725)
[ 78.351699][ C1] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:6051)
[ 78.351949][ C1] process_backlog (./include/linux/rcupdate.h:779 net/core/dev.c:6053)
[ 78.352200][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244)
[ 78.352455][ C1] __napi_poll.constprop.0 (net/core/dev.c:6703)
[ 78.352715][ C1] net_rx_action (net/core/dev.c:6772 net/core/dev.c:6886)
[ 78.352975][ C1] ? __pfx_net_rx_action (net/core/dev.c:6850)
[ 78.353231][ C1] ? hlock_class (kernel/locking/lockdep.c:223)
[ 78.353490][ C1] ? mark_held_locks (kernel/locking/lockdep.c:4274)
[ 78.353744][ C1] ? hrtimer_interrupt (kernel/time/hrtimer.c:1828)
[ 78.354007][ C1] __do_softirq (kernel/softirq.c:553)
[ 78.354261][ C1] ? __dev_queue_xmit (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:818 net/core/dev.c:4399)
[ 78.354515][ C1] do_softirq (kernel/softirq.c:454 kernel/softirq.c:441)
[ 78.354708][ C1]
[ 78.354837][ C1]
[ 78.354964][ C1] __local_bh_enable_ip (kernel/softirq.c:381)
[ 78.355217][ C1] ? __dev_queue_xmit (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:818 net/core/dev.c:4399)
[ 78.355469][ C1] __dev_queue_xmit (net/core/dev.c:4400)
[ 78.355723][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359)
[ 78.356037][ C1] ? __pfx___dev_queue_xmit (net/core/dev.c:4281)
[ 78.356293][ C1] ip_finish_output2 (./include/net/neighbour.h:540 net/ipv4/ip_output.c:235)
[ 78.356547][ 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)
[ 78.356800][ C1] ? __pfx_ip_finish_output2 (net/ipv4/ip_output.c:199)
[ 78.357064][ C1] ? __ip_finish_output (./include/linux/skbuff.h:1624 ./include/linux/skbuff.h:4942 net/ipv4/ip_output.c:307)
[ 78.357316][ C1] __ip_queue_xmit (net/ipv4/ip_output.c:535 (discriminator 4))
[ 78.357569][ C1] ? tcp_options_write (net/ipv4/tcp_output.c:670)
[ 78.357822][ C1] __tcp_transmit_skb (net/ipv4/tcp_output.c:1462 (discriminator 4))
[ 78.358080][ C1] ? __pfx___tcp_transmit_skb (net/ipv4/tcp_output.c:1283)
[ 78.358333][ C1] ? tcp_mtu_probe (./include/net/net_namespace.h:383 ./include/net/sock.h:648 net/ipv4/tcp_output.c:2420)
[ 78.358587][ C1] ? mark_held_locks (kernel/locking/lockdep.c:4274)
[ 78.358843][ 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)
[ 78.359159][ C1] tcp_write_xmit (net/ipv4/tcp_output.c:2792)
[ 78.359414][ C1] ? __pfx_tcp_current_mss (net/ipv4/tcp_output.c:1853)
[ 78.359663][ 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)
[ 78.359916][ C1] ? __pfx_tcp_write_xmit (net/ipv4/tcp_output.c:2702)
[ 78.360168][ C1] ? tcp_inq_hint (net/ipv4/tcp.c:2299)
[ 78.360426][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:4360)
[ 78.360740][ C1] __tcp_push_pending_frames (net/ipv4/tcp_output.c:2977)
[ 78.360995][ C1] __tcp_close (net/ipv4/tcp.c:2842)
[ 78.361250][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359)
[ 78.361563][ C1] tcp_close (net/ipv4/tcp.c:2932)
[ 78.361753][ C1] inet_release (net/ipv4/af_inet.c:436)
[ 78.362011][ C1] __sock_release (net/socket.c:659)
[ 78.362268][ C1] sock_close (net/socket.c:1423)
[ 78.362460][ C1] __fput (fs/file_table.c:376)
[ 78.362654][ C1] __x64_sys_close (fs/open.c:1557 fs/open.c:1539 fs/open.c:1539)
[ 78.362919][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 78.363173][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 78.363491][ C1] RIP: 0033:0x7fbdcc5aa02b
[ 78.363749][ C1] Code: 03 00 00 00 0f 05 48 3d 00 f0 ff ff 77 41 c3 48 83 ec 18 89 7c 24 0c e8 c3 cb f5 ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 21 cc f5 ff 8b 44
All code
========
0: 03 00 add (%rax),%eax
2: 00 00 add %al,(%rax)
4: 0f 05 syscall
6: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax
c: 77 41 ja 0x4f
e: c3 ret
f: 48 83 ec 18 sub $0x18,%rsp
13: 89 7c 24 0c mov %edi,0xc(%rsp)
17: e8 c3 cb f5 ff call 0xfffffffffff5cbdf
1c: 8b 7c 24 0c mov 0xc(%rsp),%edi
20: 41 89 c0 mov %eax,%r8d
23: b8 03 00 00 00 mov $0x3,%eax
28: 0f 05 syscall
2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction
30: 77 35 ja 0x67
32: 44 89 c7 mov %r8d,%edi
35: 89 44 24 0c mov %eax,0xc(%rsp)
39: e8 21 cc f5 ff call 0xfffffffffff5cc5f
3e: 8b .byte 0x8b
3f: 44 rex.R
Code starting with the faulting instruction
===========================================
0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax
6: 77 35 ja 0x3d
8: 44 89 c7 mov %r8d,%edi
b: 89 44 24 0c mov %eax,0xc(%rsp)
f: e8 21 cc f5 ff call 0xfffffffffff5cc35
14: 8b .byte 0x8b
15: 44 rex.R
[ 78.364635][ C1] RSP: 002b:00007ffddec6a2c0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
[ 78.365023][ C1] RAX: ffffffffffffffda RBX: 000000000000005c RCX: 00007fbdcc5aa02b
[ 78.365397][ C1] RDX: 0000000000000002 RSI: 0000000000000002 RDI: 000000000000000b
[ 78.365775][ C1] RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000
[ 78.366151][ C1] R10: 00007ffddec6a188 R11: 0000000000000293 R12: 0000000000000008
Finger prints:
__pskb_pull_tail:tcp_v4_early_demux:ip_rcv:__netif_receive_skb_one_core