================================================================== BUG: KCSAN: data-race in __fput / __tty_hangup write to 0xffff8881033d7790 of 8 bytes by task 11537 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:450 ____fput+0x1c/0x30 fs/file_table.c:478 task_work_run+0x13a/0x1a0 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xa8/0x120 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 0xffff8881033d7790 of 8 bytes by task 11530 on cpu 0: __fput+0x14e/0x6d0 fs/file_table.c:449 ____fput+0x1c/0x30 fs/file_table.c:478 task_work_run+0x13a/0x1a0 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xa8/0x120 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: 0xffffffff8569e598 -> 0xffffffff8569e430 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 11530 Comm: syz.2.1988 Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================