================================================================== BUG: KCSAN: data-race in n_tty_kick_worker / n_tty_receive_buf_common write to 0xffffc90011ba905c of 1 bytes by task 10008 on cpu 0: n_tty_receive_buf_common+0x370/0x4e70 drivers/tty/n_tty.c:1664 n_tty_receive_buf2+0x2e/0x40 drivers/tty/n_tty.c:1709 tty_ldisc_receive_buf+0x5b/0xf0 drivers/tty/tty_buffer.c:471 paste_selection+0x215/0x300 drivers/tty/vt/selection.c:408 tioclinux+0xe5/0x450 drivers/tty/vt/vt.c:3204 vt_ioctl+0x27f/0x2150 drivers/tty/vt/vt_ioctl.c:762 tty_ioctl+0xa8e/0x11a0 drivers/tty/tty_io.c:2805 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/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffffc90011ba905c of 1 bytes by task 9478 on cpu 1: n_tty_kick_worker+0x2d/0x160 drivers/tty/n_tty.c:205 n_tty_read+0xee2/0x10c0 drivers/tty/n_tty.c:2222 iterate_tty_read drivers/tty/tty_io.c:868 [inline] tty_read+0x199/0x420 drivers/tty/tty_io.c:944 call_read_iter include/linux/fs.h:2157 [inline] new_sync_read fs/read_write.c:404 [inline] vfs_read+0x66c/0x750 fs/read_write.c:485 ksys_read+0xd9/0x190 fs/read_write.c:623 __do_sys_read fs/read_write.c:633 [inline] __se_sys_read fs/read_write.c:631 [inline] __x64_sys_read+0x3e/0x50 fs/read_write.c:631 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 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: 9478 Comm: agetty Not tainted 5.15.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================