------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 0 PID: 7273 at lib/refcount.c:25 refcount_warn_saturate+0x13d/0x1a0 lib/refcount.c:25 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 7273 Comm: syz-executor.0 Not tainted 5.6.0-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+0x1e9/0x30e lib/dump_stack.c:118 panic+0x264/0x7a0 kernel/panic.c:221 __warn+0x209/0x210 kernel/panic.c:582 report_bug+0x1ac/0x2d0 lib/bug.c:195 fixup_bug arch/x86/kernel/traps.c:175 [inline] do_error_trap+0xca/0x1c0 arch/x86/kernel/traps.c:267 do_invalid_op+0x32/0x40 arch/x86/kernel/traps.c:286 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027 RIP: 0010:refcount_warn_saturate+0x13d/0x1a0 lib/refcount.c:25 Code: c7 33 ff f1 88 31 c0 e8 d1 f9 b1 fd 0f 0b eb a3 e8 28 97 df fd c6 05 e0 1c d2 05 01 48 c7 c7 6a ff f1 88 31 c0 e8 b3 f9 b1 fd <0f> 0b eb 85 e8 0a 97 df fd c6 05 c3 1c d2 05 01 48 c7 c7 96 ff f1 RSP: 0018:ffffc900020f7d40 EFLAGS: 00010246 RAX: ef5780d4f83b8300 RBX: 0000000000000002 RCX: ffff88809ed44540 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000002 R08: ffffffff815e4dd6 R09: ffffed1015d06660 R10: ffffed1015d06660 R11: 0000000000000000 R12: ffff8880a4cfe040 R13: dffffc0000000000 R14: ffff8880a4cfe044 R15: ffff88809e110000 refcount_add include/linux/refcount.h:192 [inline] refcount_inc include/linux/refcount.h:228 [inline] get_net include/net/net_namespace.h:246 [inline] sk_alloc+0x8a6/0x990 net/core/sock.c:1670 __netlink_create+0x6a/0x270 net/netlink/af_netlink.c:629 netlink_create+0x370/0x4d0 net/netlink/af_netlink.c:692 __sock_create+0x5c9/0x8d0 net/socket.c:1433 sock_create net/socket.c:1484 [inline] __sys_socket+0xde/0x2d0 net/socket.c:1526 __do_sys_socket net/socket.c:1535 [inline] __se_sys_socket net/socket.c:1533 [inline] __x64_sys_socket+0x76/0x80 net/socket.c:1533 do_syscall_64+0xf3/0x1b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 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:00007efd85580c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 00007efd855816d4 RCX: 000000000045c849 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000010 RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000b8e R14: 00000000004cdbf4 R15: 000000000076bf0c Kernel Offset: disabled Rebooting in 86400 seconds..