kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 3236 Comm: syz-executor.0 Not tainted 5.4.63-syzkaller-00006-g80d830d79a4d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:file_tty drivers/tty/tty_io.c:181 [inline] RIP: 0010:tty_release+0x58/0x1100 drivers/tty/tty_io.c:1651 Code: 89 f5 49 c1 ed 03 41 80 7c 2d 00 00 74 08 4c 89 f7 e8 1c bc 36 ff 49 8b 2e 48 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 ef e8 fa bb 36 ff 4c 8b 65 00 4d 85 e4 0f RSP: 0018:ffff8881d7b0fda0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8881d9fde5d8 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: ffff8881c84353c0 RDI: ffff8881d9fde5d8 RBP: 0000000000000000 R08: ffffffff8173d02a R09: ffffed1038edf4d4 R10: ffffed1038edf4d4 R11: 0000000000000000 R12: ffff8881c84353c0 R13: 1ffff11039086a91 R14: ffff8881c8435488 R15: ffff8881c84353c0 FS: 0000000002cb9940(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3cc9c11db8 CR3: 00000001cb870006 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __fput+0x27d/0x6c0 fs/file_table.c:280 task_work_run+0x176/0x1a0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:163 [inline] prepare_exit_to_usermode+0x286/0x2e0 arch/x86/entry/common.c:194 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:00007ffd1dfae110 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000416f01 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000001190370 R09: 0000000000000000 R10: 00007ffd1dfae1f0 R11: 0000000000000293 R12: 0000000001190378 R13: 0000000000000000 R14: ffffffffffffffff R15: 000000000118cf4c Modules linked in: R13: 1ffff11039086a91 R14: ffff8881c8435488 R15: ffff8881c84353c0 FS: 0000000002cb9940(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3cc9c11db8 CR3: 00000001cb870006 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400