------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 1 PID: 8433 at lib/refcount.c:25 refcount_warn_saturate+0x169/0x1e0 lib/refcount.c:25 Modules linked in: CPU: 0 PID: 8433 Comm: syz-executor.5 Not tainted 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:refcount_warn_saturate+0x169/0x1e0 lib/refcount.c:25 Code: 09 31 ff 89 de e8 77 36 ab fd 84 db 0f 85 36 ff ff ff e8 ba 2f ab fd 48 c7 c7 60 d8 c1 89 c6 05 c4 27 e8 09 01 e8 c3 86 f9 04 <0f> 0b e9 17 ff ff ff e8 9b 2f ab fd 0f b6 1d a9 27 e8 09 31 ff 89 RSP: 0018:ffffc900017efd68 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888019428000 RSI: ffffffff815c4d15 RDI: fffff520002fdf9f RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815bdaae R11: 0000000000000000 R12: ffff88801367af00 R13: ffff888018f73d4c R14: 0000000000000002 R15: 0000000000000001 FS: 0000000002109400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b8bbff8138 CR3: 0000000062276000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __refcount_add include/linux/refcount.h:199 [inline] __refcount_inc include/linux/refcount.h:250 [inline] refcount_inc include/linux/refcount.h:267 [inline] get_net include/net/net_namespace.h:240 [inline] sk_alloc+0xb20/0xbd0 net/core/sock.c:1768 inet_create net/ipv4/af_inet.c:322 [inline] inet_create+0x3ae/0xe90 net/ipv4/af_inet.c:248 __sock_create+0x3de/0x780 net/socket.c:1408 sock_create net/socket.c:1459 [inline] __sys_socket+0xef/0x200 net/socket.c:1501 __do_sys_socket net/socket.c:1510 [inline] __se_sys_socket net/socket.c:1508 [inline] __x64_sys_socket+0x6f/0xb0 net/socket.c:1508