====================================== | | [ 2.527921] ------------[ cut here ]------------ | [ 2.528020] kernel BUG at net/core/skbuff.c:3605! | [ 2.528073] invalid opcode: 0000 [#1] PREEMPT SMP NOPTI [ 2.528171] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 2.528256] RIP: 0010:skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1)) [ 2.528305] Code: 89 6c 24 0c 41 89 c4 0f 84 1d ff ff ff 45 01 fe 49 63 c7 44 89 74 24 08 49 01 c5 e9 d0 fd ff ff 90 0f 0b 90 e9 3d ff ff ff 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 All code ======== 0: 89 6c 24 0c mov %ebp,0xc(%rsp) 4: 41 89 c4 mov %eax,%r12d 7: 0f 84 1d ff ff ff je 0xffffffffffffff2a d: 45 01 fe add %r15d,%r14d 10: 49 63 c7 movslq %r15d,%rax 13: 44 89 74 24 08 mov %r14d,0x8(%rsp) 18: 49 01 c5 add %rax,%r13 1b: e9 d0 fd ff ff jmp 0xfffffffffffffdf0 20: 90 nop 21: 0f 0b ud2 23: 90 nop 24: e9 3d ff ff ff jmp 0xffffffffffffff66 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 31: 90 nop 32: 90 nop 33: 90 nop 34: 90 nop 35: 90 nop 36: 90 nop 37: 90 nop 38: 90 nop 39: 90 nop 3a: 90 nop 3b: 90 nop 3c: 90 nop 3d: 90 nop 3e: 90 nop 3f: 90 nop Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 7: 90 nop 8: 90 nop 9: 90 nop a: 90 nop b: 90 nop c: 90 nop d: 90 nop e: 90 nop f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop [ 2.528438] RSP: 0018:ffffbb0580140a98 EFLAGS: 00010206 [ 2.528486] RAX: 000000000000005a RBX: 0000000000000008 RCX: 0000000000000000 [ 2.528545] RDX: 000000000000001c RSI: ffff983881c0f648 RDI: 0000000000000000 [ 2.528602] RBP: 000000000000005a R08: 0000000000000000 R09: ffff983881c0f3c0 [ 2.528660] R10: 0000000000000018 R11: 0000000000000076 R12: 0000000048a5c103 [ 2.528719] R13: ffff983881c0f648 R14: 0000000000000008 R15: 000000000000001c [ 2.528781] FS: 00007fd782e8bf00(0000) GS:ffff9838bed80000(0000) knlGS:0000000000000000 [ 2.528839] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.528888] CR2: 00007fd7830e8d60 CR3: 0000000001b44003 CR4: 0000000000770ef0 [ 2.528948] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2.529005] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 2.529065] PKRU: 55555554 [ 2.529090] Call Trace: [ 2.529112] [ 2.529135] ? die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434 arch/x86/kernel/dumpstack.c:447) [ 2.529172] ? do_trap (arch/x86/kernel/traps.c:113 arch/x86/kernel/traps.c:154) [ 2.529214] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1)) [ 2.529254] ? do_error_trap (./arch/x86/include/asm/traps.h:58 arch/x86/kernel/traps.c:175) [ 2.529286] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1)) [ 2.529328] ? exc_invalid_op (arch/x86/kernel/traps.c:265) [ 2.529360] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1)) [ 2.529401] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568) [ 2.529436] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1)) [ 2.529475] ? skb_copy_and_csum_bits (net/core/skbuff.c:3540) [ 2.529519] icmp_glue_bits (./include/linux/bitops.h:136 ./include/net/checksum.h:90 ./include/net/checksum.h:98 net/ipv4/icmp.c:357) [ 2.529555] __ip_append_data (net/ipv4/ip_output.c:1166 (discriminator 1)) [ 2.529592] ? __pfx_icmp_glue_bits (net/ipv4/icmp.c:349) [ 2.529636] ? __pfx_icmp_glue_bits (net/ipv4/icmp.c:349) [ 2.529675] ip_append_data (net/ipv4/ip_output.c:1368 net/ipv4/ip_output.c:1347) [ 2.529710] icmp_push_reply (net/ipv4/icmp.c:370) [ 2.529744] __icmp_send (./include/net/route.h:249 net/ipv4/icmp.c:772) [ 2.529778] ? __udp4_lib_lookup (net/ipv4/udp.c:513) [ 2.529818] ? __udp4_lib_rcv (net/ipv4/udp.c:2441 (discriminator 118)) [ 2.529850] __udp4_lib_rcv (net/ipv4/udp.c:2441 (discriminator 118)) [ 2.529886] ? raw_local_deliver (net/ipv4/raw.c:199) [ 2.529919] ip_protocol_deliver_rcu (net/ipv4/ip_input.c:205 (discriminator 4)) [ 2.529962] ip_local_deliver_finish (./include/linux/rcupdate.h:782 net/ipv4/ip_input.c:234) [ 2.530003] __netif_receive_skb_one_core (net/core/dev.c:5610 (discriminator 4)) [ 2.530046] process_backlog (./include/linux/rcupdate.h:782 net/core/dev.c:6053) [ 2.530080] __napi_poll (net/core/dev.c:6703) [ 2.530116] net_rx_action (net/core/dev.c:6774 net/core/dev.c:6886) [ 2.530148] __do_softirq (kernel/softirq.c:553) [ 2.530189] do_softirq (kernel/softirq.c:454 kernel/softirq.c:441) [ 2.530224] [ 2.530247] [ 2.530272] __local_bh_enable_ip (kernel/softirq.c:381) [ 2.530306] __dev_queue_xmit (net/core/dev.c:4400) [ 2.530340] ? eth_header (net/ethernet/eth.c:85) [ 2.530374] ip_finish_output2 (./include/net/neighbour.h:542 net/ipv4/ip_output.c:235) [ 2.530409] ip_send_skb (./include/net/dst.h:450 net/ipv4/ip_output.c:129 net/ipv4/ip_output.c:1496) [ 2.530444] udp_send_skb (net/ipv4/udp.c:964) [ 2.530481] udp_sendmsg (net/ipv4/udp.c:1250) [ 2.530514] ? __pfx_ip_generic_getfrag (net/ipv4/ip_output.c:935) [ 2.530561] ? __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 2.530596] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 2.530635] ? __sys_connect (net/socket.c:2048 net/socket.c:2065) [ 2.530669] __x64_sys_sendto (net/socket.c:2203 net/socket.c:2199 net/socket.c:2199) [ 2.530700] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 2.530734] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 2.530778] RIP: 0033:0x7fd7830c4700 [ 2.530811] Code: ff ff 64 89 02 eb bd 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 1d 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 68 c3 0f 1f 80 00 00 00 00 41 54 48 83 ec 20 All code ======== 0: ff (bad) 1: ff 64 89 02 jmp *0x2(%rcx,%rcx,4) 5: eb bd jmp 0xffffffffffffffc4 7: 0f 1f 00 nopl (%rax) a: f3 0f 1e fa endbr64 e: 41 89 ca mov %ecx,%r10d 11: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 18: 00 19: 85 c0 test %eax,%eax 1b: 75 1d jne 0x3a 1d: 45 31 c9 xor %r9d,%r9d 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 68 ja 0x9a 32: c3 ret 33: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 3a: 41 54 push %r12 3c: 48 83 ec 20 sub $0x20,%rsp Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 68 ja 0x70 8: c3 ret 9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 10: 41 54 push %r12 12: 48 83 ec 20 sub $0x20,%rsp [ 2.530940] RSP: 002b:00007ffdfc4b0318 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 2.531000] RAX: ffffffffffffffda RBX: 000000000000005a RCX: 00007fd7830c4700 [ 2.531061] RDX: 000000000000005a RSI: 00007ffdfc4b06a0 RDI: 0000000000000008 [ 2.531122] RBP: 00000000220cecb3 R08: 0000000000000000 R09: 0000000000000000 [ 2.531181] R10: 0000000000004000 R11: 0000000000000246 R12: 00007ffdfc4b0410 Finger prints: skb_copy_and_csum_bits:icmp_glue_bits:__ip_append_data:ip_append_data