------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 0 PID: 10173 at lib/refcount.c:25 refcount_warn_saturate+0x174/0x1f0 lib/refcount.c:25 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 10173 Comm: syz-executor.0 Not tainted 5.5.0-rc5-next-20200110-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x197/0x210 lib/dump_stack.c:118 panic+0x2e3/0x75c kernel/panic.c:221 __warn.cold+0x2f/0x3e kernel/panic.c:582 report_bug+0x289/0x300 lib/bug.c:195 fixup_bug arch/x86/kernel/traps.c:176 [inline] fixup_bug arch/x86/kernel/traps.c:171 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:269 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:288 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027 RIP: 0010:refcount_warn_saturate+0x174/0x1f0 lib/refcount.c:25 Code: 07 31 ff 89 de e8 fc 6f d5 fd 84 db 0f 85 33 ff ff ff e8 af 6e d5 fd 48 c7 c7 20 64 91 88 c6 05 b8 5b 00 07 01 e8 4b f6 a5 fd <0f> 0b e9 14 ff ff ff e8 90 6e d5 fd 0f b6 1d 9d 5b 00 07 31 ff 89 RSP: 0018:ffffc90002627d18 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff815e8546 RDI: fffff520004c4f95 RBP: ffffc90002627d28 R08: ffff888098586100 R09: ffffed1015d06659 R10: ffffed1015d06658 R11: ffff8880ae8332c7 R12: 0000000000000002 R13: 0000000000000000 R14: ffff888092cfa044 R15: ffff888092088e48 refcount_add include/linux/refcount.h:191 [inline] refcount_inc include/linux/refcount.h:228 [inline] get_net include/net/net_namespace.h:241 [inline] sk_alloc+0xeb3/0xfd0 net/core/sock.c:1669 inet_create net/ipv4/af_inet.c:321 [inline] inet_create+0x363/0xdf0 net/ipv4/af_inet.c:247 __sock_create+0x3ce/0x730 net/socket.c:1433 sock_create net/socket.c:1484 [inline] __sys_socket+0x103/0x220 net/socket.c:1526 __do_sys_socket net/socket.c:1535 [inline] __se_sys_socket net/socket.c:1533 [inline] __x64_sys_socket+0x73/0xb0 net/socket.c:1533 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45da97 Code: 00 00 00 49 89 ca b8 36 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 4a 8b fb ff c3 66 0f 1f 84 00 00 00 00 00 b8 29 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 2d 8b fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffc9d5ef928 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045da97 RDX: 0000000000000006 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 0000000000000370 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc9d5f0040 R14: 0000000000086bdf R15: 00007ffc9d5f0050 Kernel Offset: disabled Rebooting in 86400 seconds..