================================================================== BUG: KCSAN: data-race in __fput / __tty_hangup write to 0xffff88814bf0d4b0 of 8 bytes by task 15288 on cpu 1: __tty_hangup+0x1e8/0x530 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+0x204/0x930 drivers/tty/tty_io.c:1760 __fput+0x299/0x630 fs/file_table.c:376 ____fput+0x15/0x20 fs/file_table.c:404 task_work_run+0x135/0x1a0 kernel/task_work.c:180 get_signal+0xf04/0x10a0 kernel/signal.c:2669 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:105 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline] syscall_exit_to_user_mode+0x58/0x120 kernel/entry/common.c:212 do_syscall_64+0xda/0x1d0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff88814bf0d4b0 of 8 bytes by task 15290 on cpu 0: __fput+0x273/0x630 fs/file_table.c:375 ____fput+0x15/0x20 fs/file_table.c:404 task_work_run+0x135/0x1a0 kernel/task_work.c:180 get_signal+0xf04/0x10a0 kernel/signal.c:2669 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:105 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline] syscall_exit_to_user_mode+0x58/0x120 kernel/entry/common.c:212 do_syscall_64+0xda/0x1d0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0xffffffff850975f8 -> 0xffffffff85097490 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 15290 Comm: syz-executor.2 Not tainted 6.8.0-rc6-syzkaller-00037-g805d849d7c3c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 ==================================================================