================================================================== BUG: KCSAN: data-race in console_lock / printk_kthread_func write to 0xffffffff85bee448 of 1 bytes by task 9219 on cpu 0: console_kthreads_block kernel/printk/printk.c:318 [inline] console_lock+0x65/0xd0 kernel/printk/printk.c:2713 vcs_write+0x8f/0xc20 drivers/tty/vt/vc_screen.c:614 do_iter_write+0x337/0x5c0 fs/read_write.c:870 vfs_writev fs/read_write.c:941 [inline] do_pwritev+0x235/0x430 fs/read_write.c:1038 __do_sys_pwritev fs/read_write.c:1085 [inline] __se_sys_pwritev fs/read_write.c:1080 [inline] __x64_sys_pwritev+0x54/0x60 fs/read_write.c:1080 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 0xffffffff85bee448 of 1 bytes by task 14 on cpu 1: printer_should_wake kernel/printk/printk.c:3731 [inline] printk_kthread_func+0x401/0xb60 kernel/printk/printk.c:3795 kthread+0x1a9/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 value changed: 0x00 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 14 Comm: pr/ttyS0 Not tainted 5.19.0-rc1-syzkaller-00011-g9886142c7a22-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================