================================================================== BUG: KCSAN: data-race in __fput / __tty_hangup write to 0xffff888103a29fb0 of 8 bytes by task 4834 on cpu 0: __tty_hangup+0x1e8/0x520 drivers/tty/tty_io.c:623 tty_vhangup+0x17/0x20 drivers/tty/tty_io.c:702 pty_close+0x262/0x280 drivers/tty/pty.c:79 tty_release+0x204/0x930 drivers/tty/tty_io.c:1762 __fput+0x303/0x600 fs/file_table.c:384 ____fput+0x15/0x20 fs/file_table.c:412 task_work_run+0x135/0x1a0 kernel/task_work.c:179 get_signal+0xe6a/0xff0 kernel/signal.c:2657 arch_do_signal_or_restart+0x89/0x2a0 arch/x86/kernel/signal.c:308 exit_to_user_mode_loop+0x6f/0xe0 kernel/entry/common.c:168 exit_to_user_mode_prepare+0x6c/0xb0 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x26/0x140 kernel/entry/common.c:297 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff888103a29fb0 of 8 bytes by task 4835 on cpu 1: __fput+0x2d7/0x600 fs/file_table.c:383 ____fput+0x15/0x20 fs/file_table.c:412 task_work_run+0x135/0x1a0 kernel/task_work.c:179 get_signal+0xe6a/0xff0 kernel/signal.c:2657 arch_do_signal_or_restart+0x89/0x2a0 arch/x86/kernel/signal.c:308 exit_to_user_mode_loop+0x6f/0xe0 kernel/entry/common.c:168 exit_to_user_mode_prepare+0x6c/0xb0 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x26/0x140 kernel/entry/common.c:297 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0xffffffff84e92bb0 -> 0xffffffff84e92a40 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 4835 Comm: syz-executor.2 Not tainted 6.5.0-rc4-syzkaller-00251-gf0ab9f34e59e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 ==================================================================