======================================
|
| [ 79.052649][ C3] ------------[ cut here ]------------
| [ 79.053013][ C3] kernel BUG at net/core/skbuff.c:2813!
| [ 79.053229][ C3] invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI
[ 79.053853][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 79.054392][ C3] RIP: 0010:__pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 79.054706][ C3] 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)
[ 79.055574][ C3] RSP: 0018:ffffc90000278b68 EFLAGS: 00010282
[ 79.055880][ C3] RAX: 00000000fffffff2 RBX: ffff8880056b7eac RCX: 0000000000000004
[ 79.056245][ C3] RDX: dffffc0000000000 RSI: 1ffff110004b9c39 RDI: ffff8880025ce1c8
[ 79.056612][ C3] RBP: ffffc90000278be8 R08: 0000000000000014 R09: ffff8880056b7ef4
[ 79.056983][ C3] R10: ffff8880056b7ef8 R11: ffff8880056b7ef8 R12: ffff8880056b7e40
[ 79.057365][ C3] R13: 0000000000000100 R14: 0000000000000000 R15: ffff8880056b7eea
[ 79.057729][ C3] FS: 00007f4fb5885b80(0000) GS:ffff88802fb80000(0000) knlGS:0000000000000000
[ 79.058150][ C3] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 79.058458][ C3] CR2: 000000000081f008 CR3: 0000000006174003 CR4: 0000000000770ef0
[ 79.058819][ C3] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 79.059193][ C3] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 79.059583][ C3] PKRU: 55555554
[ 79.059765][ C3] Call Trace:
[ 79.059942][ C3]
[ 79.060065][ C3] ? die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434 arch/x86/kernel/dumpstack.c:447)
[ 79.060252][ C3] ? do_trap (arch/x86/kernel/traps.c:113 arch/x86/kernel/traps.c:154)
[ 79.060440][ C3] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 79.060682][ C3] ? do_error_trap (./arch/x86/include/asm/traps.h:58 arch/x86/kernel/traps.c:175)
[ 79.060931][ C3] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 79.061169][ C3] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 79.061411][ C3] ? handle_invalid_op (arch/x86/kernel/traps.c:213)
[ 79.061654][ C3] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 79.061889][ C3] ? exc_invalid_op (arch/x86/kernel/traps.c:265)
[ 79.062133][ C3] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568)
[ 79.062476][ C3] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 79.062712][ C3] ? __pskb_pull_tail (net/core/skbuff.c:2813)
[ 79.062948][ C3] ? __netif_receive_skb_core.constprop.0 (net/core/dev.c:5498)
[ 79.063226][ C3] tcp_v4_early_demux (./include/linux/skbuff.h:2731 ./include/linux/skbuff.h:2739 net/ipv4/tcp_ipv4.c:1966)
[ 79.063479][ C3] ip_rcv_finish_core.constprop.0 (./include/linux/skbuff.h:2943 ./include/linux/ip.h:21 net/ipv4/ip_input.c:344)
[ 79.063806][ C3] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562)
[ 79.063995][ C3] ip_rcv (net/ipv4/ip_input.c:448 ./include/linux/netfilter.h:422 net/ipv4/ip_input.c:569)
[ 79.064119][ C3] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562)
[ 79.064306][ C3] __netif_receive_skb_one_core (net/core/dev.c:5610 (discriminator 4))
[ 79.064606][ C3] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5603)
[ 79.064892][ C3] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725)
[ 79.065093][ C3] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:6051)
[ 79.065339][ C3] process_backlog (./include/linux/rcupdate.h:779 net/core/dev.c:6053)
[ 79.065579][ C3] ? find_held_lock (kernel/locking/lockdep.c:5244)
[ 79.065824][ C3] __napi_poll.constprop.0 (net/core/dev.c:6703)
[ 79.066068][ C3] net_rx_action (net/core/dev.c:6772 net/core/dev.c:6886)
[ 79.066313][ C3] ? __pfx_net_rx_action (net/core/dev.c:6850)
[ 79.066559][ C3] ? hlock_class (kernel/locking/lockdep.c:223)
[ 79.066805][ C3] ? mark_held_locks (kernel/locking/lockdep.c:4274)
[ 79.067048][ C3] __do_softirq (kernel/softirq.c:553)
[ 79.067292][ C3] ? __dev_queue_xmit (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:818 net/core/dev.c:4399)
[ 79.067537][ C3] do_softirq (kernel/softirq.c:454 kernel/softirq.c:441)
[ 79.067720][ C3]
[ 79.067844][ C3]
[ 79.067965][ C3] __local_bh_enable_ip (kernel/softirq.c:381)
[ 79.068211][ C3] ? __dev_queue_xmit (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:818 net/core/dev.c:4399)
[ 79.068452][ C3] __dev_queue_xmit (net/core/dev.c:4400)
[ 79.068698][ C3] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359)
[ 79.068996][ C3] ? __pfx___dev_queue_xmit (net/core/dev.c:4281)
[ 79.069237][ C3] ip_finish_output2 (./include/net/neighbour.h:540 net/ipv4/ip_output.c:235)
[ 79.069481][ C3] ? 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)
[ 79.069725][ C3] ? __pfx_ip_finish_output2 (net/ipv4/ip_output.c:199)
[ 79.069968][ C3] ? __ip_finish_output (./include/linux/skbuff.h:1624 ./include/linux/skbuff.h:4942 net/ipv4/ip_output.c:307)
[ 79.070215][ C3] __ip_queue_xmit (net/ipv4/ip_output.c:535 (discriminator 4))
[ 79.070457][ C3] ? tcp_options_write (net/ipv4/tcp_output.c:670)
[ 79.070711][ C3] __tcp_transmit_skb (net/ipv4/tcp_output.c:1462 (discriminator 4))
[ 79.070960][ C3] ? __pfx___tcp_transmit_skb (net/ipv4/tcp_output.c:1283)
[ 79.071206][ C3] ? tcp_mtu_probe (./include/net/net_namespace.h:383 ./include/net/sock.h:648 net/ipv4/tcp_output.c:2420)
[ 79.071449][ C3] ? mark_held_locks (kernel/locking/lockdep.c:4274)
[ 79.071697][ C3] ? 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)
[ 79.071999][ C3] tcp_write_xmit (net/ipv4/tcp_output.c:2792)
[ 79.072244][ C3] ? __pfx_tcp_current_mss (net/ipv4/tcp_output.c:1853)
[ 79.072495][ C3] ? __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)
[ 79.072746][ C3] ? __pfx_tcp_write_xmit (net/ipv4/tcp_output.c:2702)
[ 79.072990][ C3] ? tcp_inq_hint (net/ipv4/tcp.c:2299)
[ 79.073223][ C3] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:4360)
[ 79.073490][ C3] __tcp_push_pending_frames (net/ipv4/tcp_output.c:2977)
[ 79.073655][ C3] __tcp_close (net/ipv4/tcp.c:2842)
[ 79.073817][ C3] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359)
[ 79.074019][ C3] tcp_close (net/ipv4/tcp.c:2932)
[ 79.074151][ C3] inet_release (net/ipv4/af_inet.c:436)
[ 79.074324][ C3] __sock_release (net/socket.c:659)
[ 79.074554][ C3] sock_close (net/socket.c:1423)
[ 79.074725][ C3] __fput (fs/file_table.c:376)
[ 79.074868][ C3] __x64_sys_close (fs/open.c:1557 fs/open.c:1539 fs/open.c:1539)
[ 79.075099][ C3] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 79.075345][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 79.075637][ C3] RIP: 0033:0x7f4fb59c602b
[ 79.075883][ C3] 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
[ 79.076746][ C3] RSP: 002b:00007fffbe0b7c50 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
[ 79.077114][ C3] RAX: ffffffffffffffda RBX: 0000000000000057 RCX: 00007f4fb59c602b
[ 79.077477][ C3] RDX: 0000000000000002 RSI: 0000000000000002 RDI: 000000000000000b
[ 79.077847][ C3] RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000
[ 79.078205][ C3] R10: 00007fffbe0b7b18 R11: 0000000000000293 R12: 0000000000000008
Finger prints:
__pskb_pull_tail:tcp_v4_early_demux:ip_rcv:__netif_receive_skb_one_core