================================================================== BUG: KCSAN: data-race in n_tty_receive_char_special / n_tty_receive_char_special write to 0xffffc900027cd000 of 8 bytes by task 15314 on cpu 0: eraser drivers/tty/n_tty.c:1035 [inline] n_tty_receive_char_special+0x13ac/0x1c10 drivers/tty/n_tty.c:1316 n_tty_receive_buf_standard drivers/tty/n_tty.c:1584 [inline] __receive_buf drivers/tty/n_tty.c:1646 [inline] n_tty_receive_buf_common+0x7ef/0x1b00 drivers/tty/n_tty.c:1742 n_tty_receive_buf2+0x3d/0x60 drivers/tty/n_tty.c:1777 tty_ldisc_receive_buf+0x71/0xf0 drivers/tty/tty_buffer.c:461 tty_port_default_receive_buf+0x87/0xd0 drivers/tty/tty_port.c:38 receive_buf drivers/tty/tty_buffer.c:481 [inline] flush_to_ldisc+0x1d5/0x260 drivers/tty/tty_buffer.c:533 process_one_work+0x413/0x8f0 kernel/workqueue.c:2264 worker_thread+0xa0/0x800 kernel/workqueue.c:2410 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 read to 0xffffc900027cd000 of 8 bytes by task 19856 on cpu 1: eraser drivers/tty/n_tty.c:1083 [inline] n_tty_receive_char_special+0x1510/0x1c10 drivers/tty/n_tty.c:1316 n_tty_receive_buf_standard drivers/tty/n_tty.c:1584 [inline] __receive_buf drivers/tty/n_tty.c:1646 [inline] n_tty_receive_buf_common+0x7ef/0x1b00 drivers/tty/n_tty.c:1742 n_tty_receive_buf+0x3a/0x50 drivers/tty/n_tty.c:1771 tiocsti drivers/tty/tty_io.c:2200 [inline] tty_ioctl+0xb75/0xe10 drivers/tty/tty_io.c:2576 vfs_ioctl fs/ioctl.c:47 [inline] ksys_ioctl+0x109/0x150 fs/ioctl.c:763 __do_sys_ioctl fs/ioctl.c:772 [inline] __se_sys_ioctl fs/ioctl.c:770 [inline] __x64_sys_ioctl+0x4c/0x60 fs/ioctl.c:770 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 19856 Comm: syz-executor.1 Not tainted 5.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================