------------[ cut here ]------------ Driver BUG WARNING: CPU: 1 PID: 5362 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: 5362 Comm: syz-executor4 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:ffff8801ad2cee78 EFLAGS: 00010282 RAX: dffffc0000000008 RBX: ffff8801d8926bc0 RCX: ffffffff8159f28e RDX: 000000000000f574 RSI: ffffc90004441000 RDI: 0000000000000212 syz-executor1: vmalloc: allocation failure: 17179082752 bytes, mode:0x14080c0(GFP_KERNEL|__GFP_ZERO), nodemask=(null) syz-executor1 cpuset=/ mems_allowed=0 RBP: ffff8801ad2cee90 R08: 1ffff10035a59d4c R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801d8926bcc R13: 0000000000000002 R14: 0000000000000000 R15: ffff8801bb7437d0 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:00007ff74357bc58 EFLAGS: 00000212 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452ef9 RDX: 0000000000000000 RSI: 0000000020fde000 RDI: 0000000000000013 RBP: 00000000000005d6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f7cb0 R13: 00000000ffffffff R14: 00007ff74357c6d4 R15: 0000000000000000 CPU: 0 PID: 5391 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 warn_alloc+0x19a/0x2b0 mm/page_alloc.c:3299 __vmalloc_node_range+0x4f0/0x650 mm/vmalloc.c:1775 __vmalloc_node mm/vmalloc.c:1804 [inline] __vmalloc_node_flags_caller+0x50/0x60 mm/vmalloc.c:1826 kvmalloc_node+0x82/0xd0 mm/util.c:406 kvmalloc include/linux/mm.h:541 [inline] kvmalloc_array include/linux/mm.h:557 [inline] xt_alloc_entry_offsets+0x21/0x30 net/netfilter/x_tables.c:774 translate_table+0x235/0x1690 net/ipv6/netfilter/ip6_tables.c:704 do_replace net/ipv6/netfilter/ip6_tables.c:1165 [inline] do_ip6t_set_ctl+0x370/0x5f0 net/ipv6/netfilter/ip6_tables.c:1691 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115 ipv6_setsockopt+0x115/0x150 net/ipv6/ipv6_sockglue.c:928 tcp_setsockopt+0x82/0xd0 net/ipv4/tcp.c:2872 sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2978 SYSC_setsockopt net/socket.c:1823 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1802 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x452ef9 RSP: 002b:00007fb06a2b8c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fb06a2b9700 RCX: 0000000000452ef9 RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000016 RBP: 0000000000a2f850 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000020001fde R11: 0000000000000212 R12: 0000000000000000 R13: 0000000000a2f7cf R14: 00007fb06a2b99c0 R15: 0000000000000004 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..