================================================================== BUG: KCSAN: data-race in __tty_hangup / do_dentry_open write to 0xffff888103fc9b28 of 8 bytes by task 5318 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+0x46/0xb0 read to 0xffff888103fc9b28 of 8 bytes by task 5319 on cpu 0: do_dentry_open+0x5c5/0x850 fs/open.c:856 vfs_open+0x43/0x50 fs/open.c:981 do_open fs/namei.c:3520 [inline] path_openat+0x16cf/0x1b30 fs/namei.c:3653 do_filp_open+0x105/0x220 fs/namei.c:3680 do_sys_openat2+0xb5/0x2a0 fs/open.c:1278 do_sys_open fs/open.c:1294 [inline] __do_sys_openat fs/open.c:1310 [inline] __se_sys_openat fs/open.c:1305 [inline] __x64_sys_openat+0xef/0x110 fs/open.c:1305 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+0x46/0xb0 value changed: 0xffffffff84eb7fd0 -> 0xffffffff84eb7ec8 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 5319 Comm: syz-executor.0 Not tainted 5.19.0-rc1-syzkaller-00243-ga32e7ea36235-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================