------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 1 PID: 5016 at lib/refcount.c:25 refcount_warn_saturate+0x13d/0x1a0 lib/refcount.c:25 Modules linked in: CPU: 1 PID: 5016 Comm: kworker/1:12 Not tainted 5.17.0-rc6-syzkaller-00251-gdcde98da9970 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events sco_sock_timeout RIP: 0010:refcount_warn_saturate+0x13d/0x1a0 lib/refcount.c:25 Code: c7 00 29 d6 8a 31 c0 e8 91 97 34 fd 0f 0b eb a3 e8 28 fc 6a fd c6 05 d4 5d d2 09 01 48 c7 c7 60 29 d6 8a 31 c0 e8 73 97 34 fd <0f> 0b eb 85 e8 0a fc 6a fd c6 05 b7 5d d2 09 01 48 c7 c7 c0 29 d6 RSP: 0018:ffffc90004cd7bf0 EFLAGS: 00010246 RAX: 6d261b73f952ac00 RBX: 0000000000000002 RCX: ffff88807b435700 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000002 R08: ffffffff816aec92 R09: fffff5200099aed1 R10: fffff5200099aed1 R11: 0000000000000000 R12: ffff88801a126000 R13: dffffc0000000000 R14: ffff88801a126080 R15: ffff88807adc5a08 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4b766881b8 CR3: 0000000046569000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __refcount_inc include/linux/refcount.h:250 [inline] refcount_inc include/linux/refcount.h:267 [inline] sock_hold include/net/sock.h:712 [inline] sco_sock_timeout+0x1ab/0x240 net/bluetooth/sco.c:89 process_one_work+0x86c/0x1190 kernel/workqueue.c:2307 worker_thread+0xab1/0x1300 kernel/workqueue.c:2454 kthread+0x2a3/0x2d0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30