------------[ cut here ]------------ Driver BUG WARNING: CPU: 1 PID: 9491 at net/core/xdp.c:22 xdp_rxq_info_unreg+0xc1/0xf0 net/core/xdp.c:22 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 9491 Comm: syz-executor1 Not tainted 4.15.0-rc8+ #203 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 panic+0x1e4/0x41c kernel/panic.c:183 __warn+0x1dc/0x200 kernel/panic.c:547 report_bug+0x211/0x2d0 lib/bug.c:184 fixup_bug.part.11+0x37/0x80 arch/x86/kernel/traps.c:178 fixup_bug arch/x86/kernel/traps.c:247 [inline] do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:296 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315 invalid_op+0x22/0x40 arch/x86/entry/entry_64.S:1096 RIP: 0010:xdp_rxq_info_unreg+0xc1/0xf0 net/core/xdp.c:22 RSP: 0018:ffff8801ad046e78 EFLAGS: 00010282 RAX: dffffc0000000008 RBX: ffff8801d8563e80 RCX: ffffffff8159f28e RDX: 0000000000010000 RSI: ffffc90002194000 RDI: 0000000000000246 RBP: ffff8801ad046e90 R08: 1ffff10035a08d4c R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801d8563e8c R13: 0000000000000002 R14: 00000000000003e8 R15: 0000000000000000 tun_cleanup_tx_ring.part.47+0x236/0x450 drivers/net/tun.c:686 tun_cleanup_tx_ring drivers/net/tun.c:684 [inline] tun_detach_all+0x4fd/0xbf0 drivers/net/tun.c:779 tun_net_uninit+0x15/0x20 drivers/net/tun.c:1003 rollback_registered_many+0x9a8/0xe20 net/core/dev.c:7360 unregister_netdevice_many.part.118+0x87/0x420 net/core/dev.c:8421 unregister_netdevice_many+0xbb/0x100 net/core/dev.c:8420 rtnl_delete_link+0x10f/0x170 net/core/rtnetlink.c:2586 rtnl_dellink+0x2d5/0x7e0 net/core/rtnetlink.c:2625 rtnetlink_rcv_msg+0x57f/0xb10 net/core/rtnetlink.c:4530 netlink_rcv_skb+0x14b/0x380 net/netlink/af_netlink.c:2442 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:4548 netlink_unicast_kernel net/netlink/af_netlink.c:1308 [inline] netlink_unicast+0x4c4/0x6b0 net/netlink/af_netlink.c:1334 netlink_sendmsg+0xa4a/0xe60 net/netlink/af_netlink.c:1897 sock_sendmsg_nosec net/socket.c:630 [inline] sock_sendmsg+0xca/0x110 net/socket.c:640 ___sys_sendmsg+0x767/0x8b0 net/socket.c:2020 __sys_sendmsg+0xe5/0x210 net/socket.c:2054 SYSC_sendmsg net/socket.c:2065 [inline] SyS_sendmsg+0x2d/0x50 net/socket.c:2061 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x452ef9 RSP: 002b:00007f5684409c58 EFLAGS: 00000212 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000071bf58 RCX: 0000000000452ef9 RDX: 0000000000000000 RSI: 000000002001bfc8 RDI: 0000000000000013 RBP: 000000000000003d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006ef658 R13: 00000000ffffffff R14: 00007f568440a6d4 R15: 0000000000000004 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..