------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 1 PID: 8670 at lib/refcount.c:28 refcount_warn_saturate+0x14a/0x210 lib/refcount.c:28 Modules linked in: CPU: 1 UID: 0 PID: 8670 Comm: syz.2.713 Not tainted 6.11.0-rc1-syzkaller-00062-ge4fc196f5ba3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:refcount_warn_saturate+0x14a/0x210 lib/refcount.c:28 Code: ff 89 de e8 c8 f0 07 fd 84 db 0f 85 66 ff ff ff e8 1b f6 07 fd c6 05 ba 02 79 0b 01 90 48 c7 c7 c0 21 b0 8b e8 b7 3c ca fc 90 <0f> 0b 90 90 e9 43 ff ff ff e8 f8 f5 07 fd 0f b6 1d 95 02 79 0b 31 RSP: 0018:ffffc9000324fd58 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc900034ea000 RDX: 0000000000040000 RSI: ffffffff814cc386 RDI: 0000000000000001 RBP: ffff888018330080 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 00000000ffffffff R13: ffff888018330080 R14: ffff888018330013 R15: ffff88801833000e FS: 00007f8964c1f6c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f93f770c3c8 CR3: 000000005e802000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __refcount_sub_and_test include/linux/refcount.h:275 [inline] __refcount_dec_and_test include/linux/refcount.h:307 [inline] refcount_dec_and_test include/linux/refcount.h:325 [inline] sk_free net/core/sock.c:2260 [inline] sock_put include/net/sock.h:1884 [inline] sk_common_release+0x2ec/0x420 net/core/sock.c:3773 inet6_create net/ipv6/af_inet6.c:271 [inline] inet6_create+0xef5/0x12e0 net/ipv6/af_inet6.c:120 __sock_create+0x32e/0x800 net/socket.c:1571 sock_create net/socket.c:1622 [inline] __sys_socket_create net/socket.c:1659 [inline] __sys_socket+0x14f/0x260 net/socket.c:1706 __do_sys_socket net/socket.c:1720 [inline] __se_sys_socket net/socket.c:1718 [inline] __x64_sys_socket+0x72/0xb0 net/socket.c:1718 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8963d773b9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8964c1f048 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 00007f8963f05f80 RCX: 00007f8963d773b9 RDX: 0000000000000100 RSI: 0000000000000001 RDI: 000000000000000a RBP: 00007f8963de48e6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f8963f05f80 R15: 00007fff97b383f8