device syz4 entered promiscuous mode dev_remove_pack: ffff8801c36950c0 not found ------------[ 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: 0 PID: 27388 Comm: syz-executor4 Not tainted 4.14.0-mm1+ #25 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801c2952100 task.stack: ffff8801c62a0000 RIP: 0010:netdev_run_todo+0x772/0xae0 net/core/dev.c:7945 RSP: 0018:ffff8801c62a7050 EFLAGS: 00010293 RAX: ffff8801c2952100 RBX: dffffc0000000000 RCX: ffffffff841fe652 RDX: 0000000000000000 RSI: 1ffff10038c54e35 RDI: ffff8801c5908750 RBP: ffff8801c62a7350 R08: ffffffff86477158 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801c5908c18 R13: ffff8801c62a7328 R14: ffff8801c59086c0 R15: ffff8801c62a72a8 FS: 00007f4761ebe700(0000) GS:ffff8801db400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc63210b1c CR3: 0000000005e25000 CR4: 00000000001406f0 DR0: 0000000020001000 DR1: 0000000020001000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 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 get_signal+0x73f/0x16c0 kernel/signal.c:2335 do_signal+0x94/0x1ee0 arch/x86/kernel/signal.c:809 exit_to_usermode_loop+0x214/0x310 arch/x86/entry/common.c:158 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath+0x490/0x550 arch/x86/entry/common.c:264 entry_SYSCALL_64_fastpath+0x94/0x96 RIP: 0033:0x452879 RSP: 002b:00007f4761ebdbe8 EFLAGS: 00000212 ORIG_RAX: 0000000000000031 RAX: 0000000000000000 RBX: 0000000000758020 RCX: 0000000000452879 RDX: 0000000000000014 RSI: 0000000020960fec RDI: 000000000000001b RBP: 0000000000000027 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006ed448 R13: 00000000ffffffff R14: 00007f4761ebe6d4 R15: 0000000000000000 Code: b6 95 28 fd ff ff 4c 89 f6 48 c7 c7 20 de 7c 85 e8 79 f6 39 fd e8 b8 36 ed 00 e9 05 fb ff ff e8 95 38 50 fd 0f 0b e8 8e 38 50 fd <0f> 0b e8 87 38 50 fd 0f 0b e8 80 38 50 fd 0f ff e9 bf fe ff ff RIP: netdev_run_todo+0x772/0xae0 net/core/dev.c:7945 RSP: ffff8801c62a7050 ---[ end trace 62b4074c840398cb ]---