WARNING: CPU: 0 PID: 3661 at mm/slab_common.c:971 kmalloc_slab+0x5d/0x70 mm/slab_common.c:971 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 3661 Comm: syzkaller776388 Not tainted 4.15.0-rc9+ #188 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:kmalloc_slab+0x5d/0x70 mm/slab_common.c:971 RSP: 0018:ffff8801bb76e7a0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 00000007fffffff8 RCX: ffffffff83b2f03f RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000007fffffff8 RBP: ffff8801bb76e7a0 R08: 1ffff100376edc67 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000000000000 R14: 00000000014080c0 R15: ffff8801d4e942c0 __do_kmalloc mm/slab.c:3703 [inline] __kmalloc+0x25/0x760 mm/slab.c:3717 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:456 [inline] ptr_ring_resize_multiple include/linux/ptr_ring.h:614 [inline] skb_array_resize_multiple include/linux/skb_array.h:200 [inline] tun_queue_resize drivers/net/tun.c:3027 [inline] tun_device_event+0x3d3/0xcb0 drivers/net/tun.c:3045 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/0x60 net/core/dev.c:1691 call_netdevice_notifiers+0xac/0x100 net/core/dev.c:1709 do_setlink+0xc10/0x3b30 net/core/rtnetlink.c:2211 rtnl_newlink+0xf5a/0x1ab0 net/core/rtnetlink.c:2747 rtnetlink_rcv_msg+0x733/0x1020 net/core/rtnetlink.c:4411 netlink_rcv_skb+0x14b/0x380 net/netlink/af_netlink.c:2409 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:4423 netlink_unicast_kernel net/netlink/af_netlink.c:1275 [inline] netlink_unicast+0x4ee/0x700 net/netlink/af_netlink.c:1301 netlink_sendmsg+0xa4a/0xe60 net/netlink/af_netlink.c:1864 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg+0xca/0x110 net/socket.c:648 ___sys_sendmsg+0x767/0x8b0 net/socket.c:2028 __sys_sendmsg+0xe5/0x210 net/socket.c:2062 C_SYSC_sendmsg net/compat.c:739 [inline] compat_SyS_sendmsg+0x2a/0x40 net/compat.c:737 do_syscall_32_irqs_on arch/x86/entry/common.c:327 [inline] do_fast_syscall_32+0x3ee/0xf9d arch/x86/entry/common.c:389 entry_SYSENTER_compat+0x54/0x63 arch/x86/entry/entry_64_compat.S:129 RIP: 0023:0xf7fa5c79 RSP: 002b:00000000ffe9b4ec EFLAGS: 00000207 ORIG_RAX: 0000000000000172 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000020504000 RDX: 0000000000000000 RSI: 0000000000000167 RDI: 0000000000000010 RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..