kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 1288 Comm: syz-executor.0 Not tainted 5.4.61-syzkaller-00823-g34364883b1f7 #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_fasync drivers/tty/tty_io.c:2120 [inline] RIP: 0010:tty_release+0xf0/0x1100 drivers/tty/tty_io.c:1664 Code: 00 00 00 fc ff df 41 80 7c 05 00 00 74 08 4c 89 f7 e8 c4 15 34 ff 49 8b 1e 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 a2 15 34 ff 4c 89 74 24 18 48 8b 2b RSP: 0018:ffff8881d1447da0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000005401 R08: ffffffff823c3e0c R09: ffffed1038cdb121 R10: ffffed1038cdb121 R11: 0000000000000000 R12: ffff8881d068b000 R13: 1ffff11039e453a9 R14: ffff8881cf229d48 R15: ffff8881cf229c80 FS: 00000000017f3940(0000) GS:ffff8881db900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efca1712d30 CR3: 00000001cf669002 CR4: 00000000001606e0 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:00007ffd658d6870 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000416f01 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000001190370 R09: 0000000000000000 R10: 00007ffd658d6950 R11: 0000000000000293 R12: 0000000001190378 R13: 0000000000000000 R14: ffffffffffffffff R15: 000000000118cf4c Modules linked in: R10: ffffed1038cdb121 R11: 0000000000000000 R12: ffff8881d068b000 R13: 1ffff11039e453a9 R14: ffff8881cf229d48 R15: ffff8881cf229c80 FS: 00000000017f3940(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc360037118 CR3: 00000001cf669005 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400