================================================================== BUG: KCSAN: data-race in _prb_read_valid / prb_reserve write to 0xffffffff86ae5020 of 88 bytes by task 2039 on cpu 1: prb_reserve+0x695/0xaf0 kernel/printk/printk_ringbuffer.c:1651 vprintk_store+0x56d/0x860 kernel/printk/printk.c:2299 vprintk_emit+0x10d/0x580 kernel/printk/printk.c:2399 vprintk_default+0x26/0x30 kernel/printk/printk.c:2438 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82 _printk+0x79/0xa0 kernel/printk/printk.c:2448 __ext4_msg+0x18f/0x1a0 fs/ext4/super.c:990 ext4_put_super+0x90/0x7d0 fs/ext4/super.c:1295 generic_shutdown_super+0xe6/0x210 fs/super.c:642 kill_block_super+0x2a/0x70 fs/super.c:1722 ext4_kill_sb+0x42/0x80 fs/ext4/super.c:7403 deactivate_locked_super+0x75/0x1c0 fs/super.c:473 deactivate_super+0x97/0xa0 fs/super.c:506 cleanup_mnt+0x269/0x2e0 fs/namespace.c:1327 __cleanup_mnt+0x19/0x20 fs/namespace.c:1334 task_work_run+0x131/0x1a0 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xed/0x110 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x1d6/0x200 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffffff86ae5020 of 8 bytes by task 2029 on cpu 0: desc_read kernel/printk/printk_ringbuffer.c:483 [inline] prb_first_seq kernel/printk/printk_ringbuffer.c:1975 [inline] _prb_read_valid+0x383/0x920 kernel/printk/printk_ringbuffer.c:2132 prb_read_valid+0x3c/0x60 kernel/printk/printk_ringbuffer.c:2203 printk_get_next_message+0xc8/0x510 kernel/printk/printk.c:2978 console_emit_next_record kernel/printk/printk.c:3065 [inline] console_flush_all+0x290/0x6a0 kernel/printk/printk.c:3199 __console_flush_and_unlock kernel/printk/printk.c:3258 [inline] console_unlock+0xa1/0x2e0 kernel/printk/printk.c:3298 class_console_lock_destructor include/linux/console.h:669 [inline] do_con_write+0x28df/0x2940 drivers/tty/vt/vt.c:3243 con_put_char+0x38/0x60 drivers/tty/vt/vt.c:3573 tty_put_char+0x68/0xc0 drivers/tty/tty_io.c:3153 do_output_char+0x4de/0x500 drivers/tty/n_tty.c:463 process_output drivers/tty/n_tty.c:486 [inline] n_tty_write+0x869/0xb40 drivers/tty/n_tty.c:2388 iterate_tty_write drivers/tty/tty_io.c:1006 [inline] file_tty_write+0x378/0x690 drivers/tty/tty_io.c:1081 tty_write+0x25/0x30 drivers/tty/tty_io.c:1102 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x52a/0x960 fs/read_write.c:686 ksys_write+0xda/0x1a0 fs/read_write.c:738 __do_sys_write fs/read_write.c:749 [inline] __se_sys_write fs/read_write.c:746 [inline] __x64_sys_write+0x40/0x50 fs/read_write.c:746 x64_sys_call+0x2802/0x3000 arch/x86/include/generated/asm/syscalls_64.h:2 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: 0x0000000000002dfa -> 0x0000000000004dfa Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 2029 Comm: syz.1.10678 Tainted: G W syzkaller #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 ==================================================================