================================================================== BUG: KCSAN: data-race in do_con_write / stop_tty write to 0xffff888146b4c5bc of 1 bytes by task 14042 on cpu 0: __stop_tty drivers/tty/tty_io.c:760 [inline] stop_tty+0x54/0xb0 drivers/tty/tty_io.c:784 n_tty_receive_char_special drivers/tty/n_tty.c:1234 [inline] n_tty_receive_buf_standard drivers/tty/n_tty.c:1530 [inline] __receive_buf drivers/tty/n_tty.c:1549 [inline] n_tty_receive_buf_common+0x110d/0x4e70 drivers/tty/n_tty.c:1645 n_tty_receive_buf+0x2b/0x40 drivers/tty/n_tty.c:1674 tiocsti drivers/tty/tty_io.c:2293 [inline] tty_ioctl+0x978/0x1130 drivers/tty/tty_io.c:2692 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:860 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888146b4c5bc of 1 bytes by task 14032 on cpu 1: do_con_write+0x2055/0x5f40 drivers/tty/vt/vt.c:2931 con_write+0x20/0x40 drivers/tty/vt/vt.c:3295 n_tty_write+0x39b/0xaf0 drivers/tty/n_tty.c:2271 do_tty_write drivers/tty/tty_io.c:1024 [inline] file_tty_write+0x409/0x660 drivers/tty/tty_io.c:1095 tty_write+0x24/0x30 drivers/tty/tty_io.c:1116 call_write_iter include/linux/fs.h:2074 [inline] new_sync_write fs/read_write.c:503 [inline] vfs_write+0x7f5/0x950 fs/read_write.c:590 ksys_write+0xd9/0x190 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0x3e/0x50 fs/read_write.c:652 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 14032 Comm: syz-executor.4 Not tainted 5.17.0-rc7-syzkaller-00205-g79b00034e9dc-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================