================================================================== BUG: KCSAN: data-race in __fput / __tty_hangup write to 0xffff8881132a6d90 of 8 bytes by task 5396 on cpu 1: __tty_hangup+0x1d6/0x530 drivers/tty/tty_io.c:615 tty_vhangup+0x17/0x20 drivers/tty/tty_io.c:694 pty_close+0x262/0x280 drivers/tty/pty.c:79 tty_release+0x206/0x930 drivers/tty/tty_io.c:1754 __fput+0x17a/0x6d0 fs/file_table.c:431 ____fput+0x1c/0x30 fs/file_table.c:459 task_work_run+0x13a/0x1a0 kernel/task_work.c:228 get_signal+0xee9/0x1070 kernel/signal.c:2690 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x59/0x130 kernel/entry/common.c:218 do_syscall_64+0xd6/0x1c0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff8881132a6d90 of 8 bytes by task 5400 on cpu 0: __fput+0x14e/0x6d0 fs/file_table.c:430 ____fput+0x1c/0x30 fs/file_table.c:459 task_work_run+0x13a/0x1a0 kernel/task_work.c:228 get_signal+0xee9/0x1070 kernel/signal.c:2690 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x59/0x130 kernel/entry/common.c:218 do_syscall_64+0xd6/0x1c0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0xffffffff8569ce58 -> 0xffffffff8569ccf0 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 5400 Comm: syz.0.10025 Tainted: G W 6.12.0-rc1-syzkaller-00046-g7ec462100ef9 #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================