list_del corruption, ffff88809e913010->prev is LIST_POISON2 (dead000000000122) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:48! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 10825 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 c0 1b 94 88 e8 d1 94 be fd 0f 0b 4c 89 e2 48 89 ee 48 c7 c7 20 1c 94 88 e8 bd 94 be fd <0f> 0b 48 89 ee 48 c7 c7 e0 1c 94 88 e8 ac 94 be fd 0f 0b cc cc cc RSP: 0018:ffffc90005ab7e10 EFLAGS: 00010286 RAX: 000000000000004e RBX: ffff88809b393000 RCX: 0000000000000000 RDX: ffff88809e148040 RSI: ffffffff815db9a7 RDI: fffff52000b56fb4 RBP: ffff88809e913010 R08: 000000000000004e R09: ffff8880ae6318e7 R10: 0000000000000000 R11: 000000000009f588 R12: dead000000000122 R13: ffff88809b3930a0 R14: ffff88809e913010 R15: ffff88809e913018 FS: 00007f54d5d01700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005598341f9160 CR3: 0000000097142000 CR4: 00000000001506f0 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:0x45d5b9 Code: 5d b4 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 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f54d5d00c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e9 RAX: 0000000000000000 RBX: 0000000000002ac0 RCX: 000000000045d5b9 RDX: 0000000000000004 RSI: 0000000000000001 RDI: 0000000000000005 RBP: 000000000118cf88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000040 R11: 0000000000000246 R12: 000000000118cf4c R13: 000000000169fb6f R14: 00007f54d5d019c0 R15: 000000000118cf4c Modules linked in: ---[ end trace fc4d147e5b09d611 ]--- 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 c0 1b 94 88 e8 d1 94 be fd 0f 0b 4c 89 e2 48 89 ee 48 c7 c7 20 1c 94 88 e8 bd 94 be fd <0f> 0b 48 89 ee 48 c7 c7 e0 1c 94 88 e8 ac 94 be fd 0f 0b cc cc cc RSP: 0018:ffffc90005ab7e10 EFLAGS: 00010286 RAX: 000000000000004e RBX: ffff88809b393000 RCX: 0000000000000000 RDX: ffff88809e148040 RSI: ffffffff815db9a7 RDI: fffff52000b56fb4 RBP: ffff88809e913010 R08: 000000000000004e R09: ffff8880ae6318e7 R10: 0000000000000000 R11: 000000000009f588 R12: dead000000000122 R13: ffff88809b3930a0 R14: ffff88809e913010 R15: ffff88809e913018 FS: 00007f54d5d01700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005598341f9160 CR3: 0000000097142000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400