------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 1 PID: 6861 at lib/refcount.c:28 refcount_warn_saturate+0x15a/0x1d0 lib/refcount.c:28 Modules linked in: CPU: 1 UID: 0 PID: 6861 Comm: syz.2.457 Not tainted 6.10.0-syzkaller-12660-g32654bbd6313 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:refcount_warn_saturate+0x15a/0x1d0 lib/refcount.c:28 Code: 00 18 60 8c e8 67 61 a5 fc 90 0f 0b 90 90 eb 99 e8 1b 53 e3 fc c6 05 f6 46 51 0b 01 90 48 c7 c7 60 18 60 8c e8 47 61 a5 fc 90 <0f> 0b 90 90 e9 76 ff ff ff e8 f8 52 e3 fc c6 05 d0 46 51 0b 01 90 RSP: 0018:ffffc90004c8fcf0 EFLAGS: 00010246 RAX: 8eae38af719eaf00 RBX: ffff88805e049680 RCX: ffff888020dfbc00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000003 R08: ffffffff815595f2 R09: fffffbfff1cf9f88 R10: dffffc0000000000 R11: fffffbfff1cf9f88 R12: 00000000fffffff4 R13: 1ffff1100bc092c5 R14: ffff88805e049628 R15: ffff88805e049600 FS: 00007f845c4a36c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f25766356c0 CR3: 0000000052cf6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inet_create+0xbaf/0xe70 __sock_create+0x490/0x920 net/socket.c:1571 sock_create net/socket.c:1622 [inline] __sys_socketpair+0x2ca/0x720 net/socket.c:1769 __do_sys_socketpair net/socket.c:1822 [inline] __se_sys_socketpair net/socket.c:1819 [inline] __x64_sys_socketpair+0x9b/0xb0 net/socket.c:1819 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f845b777299 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:00007f845c4a3048 EFLAGS: 00000246 ORIG_RAX: 0000000000000035 RAX: ffffffffffffffda RBX: 00007f845b905f80 RCX: 00007f845b777299 RDX: 0000000000000100 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 00007f845c4a30a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000b40 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007f845b905f80 R15: 00007ffcd2a3ebd8