list_del corruption. prev->next should be ffff8881d278fb98, but was 0000000000000000 ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:53! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 21469 Comm: syz-executor.2 Not tainted 5.4.28-syzkaller-00758-g8398205ce446 #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: 47 3d 30 ff 0f 0b 48 c7 c7 04 15 50 84 4c 89 f6 31 c0 e8 34 3d 30 ff 0f 0b 48 c7 c7 3c 15 50 84 4c 89 f6 31 c0 e8 21 3d 30 ff <0f> 0b 48 c7 c7 7a 15 50 84 4c 89 f6 31 c0 e8 0e 3d 30 ff 0f 0b 90 RSP: 0018:ffff8881d278f9f0 EFLAGS: 00010046 RAX: 0000000000000054 RBX: ffff8881c9bc1168 RCX: d407ac09243c1500 RDX: ffffc9000355d000 RSI: 000000000000148f RDI: 0000000000001490 RBP: ffff8881d278fa10 R08: ffffffff812d0b80 R09: ffffed103b743e9a R10: ffffed103b743e9a R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8881d278fb98 R14: ffff8881d278fb98 R15: ffff8881c9bc1168 FS: 00007f6b70d60700(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe52511a90 CR3: 00000001c7107005 CR4: 00000000001606f0 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:00007f6b70d5fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000013 RAX: ffffffffffffffda RBX: 00007f6b70d606d4 RCX: 000000000045c849 RDX: 0000000000000002 RSI: 0000000020001680 RDI: 0000000000000003 RBP: 000000000076bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 000000000000088a R14: 00000000004cb1c8 R15: 000000000076bfac Modules linked in: ---[ end trace 94633a7d929527f0 ]--- RIP: 0010:__list_del_entry_valid+0xe6/0x100 lib/list_debug.c:51 Code: 47 3d 30 ff 0f 0b 48 c7 c7 04 15 50 84 4c 89 f6 31 c0 e8 34 3d 30 ff 0f 0b 48 c7 c7 3c 15 50 84 4c 89 f6 31 c0 e8 21 3d 30 ff <0f> 0b 48 c7 c7 7a 15 50 84 4c 89 f6 31 c0 e8 0e 3d 30 ff 0f 0b 90 RSP: 0018:ffff8881d278f9f0 EFLAGS: 00010046 RAX: 0000000000000054 RBX: ffff8881c9bc1168 RCX: d407ac09243c1500 RDX: ffffc9000355d000 RSI: 000000000000148f RDI: 0000000000001490 RBP: ffff8881d278fa10 R08: ffffffff812d0b80 R09: ffffed103b743e9a R10: ffffed103b743e9a R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8881d278fb98 R14: ffff8881d278fb98 R15: ffff8881c9bc1168 FS: 00007f6b70d60700(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe52511a90 CR3: 00000001c7107005 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400