list_del corruption. prev->next should be ffff8881c8ba7b98, but was 0000000000000000 ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:53! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 30102 Comm: syz-executor.3 Not tainted 5.4.26-syzkaller-00554-g401eeccd435b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_del_entry_valid+0xe6/0x100 lib/list_debug.c:51 Code: b7 4d 30 ff 0f 0b 48 c7 c7 84 6d 4f 84 4c 89 f6 31 c0 e8 a4 4d 30 ff 0f 0b 48 c7 c7 bc 6d 4f 84 4c 89 f6 31 c0 e8 91 4d 30 ff <0f> 0b 48 c7 c7 fa 6d 4f 84 4c 89 f6 31 c0 e8 7e 4d 30 ff 0f 0b 90 RSP: 0018:ffff8881c8ba79f0 EFLAGS: 00010046 RAX: 0000000000000054 RBX: ffff8881d2745168 RCX: d0692b0baef4ee00 RDX: ffffc9000d471000 RSI: 00000000000010c0 RDI: 00000000000010c1 RBP: ffff8881c8ba7a10 R08: ffffffff812d0bc0 R09: ffffed103b765dd0 R10: ffffed103b765dd0 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8881c8ba7b98 R14: ffff8881c8ba7b98 R15: ffff8881d2745168 FS: 00007f4b38a64700(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000400200 CR3: 0000000197627002 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_del_entry include/linux/list.h:131 [inline] list_del_init include/linux/list.h:190 [inline] prepare_to_wait_event+0x2d7/0x530 kernel/sched/wait.c:277 uhid_char_read+0x24f/0x6e0 drivers/hid/uhid.c:669 do_loop_readv_writev fs/read_write.c:717 [inline] do_iter_read+0x4a2/0x5b0 fs/read_write.c:938 vfs_readv fs/read_write.c:1000 [inline] do_readv+0x216/0x400 fs/read_write.c:1037 __do_sys_readv fs/read_write.c:1128 [inline] __se_sys_readv fs/read_write.c:1125 [inline] __x64_sys_readv+0x7d/0x90 fs/read_write.c:1125 do_syscall_64+0xc0/0x100 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45c849 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f4b38a63c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000013 RAX: ffffffffffffffda RBX: 00007f4b38a646d4 RCX: 000000000045c849 RDX: 0000000000000002 RSI: 0000000020001680 RDI: 0000000000000004 RBP: 000000000076bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000886 R14: 00000000004cb18c R15: 000000000076bfac Modules linked in: ---[ end trace 26f6eef4a1bb9300 ]--- RIP: 0010:__list_del_entry_valid+0xe6/0x100 lib/list_debug.c:51 Code: b7 4d 30 ff 0f 0b 48 c7 c7 84 6d 4f 84 4c 89 f6 31 c0 e8 a4 4d 30 ff 0f 0b 48 c7 c7 bc 6d 4f 84 4c 89 f6 31 c0 e8 91 4d 30 ff <0f> 0b 48 c7 c7 fa 6d 4f 84 4c 89 f6 31 c0 e8 7e 4d 30 ff 0f 0b 90 RSP: 0018:ffff8881c8ba79f0 EFLAGS: 00010046 RAX: 0000000000000054 RBX: ffff8881d2745168 RCX: d0692b0baef4ee00 RDX: ffffc9000d471000 RSI: 00000000000010c0 RDI: 00000000000010c1 RBP: ffff8881c8ba7a10 R08: ffffffff812d0bc0 R09: ffffed103b765dd0 R10: ffffed103b765dd0 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8881c8ba7b98 R14: ffff8881c8ba7b98 R15: ffff8881d2745168 FS: 00007f4b38a64700(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000400200 CR3: 0000000197627002 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400