================================================================== BUG: KCSAN: data-race in __tty_hangup / tty_hung_up_p write to 0xffff888095b9a428 of 8 bytes by task 1459 on cpu 0: __tty_hangup+0x16a/0x460 drivers/tty/tty_io.c:615 tty_vhangup+0x21/0x30 drivers/tty/tty_io.c:697 pty_close+0x25b/0x2d0 drivers/tty/pty.c:79 tty_release+0x285/0x910 drivers/tty/tty_io.c:1679 __fput+0x1e1/0x520 fs/file_table.c:280 ____fput+0x1f/0x30 fs/file_table.c:313 task_work_run+0xf6/0x130 kernel/task_work.c:113 get_signal+0x12c3/0x1320 kernel/signal.c:2528 do_signal+0x2f/0x6c0 arch/x86/kernel/signal.c:815 exit_to_usermode_loop+0x250/0x2c0 arch/x86/entry/common.c:159 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x353/0x370 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888095b9a428 of 8 bytes by task 1460 on cpu 1: tty_hung_up_p+0x2b/0x60 drivers/tty/tty_io.c:747 n_tty_read+0x852/0x1260 drivers/tty/n_tty.c:2206 tty_read+0x11d/0x1c0 drivers/tty/tty_io.c:868 __vfs_read+0x67/0xc0 fs/read_write.c:425 vfs_read fs/read_write.c:461 [inline] vfs_read+0x143/0x2c0 fs/read_write.c:446 ksys_read+0xd5/0x1b0 fs/read_write.c:587 __do_sys_read fs/read_write.c:597 [inline] __se_sys_read fs/read_write.c:595 [inline] __x64_sys_read+0x4c/0x60 fs/read_write.c:595 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 1460 Comm: syz-executor.0 Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================