================================================================== BUG: KCSAN: data-race in __tty_hangup / do_dentry_open write to 0xffff8881043c5028 of 8 bytes by task 20685 on cpu 1: __tty_hangup+0x22a/0x5b0 drivers/tty/tty_io.c:628 tty_vhangup drivers/tty/tty_io.c:707 [inline] tty_ioctl+0x49f/0x970 drivers/tty/tty_io.c:2718 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:856 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff8881043c5028 of 8 bytes by task 20698 on cpu 0: do_dentry_open+0x5c2/0x8b0 fs/open.c:886 vfs_open+0x43/0x50 fs/open.c:1014 do_open fs/namei.c:3557 [inline] path_openat+0x169d/0x1b00 fs/namei.c:3691 do_filp_open+0x105/0x220 fs/namei.c:3718 do_sys_openat2+0xb5/0x2a0 fs/open.c:1311 do_sys_open fs/open.c:1327 [inline] __do_sys_openat fs/open.c:1343 [inline] __se_sys_openat fs/open.c:1338 [inline] __x64_sys_openat+0xef/0x110 fs/open.c:1338 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0xffffffff850b9640 -> 0xffffffff850b9538 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 20698 Comm: syz-executor.1 Not tainted 6.0.0-rc3-syzkaller-00107-g42e66b1cc3a0-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 ==================================================================