====================================== | [ 1.881605] ip (235) used greatest stack depth: 12832 bytes left | [ 9.324102] ------------[ cut here ]------------ | [ 9.324166] kernel BUG at net/core/skbuff.c:3505! | [ 9.324225] invalid opcode: 0000 [#1] PREEMPT SMP NOPTI [ 9.324342] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 9.324430] RIP: 0010:__skb_checksum (net/core/skbuff.c:3505 (discriminator 1)) [ 9.324479] Code: 89 5c 24 04 44 89 d9 44 89 ff 44 89 ea ff d0 0f 1f 00 44 8b 5c 24 04 41 89 c7 eb b6 ff d0 0f 1f 00 41 89 c1 e9 71 fd ff ff 90 <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 All code ======== 0: 89 5c 24 04 mov %ebx,0x4(%rsp) 4: 44 89 d9 mov %r11d,%ecx 7: 44 89 ff mov %r15d,%edi a: 44 89 ea mov %r13d,%edx d: ff d0 call *%rax f: 0f 1f 00 nopl (%rax) 12: 44 8b 5c 24 04 mov 0x4(%rsp),%r11d 17: 41 89 c7 mov %eax,%r15d 1a: eb b6 jmp 0xffffffffffffffd2 1c: ff d0 call *%rax 1e: 0f 1f 00 nopl (%rax) 21: 41 89 c1 mov %eax,%r9d 24: e9 71 fd ff ff jmp 0xfffffffffffffd9a 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 66 66 2e 0f 1f 84 00 data16 cs nopw 0x0(%rax,%rax,1) 33: 00 00 00 00 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: 66 66 2e 0f 1f 84 00 data16 cs nopw 0x0(%rax,%rax,1) 9: 00 00 00 00 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 [ 9.324633] RSP: 0018:ffffc07dc0114d90 EFLAGS: 00010206 [ 9.324684] RAX: 0000000000000311 RBX: 0000000000000008 RCX: ffffa0c84441c300 [ 9.324755] RDX: ffffa0c8424a26c0 RSI: 00000000000006c0 RDI: ffffa0c8424a2000 [ 9.324820] RBP: ffffc07dc0114de8 R08: ffffc07dc0114de8 R09: 00000000e70d0004 [ 9.324889] R10: 0000000000000008 R11: ffffa0c84441c3d4 R12: ffffa0c8423d8c00 [ 9.324953] R13: 0000000000000008 R14: 0000000000000000 R15: 00000000e70d0004 [ 9.325034] FS: 00007f0eac739740(0000) GS:ffffa0c87ed00000(0000) knlGS:0000000000000000 [ 9.325101] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 9.325165] CR2: 0000000000418000 CR3: 0000000001f06006 CR4: 0000000000770ef0 [ 9.325233] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 9.325299] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 9.325349] PKRU: 55555554 [ 9.325374] Call Trace: [ 9.325401] [ 9.325429] ? die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434 arch/x86/kernel/dumpstack.c:447) [ 9.325470] ? do_trap (arch/x86/kernel/traps.c:113 arch/x86/kernel/traps.c:154) [ 9.325514] ? __skb_checksum (net/core/skbuff.c:3505 (discriminator 1)) [ 9.325540] ? do_error_trap (./arch/x86/include/asm/traps.h:58 arch/x86/kernel/traps.c:175) [ 9.325578] ? __skb_checksum (net/core/skbuff.c:3505 (discriminator 1)) [ 9.325623] ? exc_invalid_op (arch/x86/kernel/traps.c:265) [ 9.325668] ? __skb_checksum (net/core/skbuff.c:3505 (discriminator 1)) [ 9.325703] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568) [ 9.325738] ? __skb_checksum (net/core/skbuff.c:3505 (discriminator 1)) [ 9.325775] __skb_checksum_complete (./arch/x86/include/asm/checksum_64.h:170 ./arch/x86/include/asm/checksum_64.h:180 net/core/skbuff.c:3643) [ 9.325823] ? __pfx_csum_partial_ext (./include/net/checksum.h:120) [ 9.325872] ? __pfx_csum_block_add_ext (./include/net/checksum.h:103) [ 9.325912] icmpv6_rcv (./include/linux/skbuff.h:4567 net/ipv6/icmp.c:921) [ 9.325958] ip6_protocol_deliver_rcu (net/ipv6/ip6_input.c:438 (discriminator 5)) [ 9.326020] ip6_input_finish (./include/linux/rcupdate.h:782 net/ipv6/ip6_input.c:484) [ 9.326049] __netif_receive_skb_one_core (net/core/dev.c:5613) [ 9.326088] process_backlog (./include/linux/rcupdate.h:782 net/core/dev.c:6053) [ 9.326116] __napi_poll (net/core/dev.c:6703) [ 9.326148] net_rx_action (net/core/dev.c:6774 net/core/dev.c:6886) [ 9.326175] __do_softirq (kernel/softirq.c:553) [ 9.326210] do_softirq (kernel/softirq.c:454 kernel/softirq.c:441) [ 9.326242] [ 9.326263] [ 9.326284] __local_bh_enable_ip (kernel/softirq.c:381) [ 9.326314] __dev_queue_xmit (net/core/dev.c:4400) [ 9.326343] ? kmalloc_reserve (net/core/skbuff.c:606) [ 9.326372] ip6_finish_output2 (./include/net/neighbour.h:526 ./include/net/neighbour.h:540 net/ipv6/ip6_output.c:137) [ 9.326402] ? _copy_from_iter (./arch/x86/include/asm/smap.h:33 ./arch/x86/include/asm/uaccess_64.h:120 ./arch/x86/include/asm/uaccess_64.h:127 lib/iov_iter.c:55 ./include/linux/iov_iter.h:29 ./include/linux/iov_iter.h:245 ./include/linux/iov_iter.h:271 lib/iov_iter.c:268 lib/iov_iter.c:279) [ 9.326434] ip6_finish_output (net/ipv6/ip6_output.c:211 net/ipv6/ip6_output.c:222) [ 9.326464] rawv6_sendmsg (./include/net/dst.h:450 ./include/linux/netfilter.h:314 net/ipv6/raw.c:654 net/ipv6/raw.c:907) [ 9.326494] ? sock_i_uid (net/core/sock.c:2611) [ 9.326522] ? _copy_from_user (./arch/x86/include/asm/uaccess_64.h:112 ./arch/x86/include/asm/uaccess_64.h:127 lib/usercopy.c:23) [ 9.326550] ? sock_copy_user_timeval (./include/linux/uaccess.h:183 ./include/linux/sockptr.h:48 ./include/linux/sockptr.h:55 net/core/sock.c:410) [ 9.326586] ? sock_set_timeout (net/core/sock.c:429) [ 9.326615] ? ip6_datagram_release_cb (./include/net/sock.h:2144 net/ipv6/datagram.c:129 net/ipv6/datagram.c:121) [ 9.326652] ? __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 9.326680] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 9.326710] ? do_sock_setsockopt (net/socket.c:2316) [ 9.326749] ? __sys_setsockopt (./include/linux/file.h:32 net/socket.c:2336) [ 9.326778] __x64_sys_sendto (net/socket.c:2203 net/socket.c:2199 net/socket.c:2199) [ 9.326806] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 9.326836] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 9.326876] RIP: 0033:0x7f0eac88b85a [ 9.326903] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 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 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 9.327016] RSP: 002b:00007ffc22f584e8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 9.327067] RAX: ffffffffffffffda RBX: 00007ffc22f585d0 RCX: 00007f0eac88b85a [ 9.327118] RDX: 0000000000000311 RSI: 00000000004077e0 RDI: 0000000000000005 [ 9.327169] RBP: 0000000000000005 R08: 00007ffc22f585d0 R09: 000000000000001c [ 9.327214] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000001c Finger prints: __skb_checksum:__skb_checksum_complete:icmpv6_rcv:ip6_protocol_deliver_rcu