INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 0 PID: 9593 Comm: syz-executor724 Not tainted 5.6.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x188/0x20d lib/dump_stack.c:118 assign_lock_key kernel/locking/lockdep.c:880 [inline] register_lock_class+0x14c4/0x1540 kernel/locking/lockdep.c:1189 __lock_acquire+0xfc/0x3ca0 kernel/locking/lockdep.c:3836 lock_acquire+0x197/0x420 kernel/locking/lockdep.c:4484 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x8c/0xbf kernel/locking/spinlock.c:159 prepare_to_wait_event+0x5b/0x650 kernel/sched/wait.c:280 uhid_char_read+0x31b/0x6c0 drivers/hid/uhid.c:669 do_loop_readv_writev fs/read_write.c:714 [inline] do_loop_readv_writev fs/read_write.c:701 [inline] do_iter_read+0x47f/0x650 fs/read_write.c:935 compat_readv+0x187/0x1f0 fs/read_write.c:1242 do_compat_readv+0xd5/0x1d0 fs/read_write.c:1262 do_syscall_32_irqs_on arch/x86/entry/common.c:337 [inline] do_fast_syscall_32+0x270/0xe8f arch/x86/entry/common.c:408 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 list_del corruption. prev->next should be ffffc90002337ba0, but was 0000000000000000 ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:51! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 9593 Comm: syz-executor724 Not tainted 5.6.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_del_entry_valid.cold+0xf/0x55 lib/list_debug.c:51 Code: e8 44 93 c9 fd 0f 0b 48 89 f1 48 c7 c7 c0 e6 51 88 4c 89 e6 e8 30 93 c9 fd 0f 0b 48 89 ee 48 c7 c7 60 e8 51 88 e8 1f 93 c9 fd <0f> 0b 4c 89 ea 48 89 ee 48 c7 c7 a0 e7 51 88 e8 0b 93 c9 fd 0f 0b RSP: 0018:ffffc90002337a40 EFLAGS: 00010082 RAX: 0000000000000054 RBX: ffffc90002337b88 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff815c06c1 RDI: fffff52000466f3a RBP: ffffc90002337ba0 R08: 0000000000000054 R09: ffffed1015cc45c9 R10: ffffed1015cc45c8 R11: ffff8880ae622e43 R12: ffff888096f811f8 R13: ffff888096f811f8 R14: 0000000000000286 R15: ffffc90002337ba0 FS: 0000000000000000(0000) GS:ffff8880ae600000(0063) knlGS:00000000f7f4eb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007ff15edb7000 CR3: 000000009e863000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_del_entry include/linux/list.h:132 [inline] list_del_init include/linux/list.h:204 [inline] prepare_to_wait_event+0x19c/0x650 kernel/sched/wait.c:294 uhid_char_read+0x31b/0x6c0 drivers/hid/uhid.c:669 do_loop_readv_writev fs/read_write.c:714 [inline] do_loop_readv_writev fs/read_write.c:701 [inline] do_iter_read+0x47f/0x650 fs/read_write.c:935 compat_readv+0x187/0x1f0 fs/read_write.c:1242 do_compat_readv+0xd5/0x1d0 fs/read_write.c:1262 do_syscall_32_irqs_on arch/x86/entry/common.c:337 [inline] do_fast_syscall_32+0x270/0xe8f arch/x86/entry/common.c:408 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 Modules linked in: ---[ end trace c3d3d17f7cd7211b ]--- RIP: 0010:__list_del_entry_valid.cold+0xf/0x55 lib/list_debug.c:51 Code: e8 44 93 c9 fd 0f 0b 48 89 f1 48 c7 c7 c0 e6 51 88 4c 89 e6 e8 30 93 c9 fd 0f 0b 48 89 ee 48 c7 c7 60 e8 51 88 e8 1f 93 c9 fd <0f> 0b 4c 89 ea 48 89 ee 48 c7 c7 a0 e7 51 88 e8 0b 93 c9 fd 0f 0b RSP: 0018:ffffc90002337a40 EFLAGS: 00010082 RAX: 0000000000000054 RBX: ffffc90002337b88 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff815c06c1 RDI: fffff52000466f3a RBP: ffffc90002337ba0 R08: 0000000000000054 R09: ffffed1015cc45c9 R10: ffffed1015cc45c8 R11: ffff8880ae622e43 R12: ffff888096f811f8 R13: ffff888096f811f8 R14: 0000000000000286 R15: ffffc90002337ba0 FS: 0000000000000000(0000) GS:ffff8880ae600000(0063) knlGS:00000000f7f4eb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007ff15edb7000 CR3: 000000009e863000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400