INFO: trying to register non-static key. The code is fine but needs lockdep annotation, or maybe you didn't initialize this object before use? turning off the locking correctness validator. CPU: 0 PID: 5150 Comm: kworker/0:5 Not tainted 6.8.0-rc3-syzkaller-00208-g9b23fceb4158 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: events sco_sock_timeout Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106 assign_lock_key+0x238/0x270 kernel/locking/lockdep.c:976 register_lock_class+0x1cf/0x980 kernel/locking/lockdep.c:1289 __lock_acquire+0xd9/0x1fd0 kernel/locking/lockdep.c:5014 lock_acquire+0x1e3/0x530 kernel/locking/lockdep.c:5754 lock_sock_nested+0x48/0x100 net/core/sock.c:3524 lock_sock include/net/sock.h:1691 [inline] sco_sock_timeout+0xc1/0x240 net/bluetooth/sco.c:96 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 list_add corruption. prev->next should be next (ffff88804357d120), but was 7874636d72622628. (prev=ffffffff8cae5aa0). ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:34! invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 PID: 5150 Comm: kworker/0:5 Not tainted 6.8.0-rc3-syzkaller-00208-g9b23fceb4158 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: events sco_sock_timeout RIP: 0010:__list_add_valid_or_report+0xeb/0xf0 lib/list_debug.c:32 Code: 0f 0b 48 c7 c7 e0 69 fe 8b 4c 89 e6 4c 89 f1 e8 3b 02 bc 06 90 0f 0b 48 c7 c7 60 6a fe 8b 4c 89 f6 4c 89 e1 e8 26 02 bc 06 90 <0f> 0b 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 RSP: 0018:ffffc90004abf9d8 EFLAGS: 00010046 RAX: 0000000000000075 RBX: ffff88804357d128 RCX: 6168f5b236c97f00 RDX: 0000000000000000 RSI: 0000000080000202 RDI: 0000000000000000 RBP: ffffc90004abfac0 R08: ffffffff81753a0c R09: 1ffff92000957edc R10: dffffc0000000000 R11: fffff52000957edd R12: ffffffff8cae5aa0 R13: dffffc0000000000 R14: ffff88804357d120 R15: ffffc90004abfad8 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31b23000 CR3: 000000002efc8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_add_valid include/linux/list.h:88 [inline] __list_add include/linux/list.h:150 [inline] list_add_tail include/linux/list.h:183 [inline] __add_wait_queue_entry_tail include/linux/wait.h:194 [inline] prepare_to_wait_exclusive+0x14b/0x220 kernel/sched/wait.c:253 __lock_sock+0x1bf/0x330 net/core/sock.c:2946 lock_sock_nested+0x9e/0x100 net/core/sock.c:3529 lock_sock include/net/sock.h:1691 [inline] sco_sock_timeout+0xc1/0x240 net/bluetooth/sco.c:96 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_add_valid_or_report+0xeb/0xf0 lib/list_debug.c:32 Code: 0f 0b 48 c7 c7 e0 69 fe 8b 4c 89 e6 4c 89 f1 e8 3b 02 bc 06 90 0f 0b 48 c7 c7 60 6a fe 8b 4c 89 f6 4c 89 e1 e8 26 02 bc 06 90 <0f> 0b 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 RSP: 0018:ffffc90004abf9d8 EFLAGS: 00010046 RAX: 0000000000000075 RBX: ffff88804357d128 RCX: 6168f5b236c97f00 RDX: 0000000000000000 RSI: 0000000080000202 RDI: 0000000000000000 RBP: ffffc90004abfac0 R08: ffffffff81753a0c R09: 1ffff92000957edc R10: dffffc0000000000 R11: fffff52000957edd R12: ffffffff8cae5aa0 R13: dffffc0000000000 R14: ffff88804357d120 R15: ffffc90004abfad8 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31b23000 CR3: 000000002efc8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400