list_del corruption, ffff88810f0de010->prev is LIST_POISON2 (dead000000000122) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:50! invalid opcode: 0000 [#1] PREEMPT SMP CPU: 1 PID: 14654 Comm: syz-executor.1 Not tainted 5.9.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_del_entry_valid.cold.1+0x45/0x4c lib/list_debug.c:48 Code: e8 95 85 56 ff 0f 0b 48 89 f2 48 89 fe 48 c7 c7 90 54 f1 83 e8 81 85 56 ff 0f 0b 48 89 fe 48 c7 c7 58 54 f1 83 e8 70 85 56 ff <0f> 0b cc cc cc cc cc 41 56 41 55 41 54 55 53 48 81 ec 88 00 00 00 RSP: 0018:ffffc900059d3e50 EFLAGS: 00010246 RAX: 000000000000004e RBX: ffff888124c838b0 RCX: 0000000000000002 RDX: 0000000000000000 RSI: ffffffff8401b939 RDI: 00000000ffffffff RBP: ffff88810f0de000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0244c45446ca2ec8 R12: ffff888125415640 R13: ffff88812a8495a0 R14: ffff8881288d6af8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88812c100000(0063) knlGS:00000000f77e7b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000080f3938 CR3: 000000010f2a6000 CR4: 00000000001506e0 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_rcu include/linux/rculist.h:158 [inline] mousedev_detach_client+0x1d/0x50 drivers/input/mousedev.c:515 mousedev_release+0x18/0x30 drivers/input/mousedev.c:525 __fput+0xaa/0x250 fs/file_table.c:281 task_work_run+0x68/0xb0 kernel/task_work.c:141 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:139 [inline] exit_to_user_mode_prepare+0x1e2/0x1f0 kernel/entry/common.c:166 syscall_exit_to_user_mode+0x59/0x2b0 kernel/entry/common.c:241 __do_fast_syscall_32+0x63/0x80 arch/x86/entry/common.c:127 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:149 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7fed549 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f77e70cc EFLAGS: 00000296 ORIG_RAX: 00000000000000ff RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000001 RDX: 0000000000000004 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 3f90aa3e945a80c8 ]--- RIP: 0010:__list_del_entry_valid.cold.1+0x45/0x4c lib/list_debug.c:48 Code: e8 95 85 56 ff 0f 0b 48 89 f2 48 89 fe 48 c7 c7 90 54 f1 83 e8 81 85 56 ff 0f 0b 48 89 fe 48 c7 c7 58 54 f1 83 e8 70 85 56 ff <0f> 0b cc cc cc cc cc 41 56 41 55 41 54 55 53 48 81 ec 88 00 00 00 RSP: 0018:ffffc900059d3e50 EFLAGS: 00010246 RAX: 000000000000004e RBX: ffff888124c838b0 RCX: 0000000000000002 RDX: 0000000000000000 RSI: ffffffff8401b939 RDI: 00000000ffffffff RBP: ffff88810f0de000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0244c45446ca2ec8 R12: ffff888125415640 R13: ffff88812a8495a0 R14: ffff8881288d6af8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88812c100000(0063) knlGS:00000000f77e7b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000080f3938 CR3: 000000010f2a6000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400