list_del corruption, ffff8880a71ab810->prev is LIST_POISON2 (dead000000000122) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:48! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 10936 Comm: syz-executor.0 Not tainted 5.9.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_del_entry_valid.cold+0x37/0x55 lib/list_debug.c:48 Code: be fd 0f 0b 4c 89 ea 48 89 ee 48 c7 c7 80 1a 94 88 e8 c1 8c be fd 0f 0b 4c 89 e2 48 89 ee 48 c7 c7 e0 1a 94 88 e8 ad 8c be fd <0f> 0b 48 89 ee 48 c7 c7 a0 1b 94 88 e8 9c 8c be fd 0f 0b cc cc cc RSP: 0018:ffffc9000a207de8 EFLAGS: 00010282 RAX: 000000000000004e RBX: ffff88809cf14000 RCX: 0000000000000000 RDX: ffff88809b622380 RSI: ffffffff815dafc7 RDI: fffff52001440faf RBP: ffff8880a71ab810 R08: 000000000000004e R09: ffff8880ae7318e7 R10: 0000000000000000 R11: 000000000009e718 R12: dead000000000122 R13: ffff88809cf140a0 R14: ffff8880a71ab810 R15: ffff8880a71ab818 FS: 0000000000000000(0000) GS:ffff8880ae700000(0063) knlGS:00000000f77aeb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f77adcb8 CR3: 00000000a7db7000 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 drivers/input/mousedev.c:515 [inline] mousedev_release+0x7d/0x1f0 drivers/input/mousedev.c:525 __fput+0x285/0x920 fs/file_table.c:281 task_work_run+0xdd/0x190 kernel/task_work.c:141 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:140 [inline] exit_to_user_mode_prepare+0x195/0x1c0 kernel/entry/common.c:167 syscall_exit_to_user_mode+0x59/0x2b0 kernel/entry/common.c:242 __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:0xf7fb4549 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:00000000f77ae0cc 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 d4f19662201a4738 ]--- RIP: 0010:__list_del_entry_valid.cold+0x37/0x55 lib/list_debug.c:48 Code: be fd 0f 0b 4c 89 ea 48 89 ee 48 c7 c7 80 1a 94 88 e8 c1 8c be fd 0f 0b 4c 89 e2 48 89 ee 48 c7 c7 e0 1a 94 88 e8 ad 8c be fd <0f> 0b 48 89 ee 48 c7 c7 a0 1b 94 88 e8 9c 8c be fd 0f 0b cc cc cc RSP: 0018:ffffc9000a207de8 EFLAGS: 00010282 RAX: 000000000000004e RBX: ffff88809cf14000 RCX: 0000000000000000 RDX: ffff88809b622380 RSI: ffffffff815dafc7 RDI: fffff52001440faf RBP: ffff8880a71ab810 R08: 000000000000004e R09: ffff8880ae7318e7 R10: 0000000000000000 R11: 000000000009e718 R12: dead000000000122 R13: ffff88809cf140a0 R14: ffff8880a71ab810 R15: ffff8880a71ab818 FS: 0000000000000000(0000) GS:ffff8880ae700000(0063) knlGS:00000000f77aeb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f77adcb8 CR3: 00000000a7db7000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400