list_del corruption, ffff8880a6c4e810->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: 14251 Comm: syz-executor.0 Not tainted 5.9.0-rc3-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 20 1c 94 88 e8 11 94 be fd 0f 0b 4c 89 e2 48 89 ee 48 c7 c7 80 1c 94 88 e8 fd 93 be fd <0f> 0b 48 89 ee 48 c7 c7 40 1d 94 88 e8 ec 93 be fd 0f 0b cc cc cc RSP: 0018:ffffc90005ee7e10 EFLAGS: 00010286 RAX: 000000000000004e RBX: ffff88809babf000 RCX: 0000000000000000 RDX: ffff88809e08e500 RSI: ffffffff815db9a7 RDI: fffff52000bdcfb4 RBP: ffff8880a6c4e810 R08: 000000000000004e R09: ffff8880ae7318e7 R10: 0000000000000000 R11: 000000000009f048 R12: dead000000000122 R13: ffff88809babf0a0 R14: ffff8880a6c4e810 R15: ffff8880a6c4e818 FS: 000000000213f940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8efeaf8db8 CR3: 0000000096e25000 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+0x1e1/0x200 kernel/entry/common.c:167 syscall_exit_to_user_mode+0x7e/0x2e0 kernel/entry/common.c:242 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x416f01 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 04 1b 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffe67e49a20 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000416f01 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000001190360 R09: 0000000000000000 R10: 00007ffe67e49b00 R11: 0000000000000293 R12: 0000000001190368 R13: 0000000000000000 R14: ffffffffffffffff R15: 000000000118cf4c Modules linked in: ---[ end trace 2ebabb84b689d314 ]--- 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 20 1c 94 88 e8 11 94 be fd 0f 0b 4c 89 e2 48 89 ee 48 c7 c7 80 1c 94 88 e8 fd 93 be fd <0f> 0b 48 89 ee 48 c7 c7 40 1d 94 88 e8 ec 93 be fd 0f 0b cc cc cc RSP: 0018:ffffc90005ee7e10 EFLAGS: 00010286 RAX: 000000000000004e RBX: ffff88809babf000 RCX: 0000000000000000 RDX: ffff88809e08e500 RSI: ffffffff815db9a7 RDI: fffff52000bdcfb4 RBP: ffff8880a6c4e810 R08: 000000000000004e R09: ffff8880ae7318e7 R10: 0000000000000000 R11: 000000000009f048 R12: dead000000000122 R13: ffff88809babf0a0 R14: ffff8880a6c4e810 R15: ffff8880a6c4e818 FS: 000000000213f940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8efeaf8db8 CR3: 0000000096e25000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400