================================================================== BUG: KCSAN: data-race in console_unlock / printer_should_wake write to 0xffffffff85bee448 of 1 bytes by task 16062 on cpu 1: console_kthreads_unblock kernel/printk/printk.c:339 [inline] __console_unlock kernel/printk/printk.c:2821 [inline] console_unlock+0x4d5/0x700 kernel/printk/printk.c:3078 con_install+0x26e/0x2b0 drivers/tty/vt/vt.c:3411 tty_driver_install_tty drivers/tty/tty_io.c:1307 [inline] tty_init_dev+0x76/0x330 drivers/tty/tty_io.c:1419 tty_open_by_driver drivers/tty/tty_io.c:2086 [inline] tty_open+0x6d8/0xb30 drivers/tty/tty_io.c:2133 chrdev_open+0x362/0x3d0 fs/char_dev.c:414 do_dentry_open+0x521/0x850 fs/open.c:848 vfs_open+0x43/0x50 fs/open.c:981 do_open fs/namei.c:3520 [inline] path_openat+0x16cf/0x1b30 fs/namei.c:3653 do_filp_open+0x105/0x220 fs/namei.c:3680 do_sys_openat2+0xb5/0x2a0 fs/open.c:1278 do_sys_open fs/open.c:1294 [inline] __do_sys_openat fs/open.c:1310 [inline] __se_sys_openat fs/open.c:1305 [inline] __x64_sys_openat+0xef/0x110 fs/open.c:1305 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 0: printer_should_wake+0x3d/0x1c0 kernel/printk/printk.c:3734 printk_kthread_func+0x486/0x940 kernel/printk/printk.c:3801 kthread+0x1a9/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 value changed: 0x01 -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 14 Comm: pr/ttyS0 Not tainted 5.19.0-rc3-syzkaller-00146-g92f20ff72066-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================