================================================================== BUG: KCSAN: data-race in __fput / __tty_hangup write to 0xffff88810866ccb0 of 8 bytes by task 4537 on cpu 0: __tty_hangup+0x1e8/0x540 drivers/tty/tty_io.c:621 tty_vhangup+0x17/0x20 drivers/tty/tty_io.c:700 pty_close+0x262/0x280 drivers/tty/pty.c:79 tty_release+0x20c/0x940 drivers/tty/tty_io.c:1760 __fput+0x192/0x6f0 fs/file_table.c:422 ____fput+0x15/0x20 fs/file_table.c:450 task_work_run+0x13a/0x1a0 kernel/task_work.c:228 get_signal+0xeee/0x1080 kernel/signal.c:2689 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:310 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 0xffff88810866ccb0 of 8 bytes by task 4542 on cpu 1: __fput+0x163/0x6f0 fs/file_table.c:421 ____fput+0x15/0x20 fs/file_table.c:450 task_work_run+0x13a/0x1a0 kernel/task_work.c:228 get_signal+0xeee/0x1080 kernel/signal.c:2689 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:310 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: 0xffffffff8569ae68 -> 0xffffffff8569ad00 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 4542 Comm: syz.0.351 Not tainted 6.11.0-rc2-syzkaller-00111-gee9a43b7cfe2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 ==================================================================