====================================== | | [ 3.145087] ------------[ cut here ]------------ | [ 3.145148] kernel BUG at net/core/skbuff.c:2813! | [ 3.145195] invalid opcode: 0000 [#1] PREEMPT SMP NOPTI [ 3.145291] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 3.145366] RIP: 0010:__pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 3.145408] 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) [ 3.145544] RSP: 0018:ffffb3c2c0140d80 EFLAGS: 00010282 [ 3.145596] RAX: 00000000fffffff2 RBX: 0000000000000014 RCX: 0000000000000014 [ 3.145657] RDX: ffff96ddc2b59244 RSI: 0000000000000100 RDI: 0000000000000000 [ 3.145726] RBP: ffffb3c2c0140dc0 R08: 00000000ffffffd8 R09: ffff96ddc1955000 [ 3.145781] R10: 0000000000000008 R11: ffff96ddc2375fd4 R12: 00000000ffffffff [ 3.145847] R13: 0000000000000014 R14: ffff96ddc2375f00 R15: 0000000000000001 [ 3.145916] FS: 00007f1754a9f740(0000) GS:ffff96ddfed80000(0000) knlGS:0000000000000000 [ 3.145980] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3.146031] CR2: 0000560983a78128 CR3: 00000000012a8006 CR4: 0000000000770ef0 [ 3.146105] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 3.146163] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 3.146234] PKRU: 55555554 [ 3.146260] Call Trace: [ 3.146284] [ 3.146307] ? die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434 arch/x86/kernel/dumpstack.c:447) [ 3.146341] ? do_trap (arch/x86/kernel/traps.c:113 arch/x86/kernel/traps.c:154) [ 3.146372] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 3.146399] ? do_error_trap (./arch/x86/include/asm/traps.h:58 arch/x86/kernel/traps.c:175) [ 3.146425] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 3.146452] ? exc_invalid_op (arch/x86/kernel/traps.c:265) [ 3.146485] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 3.146512] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568) [ 3.146545] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 3.146578] tcp_v4_rcv (./include/linux/skbuff.h:2731 ./include/linux/skbuff.h:2739 net/ipv4/tcp_ipv4.c:2181) [ 3.146618] ? raw_local_deliver (net/ipv4/raw.c:199) [ 3.146653] ip_protocol_deliver_rcu (net/ipv4/ip_input.c:205 (discriminator 1)) [ 3.146696] ip_local_deliver_finish (./include/linux/rcupdate.h:782 net/ipv4/ip_input.c:234) [ 3.146731] __netif_receive_skb_one_core (net/core/dev.c:5610 (discriminator 4)) [ 3.146777] process_backlog (./include/linux/rcupdate.h:782 net/core/dev.c:6053) [ 3.146812] __napi_poll (net/core/dev.c:6703) [ 3.146847] net_rx_action (net/core/dev.c:6774 net/core/dev.c:6886) [ 3.146876] __do_softirq (kernel/softirq.c:553) [ 3.146910] do_softirq (kernel/softirq.c:454 kernel/softirq.c:441) [ 3.146942] [ 3.146962] [ 3.146987] __local_bh_enable_ip (kernel/softirq.c:381) [ 3.147026] __dev_queue_xmit (net/core/dev.c:4400) [ 3.147065] ? __ip_queue_xmit (net/ipv4/ip_output.c:544) [ 3.147100] ip_finish_output2 (./include/linux/netdevice.h:3172 ./include/net/neighbour.h:526 ./include/net/neighbour.h:540 net/ipv4/ip_output.c:235) [ 3.147139] __ip_queue_xmit (net/ipv4/ip_output.c:535) [ 3.147179] ? skb_release_data (net/core/skbuff.c:1153) [ 3.147216] __tcp_transmit_skb (net/ipv4/tcp_output.c:1462 (discriminator 4)) [ 3.147257] ? _copy_to_user (./arch/x86/include/asm/smap.h:33 ./arch/x86/include/asm/uaccess_64.h:120 ./arch/x86/include/asm/uaccess_64.h:133 lib/usercopy.c:41) [ 3.147297] ? sk_getsockopt (net/core/sock.c:2005) [ 3.147334] tcp_write_xmit (net/ipv4/tcp_output.c:2792) [ 3.147371] __tcp_push_pending_frames (net/ipv4/tcp_output.c:2977) [ 3.147420] __tcp_close (net/ipv4/tcp.c:2842) [ 3.147461] tcp_close (net/ipv4/tcp.c:2932) [ 3.147490] inet_release (net/ipv4/af_inet.c:436) [ 3.147530] __sock_release (net/socket.c:659) [ 3.147562] sock_close (net/socket.c:1423) [ 3.147597] __fput (fs/file_table.c:376) [ 3.147636] __x64_sys_close (fs/open.c:1557 fs/open.c:1539 fs/open.c:1539) [ 3.147674] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 3.147709] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 3.147755] RIP: 0033:0x7f1754be1007 [ 3.147784] 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 [ 3.147893] RSP: 002b:00007ffd81abd548 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 3.147946] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1754be1007 [ 3.148006] RDX: 0000000000000031 RSI: 0000000000000001 RDI: 000000000000000b [ 3.148065] RBP: 0000000000408400 R08: 00007ffd81abd57c R09: 0000000000000000 [ 3.148132] R10: 00007ffd81abd578 R11: 0000000000000246 R12: 000000000000000b Finger prints: __pskb_pull_tail:tcp_v4_rcv:ip_protocol_deliver_rcu:ip_local_deliver_finish