BUG: KCSAN: data-race in __stop_tty / do_con_write write to 0xffff88814f8231bc of 1 bytes by task 3230 on cpu 0: __stop_tty+0x42/0x90 n_tty_ioctl_helper+0x21f/0x240 n_tty_ioctl+0xfd/0x200 tty_ioctl+0x86f/0xbc0 __se_sys_ioctl+0xc9/0x140 __x64_sys_ioctl+0x43/0x50 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff88814f8231bc of 1 bytes by task 3217 on cpu 1: do_con_write+0x1459/0x35d0 con_write+0x24/0x40 n_tty_write+0x76b/0xa80 file_tty_write+0x3a0/0x600 tty_write+0x28/0x30 vfs_write+0x45a/0x750 ksys_write+0xeb/0x1a0 __x64_sys_write+0x42/0x50 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x00 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3217 Comm: syz-executor.0 Tainted: G W 6.2.0-rc7-syzkaller-00011-g05ecb680708a-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 ==================================================================