dev_remove_pack: ffff8801c9ded940 not found device syz0 entered promiscuous mode device syz0 entered promiscuous mode device syz0 entered promiscuous mode ------------[ cut here ]------------ kernel BUG at net/core/dev.c:7945! invalid opcode: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 3675 Comm: syzkaller500567 Not tainted 4.14.0-next-20171122+ #49 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 device syz0 entered promiscuous mode task: ffff8801ca9e8440 task.stack: ffff8801cb838000 RIP: 0010:netdev_run_todo+0x772/0xae0 net/core/dev.c:7945 RSP: 0018:ffff8801cb83f598 EFLAGS: 00010293 RAX: ffff8801ca9e8440 RBX: dffffc0000000000 RCX: ffffffff841fc652 RDX: 0000000000000000 RSI: 1ffff10039707ede RDI: ffff8801ca399450 RBP: ffff8801cb83f898 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801ca399918 R13: ffff8801cb83f870 R14: ffff8801ca3993c0 R15: ffff8801cb83f7f0 FS: 0000000001a7e880(0000) GS:ffff8801db500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fca03ac1e78 CR3: 00000001d3664000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rtnl_unlock+0xe/0x10 net/core/rtnetlink.c:106 tun_detach drivers/net/tun.c:670 [inline] tun_chr_close+0x49/0x60 drivers/net/tun.c:2845 __fput+0x333/0x7f0 fs/file_table.c:210 ____fput+0x15/0x20 fs/file_table.c:244 task_work_run+0x199/0x270 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x9bb/0x1ae0 kernel/exit.c:869 do_group_exit+0x149/0x400 kernel/exit.c:972 SYSC_exit_group kernel/exit.c:983 [inline] SyS_exit_group+0x1d/0x20 kernel/exit.c:981 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x44ad19 RSP: 002b:00000000007efd78 EFLAGS: 00000202 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 000000000044ad19 RDX: 00000000004493a1 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000086 R08: 00000000006ddbc0 R09: 0000000000000000 R10: 00000000006ddb44 R11: 0000000000000202 R12: 0000000000000000 R13: 00000000007efd1f R14: 00007fca03ac29c0 R15: 0000000000000000 Code: b6 95 28 fd ff ff 4c 89 f6 48 c7 c7 20 de 7c 85 e8 79 15 3a fd e8 b8 36 ed 00 e9 05 fb ff ff e8 a5 58 50 fd 0f 0b e8 9e 58 50 fd <0f> 0b e8 97 58 50 fd 0f 0b e8 90 58 50 fd 0f ff e9 bf fe ff ff RIP: netdev_run_todo+0x772/0xae0 net/core/dev.c:7945 RSP: ffff8801cb83f598 ---[ end trace 98165dc8d5b6ab0f ]---