kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 8846 Comm: syz-executor1 Not tainted 4.13.0-rc5-next-20170816+ #4 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801c1d1a580 task.stack: ffff8801c8180000 RIP: 0010:skb_orphan_frags include/linux/skbuff.h:2538 [inline] RIP: 0010:skb_clone+0x28d/0x480 net/core/skbuff.c:1276 RSP: 0018:ffff8801c8186e08 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: ffff8801c0de5300 RCX: ffffc90001433000 RDX: 01177b97f9aa7faa RSI: ffffffff83e0595c RDI: ffff8801c3fd07a8 RBP: ffff8801c8186ee0 R08: 0000000000000001 R09: 1ffff10039030dab R10: ffff8801c8186d20 R11: 0000000000000001 R12: 1ffff10039030dc3 R13: 08bbdcbfcd53fd56 R14: 0000000001080020 R15: ffff8801c8186eb8 FS: 00007f7cc19a0700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002037d000 CR3: 00000001b7988000 CR4: 00000000001406f0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: packet_rcv+0x1103/0x15a0 net/packet/af_packet.c:2109 packet_rcv_fanout+0x4f5/0x7d0 net/packet/af_packet.c:1490 deliver_skb net/core/dev.c:1859 [inline] __netif_receive_skb_core+0x1bbf/0x33d0 net/core/dev.c:4329 __netif_receive_skb+0x2c/0x1b0 net/core/dev.c:4456 netif_receive_skb_internal+0x10b/0x5e0 net/core/dev.c:4527 netif_receive_skb+0xae/0x390 net/core/dev.c:4551 tun_rx_batched.isra.43+0x5e7/0x860 drivers/net/tun.c:1221 tun_get_user+0x11dd/0x2150 drivers/net/tun.c:1542 tun_chr_write_iter+0xd8/0x190 drivers/net/tun.c:1568 call_write_iter include/linux/fs.h:1742 [inline] new_sync_write fs/read_write.c:457 [inline] __vfs_write+0x684/0x970 fs/read_write.c:470 vfs_write+0x189/0x510 fs/read_write.c:518 SYSC_write fs/read_write.c:565 [inline] SyS_write+0xef/0x220 fs/read_write.c:557 entry_SYSCALL_64_fastpath+0x1f/0xbe RIP: 0033:0x40b751 RSP: 002b:00007f7cc199fc10 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000007180a8 RCX: 000000000040b751 RDX: 000000000000002e RSI: 00000000209cbfd2 RDI: 0000000000000015 RBP: 0000000000000086 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000f4246 R11: 0000000000000293 R12: 00000000004b9a1b R13: 00000000ffffffff R14: 000000002001d000 R15: 0000000000000000 Code: 02 00 0f 85 a1 01 00 00 4d 8b 6d 28 4d 85 ed 0f 84 a4 fe ff ff e8 94 13 8d fd 4c 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 d7 01 00 00 49 81 7d 00 60 f7 df 83 0f 84 76 RIP: skb_orphan_frags include/linux/skbuff.h:2538 [inline] RSP: ffff8801c8186e08 RIP: skb_clone+0x28d/0x480 net/core/skbuff.c:1276 RSP: ffff8801c8186e08 ---[ end trace aff6d90739b7daaa ]---