------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 0 PID: 8885 at lib/refcount.c:25 refcount_warn_saturate+0xdd/0x140 lib/refcount.c:25 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 8885 Comm: syz-executor.3 Not tainted 5.5.0-rc5-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+0x128/0x182 lib/dump_stack.c:118 panic+0x22a/0x4e3 kernel/panic.c:221 __warn.cold.10+0x25/0x26 kernel/panic.c:582 report_bug+0x1ad/0x270 lib/bug.c:195 fixup_bug arch/x86/kernel/traps.c:174 [inline] do_error_trap+0x123/0x210 arch/x86/kernel/traps.c:267 do_invalid_op+0x31/0x40 arch/x86/kernel/traps.c:286 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027 RIP: 0010:refcount_warn_saturate+0xdd/0x140 lib/refcount.c:25 Code: 4c 9e 2c 06 01 e8 8f 11 ff fd 0f 0b eb 9d 80 3d 3b 9e 2c 06 00 75 94 48 c7 c7 40 12 8d 87 c6 05 2b 9e 2c 06 01 e8 6f 11 ff fd <0f> 0b e9 7a ff ff ff 80 3d 15 9e 2c 06 00 0f 85 6d ff ff ff 48 c7 RSP: 0018:ffffc90003d2fd30 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff88808fb7e104 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff8b3d6360 RBP: 0000000000000002 R08: ffffed1015d06621 R09: ffffed1015d06621 R10: ffffed1015d06620 R11: ffff8880ae833107 R12: 0000000000000001 R13: 0000000000000010 R14: ffff88808fb7e104 R15: ffff88808a8a0000 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+0xb78/0xca0 net/core/sock.c:1669 __netlink_create+0x56/0x250 net/netlink/af_netlink.c:629 netlink_create+0x2f3/0x540 net/netlink/af_netlink.c:692 __sock_create+0x25d/0x540 net/socket.c:1420 sock_create net/socket.c:1471 [inline] __sys_socket+0xd1/0x1a0 net/socket.c:1513 __do_sys_socket net/socket.c:1522 [inline] __se_sys_socket net/socket.c:1520 [inline] __x64_sys_socket+0x6a/0xb0 net/socket.c:1520 do_syscall_64+0xc6/0x5e0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c849 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fa590ac3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 00007fa590ac46d4 RCX: 000000000045c849 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000010 RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000b8b R14: 00000000004cdbcf R15: 000000000076bf0c Kernel Offset: disabled Rebooting in 86400 seconds..