================================================================== BUG: KCSAN: data-race in __fput / __tty_hangup write to 0xffff888124a6e828 of 8 bytes by task 10825 on cpu 0: __tty_hangup+0x23a/0x610 drivers/tty/tty_io.c:616 tty_vhangup+0x13/0x20 drivers/tty/tty_io.c:698 pty_close+0x298/0x2c0 drivers/tty/pty.c:79 tty_release+0x255/0xa00 drivers/tty/tty_io.c:1679 __fput+0x1df/0x460 fs/file_table.c:281 ____fput+0x11/0x20 fs/file_table.c:314 task_work_run+0x8e/0x110 kernel/task_work.c:135 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:239 [inline] __prepare_exit_to_usermode+0x1c6/0x230 arch/x86/entry/common.c:269 __syscall_return_slowpath+0x47/0x60 arch/x86/entry/common.c:352 do_syscall_64+0x5d/0xb0 arch/x86/entry/common.c:393 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888124a6e828 of 8 bytes by task 10826 on cpu 1: __fput+0x1b6/0x460 fs/file_table.c:280 ____fput+0x11/0x20 fs/file_table.c:314 task_work_run+0x8e/0x110 kernel/task_work.c:135 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:239 [inline] __prepare_exit_to_usermode+0x1c6/0x230 arch/x86/entry/common.c:269 __syscall_return_slowpath+0x47/0x60 arch/x86/entry/common.c:352 do_syscall_64+0x5d/0xb0 arch/x86/entry/common.c:393 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 10826 Comm: syz-executor.3 Not tainted 5.8.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================