------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 0 PID: 5179 at lib/refcount.c:25 refcount_warn_saturate+0x13a/0x1d0 lib/refcount.c:25 Modules linked in: CPU: 0 PID: 5179 Comm: kworker/0:4 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events sco_sock_timeout RIP: 0010:refcount_warn_saturate+0x13a/0x1d0 lib/refcount.c:25 Code: c0 a5 1f 8c e8 c7 d9 a8 fc 90 0f 0b 90 90 eb b9 e8 2b ab e6 fc c6 05 89 50 e8 0a 01 90 48 c7 c7 20 a6 1f 8c e8 a7 d9 a8 fc 90 <0f> 0b 90 90 eb 99 e8 0b ab e6 fc c6 05 6a 50 e8 0a 01 90 48 c7 c7 RSP: 0018:ffffc90008cf7b70 EFLAGS: 00010246 RAX: 42c18cce13d44100 RBX: ffff888015b95080 RCX: ffff8880298c5a00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000002 R08: ffffffff81585822 R09: fffffbfff1c39994 R10: dffffc0000000000 R11: fffffbfff1c39994 R12: ffff888015b95000 R13: dffffc0000000000 R14: ffff888015b95080 R15: ffff88802c2b2a08 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33425000 CR3: 000000007e34a000 CR4: 0000000000350ef0 Call Trace: __refcount_inc include/linux/refcount.h:241 [inline] refcount_inc include/linux/refcount.h:258 [inline] sock_hold include/net/sock.h:774 [inline] sco_sock_timeout+0x1e1/0x270 net/bluetooth/sco.c:92 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2e/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244