xt_cgroup: both path and classid specified WARNING: CPU: 0 PID: 11470 at mm/slab_common.c:973 kmalloc_slab+0x5d/0x70 mm/slab_common.c:973 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 11470 Comm: syz-executor0 Not tainted 4.15.0+ #290 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:1097 RIP: 0010:kmalloc_slab+0x5d/0x70 mm/slab_common.c:973 RSP: 0018:ffff8801d97d6b20 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff83b5d2ad RDX: 0000000000000a46 RSI: 0000000000000000 RDI: 00000007ffffffe8 RBP: ffff8801d97d6b20 R08: 1ffff1003b2facd7 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 00000007ffffffe8 R13: dffffc0000000000 R14: 00000000014080c0 R15: ffff8801d7ad9740 __do_kmalloc mm/slab.c:3699 [inline] __kmalloc+0x25/0x760 mm/slab.c:3713 kmalloc_array include/linux/slab.h:618 [inline] kcalloc include/linux/slab.h:629 [inline] __ptr_ring_init_queue_alloc include/linux/ptr_ring.h:469 [inline] ptr_ring_resize_multiple include/linux/ptr_ring.h:629 [inline] tun_queue_resize drivers/net/tun.c:3319 [inline] tun_device_event+0x471/0xec0 drivers/net/tun.c:3338 notifier_call_chain+0x136/0x2c0 kernel/notifier.c:93 __raw_notifier_call_chain kernel/notifier.c:394 [inline] raw_notifier_call_chain+0x2d/0x40 kernel/notifier.c:401 call_netdevice_notifiers_info+0x32/0x70 net/core/dev.c:1707 call_netdevice_notifiers net/core/dev.c:1725 [inline] dev_change_tx_queue_len+0x117/0x220 net/core/dev.c:7065 do_setlink+0xba7/0x3bb0 net/core/rtnetlink.c:2341 rtnl_newlink+0xf5a/0x1a70 net/core/rtnetlink.c:2918 rtnetlink_rcv_msg+0x57f/0xb10 net/core/rtnetlink.c:4590 netlink_rcv_skb+0x14b/0x380 net/netlink/af_netlink.c:2442 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:4608 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:2046 __sys_sendmsg+0xe5/0x210 net/socket.c:2080 SYSC_sendmsg net/socket.c:2091 [inline] SyS_sendmsg+0x2d/0x50 net/socket.c:2087 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x453299 RSP: 002b:00007f3bc973ac58 EFLAGS: 00000212 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f3bc973b700 RCX: 0000000000453299 RDX: 0000000000000000 RSI: 0000000020504000 RDI: 0000000000000013 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 0000000000000000 R13: 0000000000a2f33f R14: 00007f3bc973b9c0 R15: 0000000000000000 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..