================================================================== BUG: KCSAN: data-race in console_flush_all / console_flush_all write to 0xffffffff86a21178 of 8 bytes by task 22141 on cpu 0: console_emit_next_record kernel/printk/printk.c:3099 [inline] console_flush_all+0x35a/0x730 kernel/printk/printk.c:3226 __console_flush_and_unlock kernel/printk/printk.c:3285 [inline] console_unlock+0xa1/0x330 kernel/printk/printk.c:3325 vprintk_emit+0x388/0x650 kernel/printk/printk.c:2450 vprintk_default+0x26/0x30 kernel/printk/printk.c:2465 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82 _printk+0x79/0xa0 kernel/printk/printk.c:2475 caif_disconnect_client+0x13d/0x150 net/caif/cfcnfg.c:194 caif_release+0xec/0x230 net/caif/caif_socket.c:918 __sock_release net/socket.c:647 [inline] sock_close+0x68/0x150 net/socket.c:1391 __fput+0x298/0x650 fs/file_table.c:465 ____fput+0x1c/0x30 fs/file_table.c:493 task_work_run+0x131/0x1a0 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x483/0x1590 kernel/exit.c:964 do_group_exit+0xff/0x140 kernel/exit.c:1105 get_signal+0xe59/0xf70 kernel/signal.c:3034 arch_do_signal_or_restart+0x96/0x480 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x7a/0x100 kernel/entry/common.c:111 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x1d6/0x200 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffffff86a21178 of 8 bytes by task 22140 on cpu 1: console_flush_all+0x563/0x730 kernel/printk/printk.c:3227 __console_flush_and_unlock kernel/printk/printk.c:3285 [inline] console_unlock+0xa1/0x330 kernel/printk/printk.c:3325 con_install+0x26b/0x2a0 drivers/tty/vt/vt.c:3629 tty_driver_install_tty drivers/tty/tty_io.c:1295 [inline] tty_init_dev+0x79/0x330 drivers/tty/tty_io.c:1407 tty_open_by_driver drivers/tty/tty_io.c:2073 [inline] tty_open+0x6cc/0xaf0 drivers/tty/tty_io.c:2120 chrdev_open+0x2e8/0x3a0 fs/char_dev.c:414 do_dentry_open+0x646/0xa20 fs/open.c:964 vfs_open+0x37/0x1e0 fs/open.c:1094 do_open fs/namei.c:3896 [inline] path_openat+0x1c5e/0x2170 fs/namei.c:4055 do_filp_open+0x109/0x230 fs/namei.c:4082 do_sys_openat2+0xa6/0x110 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0xf2/0x120 fs/open.c:1463 x64_sys_call+0x1af/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000002963 -> 0x0000000000002964 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 22140 Comm: syz.4.6500 Tainted: G W 6.16.0-rc5-syzkaller-00053-g8c2e52ebbe88 #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 ==================================================================