====================================== | [ 2.017057] ip (239) used greatest stack depth: 12344 bytes left | [ 8.108822] ------------[ cut here ]------------ | [ 8.108911] kernel BUG at net/core/skbuff.c:2813! | [ 8.108956] invalid opcode: 0000 [#1] PREEMPT SMP NOPTI [ 8.109049] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 8.109121] RIP: 0010:__pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 8.109165] Code: 44 24 10 e8 ad e4 81 ff 49 8b be c0 00 00 00 44 8b 44 24 10 41 8b 8e bc 00 00 00 e9 f4 fc ff ff 4c 8d 48 ff e9 41 fd ff ff 90 <0f> 0b 48 c7 44 24 10 00 00 00 00 e9 99 fe ff ff 41 f6 44 24 7e 20 All code ======== 0: 44 24 10 rex.R and $0x10,%al 3: e8 ad e4 81 ff call 0xffffffffff81e4b5 8: 49 8b be c0 00 00 00 mov 0xc0(%r14),%rdi f: 44 8b 44 24 10 mov 0x10(%rsp),%r8d 14: 41 8b 8e bc 00 00 00 mov 0xbc(%r14),%ecx 1b: e9 f4 fc ff ff jmp 0xfffffffffffffd14 20: 4c 8d 48 ff lea -0x1(%rax),%r9 24: e9 41 fd ff ff jmp 0xfffffffffffffd6a 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 48 c7 44 24 10 00 00 movq $0x0,0x10(%rsp) 33: 00 00 35: e9 99 fe ff ff jmp 0xfffffffffffffed3 3a: 41 f6 44 24 7e 20 testb $0x20,0x7e(%r12) Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 48 c7 44 24 10 00 00 movq $0x0,0x10(%rsp) 9: 00 00 b: e9 99 fe ff ff jmp 0xfffffffffffffea9 10: 41 f6 44 24 7e 20 testb $0x20,0x7e(%r12) [ 8.109275] RSP: 0018:ffffba3700114dc0 EFLAGS: 00010282 [ 8.109315] RAX: 00000000fffffff2 RBX: 0000000000000014 RCX: 0000000000000014 [ 8.109366] RDX: ffff97cd027bab04 RSI: 0000000000000100 RDI: 0000000000000000 [ 8.109417] RBP: ffffba3700114e00 R08: 00000000ffffffd8 R09: ffff97cd0207b000 [ 8.109468] R10: 0000000000000008 R11: ffff97cd0190c3d4 R12: ffff97cd0207f000 [ 8.109519] R13: 0000000000000014 R14: ffff97cd0190c300 R15: 0000000000000002 [ 8.109573] FS: 00007fe0cea5c740(0000) GS:ffff97cd3ed00000(0000) knlGS:0000000000000000 [ 8.109626] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 8.109668] CR2: 0000560269902738 CR3: 00000000028dc006 CR4: 0000000000770ef0 [ 8.109721] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 8.109771] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 8.109822] PKRU: 55555554 [ 8.109843] Call Trace: [ 8.109868] [ 8.109892] ? die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434 arch/x86/kernel/dumpstack.c:447) [ 8.109926] ? do_trap (arch/x86/kernel/traps.c:113 arch/x86/kernel/traps.c:154) [ 8.109954] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 8.109984] ? do_error_trap (./arch/x86/include/asm/traps.h:58 arch/x86/kernel/traps.c:175) [ 8.110012] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 8.110041] ? exc_invalid_op (arch/x86/kernel/traps.c:265) [ 8.110070] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 8.110099] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568) [ 8.110129] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 8.110157] ? tcp_v4_rcv (net/ipv4/tcp_ipv4.c:2417) [ 8.110186] tcp_v4_early_demux (./include/linux/skbuff.h:2731 ./include/linux/skbuff.h:2739 net/ipv4/tcp_ipv4.c:1966) [ 8.110217] ip_rcv_finish_core.constprop.0 (./include/linux/skbuff.h:1139 ./include/net/dst_metadata.h:94 net/ipv4/ip_input.c:364) [ 8.110258] ip_rcv (net/ipv4/ip_input.c:448 ./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv4/ip_input.c:569) [ 8.110285] ? ip_protocol_deliver_rcu (net/ipv4/ip_input.c:205 (discriminator 1)) [ 8.110322] __netif_receive_skb_one_core (net/core/dev.c:5610 (discriminator 4)) [ 8.110365] process_backlog (./include/linux/rcupdate.h:782 net/core/dev.c:6053) [ 8.110396] __napi_poll (net/core/dev.c:6703) [ 8.110429] net_rx_action (net/core/dev.c:6774 net/core/dev.c:6886) [ 8.110459] __do_softirq (kernel/softirq.c:553) [ 8.110490] do_softirq (kernel/softirq.c:454 kernel/softirq.c:441) [ 8.110522] [ 8.110542] [ 8.110564] __local_bh_enable_ip (kernel/softirq.c:381) [ 8.110589] __dev_queue_xmit (net/core/dev.c:4400) [ 8.110618] ? eth_header (net/ethernet/eth.c:85) [ 8.110648] ip_finish_output2 (./include/net/neighbour.h:542 net/ipv4/ip_output.c:235) [ 8.110678] __ip_queue_xmit (net/ipv4/ip_output.c:535) [ 8.110708] __tcp_transmit_skb (net/ipv4/tcp_output.c:1462 (discriminator 4)) [ 8.110742] ? release_sock (./include/linux/list.h:373 ./include/linux/wait.h:127 net/core/sock.c:3557) [ 8.110777] tcp_write_xmit (net/ipv4/tcp_output.c:2792) [ 8.110805] __tcp_push_pending_frames (net/ipv4/tcp_output.c:2977) [ 8.110841] __tcp_close (net/ipv4/tcp.c:2842) [ 8.110872] tcp_close (net/ipv4/tcp.c:2932) [ 8.110902] inet_release (net/ipv4/af_inet.c:436) [ 8.110933] __sock_release (net/socket.c:659) [ 8.110962] sock_close (net/socket.c:1423) [ 8.110989] __fput (fs/file_table.c:376) [ 8.111019] __x64_sys_close (fs/open.c:1557 fs/open.c:1539 fs/open.c:1539) [ 8.111047] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 8.111078] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 8.111117] RIP: 0033:0x7fe0ceb9e007 [ 8.111145] Code: ff e8 fd e2 01 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 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 All code ======== 0: ff (bad) 1: e8 fd e2 01 00 call 0x1e303 6: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) d: 00 00 00 10: 0f 1f 00 nopl (%rax) 13: f3 0f 1e fa endbr64 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 10 jne 0x33 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 41 ja 0x73 32: c3 ret 33: 48 83 ec 18 sub $0x18,%rsp 37: 89 7c 24 0c mov %edi,0xc(%rsp) 3b: e8 c3 cb f5 ff call 0xfffffffffff5cc03 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 41 ja 0x49 8: c3 ret 9: 48 83 ec 18 sub $0x18,%rsp d: 89 7c 24 0c mov %edi,0xc(%rsp) 11: e8 c3 cb f5 ff call 0xfffffffffff5cbd9 [ 8.111254] RSP: 002b:00007ffc6e242788 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 8.111305] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fe0ceb9e007 [ 8.111356] RDX: 00000000000000e6 RSI: 0000018e112a7a06 RDI: 0000000000000006 [ 8.111407] RBP: 0000000000000006 R08: 00007ffc6e26f080 R09: 00007ffc6e242840 [ 8.111458] R10: 7fffffffffffffff R11: 0000000000000246 R12: 00007ffc6e242840 Finger prints: __pskb_pull_tail:tcp_v4_early_demux:ip_rcv:__netif_receive_skb_one_core