------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 0 PID: 15840 at lib/refcount.c:25 refcount_warn_saturate+0x1b8/0x1f0 lib/refcount.c:25 Modules linked in: CPU: 0 PID: 15840 Comm: kworker/0:4 Not tainted 6.6.0-syzkaller-15866-g2bd5b559a1f3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Workqueue: events sco_sock_timeout RIP: 0010:refcount_warn_saturate+0x1b8/0x1f0 lib/refcount.c:25 Code: 0a 31 ff 89 de e8 a8 ce 25 fd 84 db 0f 85 f6 fe ff ff e8 6b d3 25 fd 48 c7 c7 e0 90 2e 8b c6 05 4e 3f a1 0a 01 e8 b8 66 eb fc <0f> 0b e9 d7 fe ff ff e8 4c d3 25 fd 48 c7 c7 a0 91 2e 8b c6 05 2d RSP: 0018:ffffc90003407cb0 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff814e3589 RDX: ffff888026af0000 RSI: ffffffff814e3596 RDI: 0000000000000001 RBP: ffff88807a52e080 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 000000000033d9d8 R12: ffff88802079d608 R13: ffff88807a52e080 R14: ffffc90003407d80 R15: ffff8880b983bec0 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020feb000 CR3: 000000000cd77000 CR4: 00000000003506f0 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:777 [inline] sco_sock_timeout+0x232/0x2b0 net/bluetooth/sco.c:88 process_one_work+0x884/0x15c0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242