------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 1 PID: 9696 at lib/refcount.c:25 refcount_warn_saturate+0x169/0x1e0 lib/refcount.c:25 Modules linked in: CPU: 1 PID: 9696 Comm: syz-executor.2 Not tainted 5.18.0-rc2-syzkaller-00122-gb9b4c79e5830 #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 47 d8 8a fd 84 db 0f 85 36 ff ff ff e8 5a d4 8a fd 48 c7 c7 c0 e9 25 8a c6 05 95 8f b4 09 01 e8 0e 8e 2d 05 <0f> 0b e9 17 ff ff ff e8 3b d4 8a fd 0f b6 1d 7a 8f b4 09 31 ff 89 RSP: 0018:ffffc9000b83fa38 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff8880200ea240 RSI: ffffffff815f3d18 RDI: fffff52001707f39 RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff815ee6ee R11: 0000000000000000 R12: ffff8880415c5140 R13: ffff888020c12080 R14: ffff8880415c5158 R15: ffff888011c8bb20 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f377536c058 CR3: 00000000477b6000 CR4: 00000000003506e0 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] sock_hold include/net/sock.h:726 [inline] nr_release+0x3d9/0x450 net/netrom/af_netrom.c:520 __sock_release+0xcd/0x280 net/socket.c:650 sock_close+0x18/0x20 net/socket.c:1318 __fput+0x277/0x9d0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:37 [inline] do_exit+0xaff/0x2a00 kernel/exit.c:795 do_group_exit+0xd2/0x2f0 kernel/exit.c:925 get_signal+0x22df/0x24c0 kernel/signal.c:2864 arch_do_signal_or_restart+0x82/0x20f0 arch/x86/kernel/signal.c:867 exit_to_user_mode_loop kernel/entry/common.c:166 [inline] exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fc7fa6890e9 Code: Unable to access opcode bytes at RIP 0x7fc7fa6890bf. RSP: 002b:00007fc7fb7ad168 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: fffffffffffffffc RBX: 00007fc7fa79c030 RCX: 00007fc7fa6890e9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000 RBP: 00007fc7fa6e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffddc38220f R14: 00007fc7fb7ad300 R15: 0000000000022000