QAT: Invalid ioctl device syz6 entered promiscuous mode QAT: Invalid ioctl dev_remove_pack: ffff8801d3f913c0 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: 8716 Comm: syz-executor6 Not tainted 4.14.0-mm1+ #25 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d8610580 task.stack: ffff8801c01a8000 RIP: 0010:netdev_run_todo+0x772/0xae0 net/core/dev.c:7945 RSP: 0018:ffff8801c01aefe0 EFLAGS: 00010293 RAX: ffff8801d8610580 RBX: dffffc0000000000 RCX: ffffffff841fe652 RDX: 0000000000000000 RSI: 1ffff10038035e27 RDI: ffff8801c9398550 RBP: ffff8801c01af2e0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801c9398a18 R13: ffff8801c01af2b8 R14: ffff8801c93984c0 R15: ffff8801c01af238 FS: 00007fb8e903a700(0000) GS:ffff8801db400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1d20916000 CR3: 0000000191f84000 CR4: 00000000001426f0 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 arch/x86/entry/common.c:264 [inline] do_syscall_64+0x6d5/0x920 arch/x86/entry/common.c:290 entry_SYSCALL64_slow_path+0x25/0x25 RIP: 0033:0x452879 RSP: 002b:00007fb8e9039ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00000000007581b8 RCX: 0000000000452879 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000007581b8 RBP: 00000000007581b8 R08: 0000000000000598 R09: 0000000000758190 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000a6f7ff R14: 00007fb8e903a9c0 R15: 0000000000000002 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: ffff8801c01aefe0 ---[ end trace 7f51c908ba9e2b6f ]---