====================================== | | [ 2.429281] ------------[ cut here ]------------ | [ 2.429332] kernel BUG at net/core/skbuff.c:3605! | [ 2.429377] invalid opcode: 0000 [#1] PREEMPT SMP NOPTI [ 2.429448] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 2.429512] RIP: 0010:skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1)) [ 2.429552] 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.429648] RSP: 0018:ffff9bedc00e8a98 EFLAGS: 00010206 [ 2.429679] RAX: 000000000000005a RBX: 0000000000000008 RCX: 0000000000000000 [ 2.429723] RDX: 000000000000001c RSI: ffff8c404278bd08 RDI: 0000000000000000 [ 2.429767] RBP: 000000000000005a R08: 0000000000000000 R09: ffff8c4042789b00 [ 2.429812] R10: 0000000000000018 R11: 0000000000000076 R12: 0000000000aa85d5 [ 2.429850] R13: ffff8c404278bd08 R14: 0000000000000008 R15: 000000000000001c [ 2.429890] FS: 00007f37cea1ef00(0000) GS:ffff8c407ec80000(0000) knlGS:0000000000000000 [ 2.429934] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.429971] CR2: 00007f37cec7bd60 CR3: 000000000278e005 CR4: 0000000000770ef0 [ 2.430011] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2.430055] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 2.430094] PKRU: 55555554 [ 2.430106] Call Trace: [ 2.430123] [ 2.430142] ? die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434 arch/x86/kernel/dumpstack.c:447) [ 2.430172] ? do_trap (arch/x86/kernel/traps.c:113 arch/x86/kernel/traps.c:154) [ 2.430197] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1)) [ 2.430229] ? do_error_trap (./arch/x86/include/asm/traps.h:58 arch/x86/kernel/traps.c:175) [ 2.430253] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1)) [ 2.430286] ? exc_invalid_op (arch/x86/kernel/traps.c:265) [ 2.430313] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1)) [ 2.430345] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568) [ 2.430374] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1)) [ 2.430405] ? skb_copy_and_csum_bits (net/core/skbuff.c:3540) [ 2.430437] icmp_glue_bits (./include/linux/bitops.h:136 ./include/net/checksum.h:90 ./include/net/checksum.h:98 net/ipv4/icmp.c:357) [ 2.430463] __ip_append_data (net/ipv4/ip_output.c:1166 (discriminator 1)) [ 2.430491] ? __pfx_icmp_glue_bits (net/ipv4/icmp.c:349) [ 2.430521] ? __pfx_icmp_glue_bits (net/ipv4/icmp.c:349) [ 2.430552] ip_append_data (net/ipv4/ip_output.c:1368 net/ipv4/ip_output.c:1347) [ 2.430579] icmp_push_reply (net/ipv4/icmp.c:370) [ 2.430606] __icmp_send (./include/net/route.h:249 net/ipv4/icmp.c:772) [ 2.430631] ? __udp4_lib_lookup (net/ipv4/udp.c:513) [ 2.430662] ? __udp4_lib_rcv (net/ipv4/udp.c:2441 (discriminator 118)) [ 2.430686] __udp4_lib_rcv (net/ipv4/udp.c:2441 (discriminator 118)) [ 2.430706] ? load_balance (kernel/sched/fair.c:11296) [ 2.430733] ? raw_local_deliver (net/ipv4/raw.c:199) [ 2.430759] ip_protocol_deliver_rcu (net/ipv4/ip_input.c:205 (discriminator 4)) [ 2.430791] ip_local_deliver_finish (./include/linux/rcupdate.h:782 net/ipv4/ip_input.c:234) [ 2.430822] __netif_receive_skb_one_core (net/core/dev.c:5610 (discriminator 4)) [ 2.430855] process_backlog (./include/linux/rcupdate.h:782 net/core/dev.c:6053) [ 2.430878] __napi_poll (net/core/dev.c:6703) [ 2.430905] net_rx_action (net/core/dev.c:6774 net/core/dev.c:6886) [ 2.430928] __do_softirq (kernel/softirq.c:553) [ 2.430957] do_softirq (kernel/softirq.c:454 kernel/softirq.c:441) [ 2.430985] [ 2.431002] [ 2.431015] __local_bh_enable_ip (kernel/softirq.c:381) [ 2.431040] __dev_queue_xmit (net/core/dev.c:4400) [ 2.431065] ? eth_header (net/ethernet/eth.c:85) [ 2.431094] ip_finish_output2 (./include/net/neighbour.h:542 net/ipv4/ip_output.c:235) [ 2.431119] ip_send_skb (./include/net/dst.h:450 net/ipv4/ip_output.c:129 net/ipv4/ip_output.c:1496) [ 2.431143] udp_send_skb (net/ipv4/udp.c:964) [ 2.431170] udp_sendmsg (net/ipv4/udp.c:1250) [ 2.431193] ? __pfx_ip_generic_getfrag (net/ipv4/ip_output.c:935) [ 2.431225] ? rt_set_nexthop.constprop.0 (net/ipv4/route.c:1606) [ 2.431259] ? __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 2.431286] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 2.431313] ? __sys_connect (net/socket.c:2048 net/socket.c:2065) [ 2.431339] __x64_sys_sendto (net/socket.c:2203 net/socket.c:2199 net/socket.c:2199) [ 2.431363] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 2.431390] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 2.431425] RIP: 0033:0x7f37cec57700 [ 2.431447] 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.431543] RSP: 002b:00007ffc1fbc1d58 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 2.431587] RAX: ffffffffffffffda RBX: 000000000000005a RCX: 00007f37cec57700 [ 2.431627] RDX: 000000000000005a RSI: 00007ffc1fbc20e0 RDI: 0000000000000008 [ 2.431666] RBP: 00000000234234b2 R08: 0000000000000000 R09: 0000000000000000 [ 2.431705] R10: 0000000000004000 R11: 0000000000000246 R12: 00007ffc1fbc1e50 Finger prints: skb_copy_and_csum_bits:icmp_glue_bits:__ip_append_data:ip_append_data