================================================================== BUG: KCSAN: data-race in _prb_read_valid / prb_reserve write to 0xffffffff86737678 of 8 bytes by task 1994 on cpu 0: prb_reserve+0x740/0xb60 vprintk_store+0x53f/0x810 kernel/printk/printk.c:2301 vprintk_emit+0x15e/0x680 kernel/printk/printk.c:2383 dev_vprintk_emit+0x1df/0x210 drivers/base/core.c:4945 dev_printk_emit+0x82/0xb0 drivers/base/core.c:4956 __dev_printk+0xf6/0x110 drivers/base/core.c:4968 _dev_info+0x99/0xc0 drivers/base/core.c:5014 attach_store+0x5e9/0x680 drivers/usb/usbip/vhci_sysfs.c:439 dev_attr_store+0x47/0x70 drivers/base/core.c:2447 sysfs_kf_write+0xae/0xd0 fs/sysfs/file.c:136 kernfs_fop_write_iter+0x1c8/0x2c0 fs/kernfs/file.c:334 new_sync_write fs/read_write.c:590 [inline] vfs_write+0x77f/0x920 fs/read_write.c:683 ksys_write+0xeb/0x1b0 fs/read_write.c:736 __do_sys_write fs/read_write.c:748 [inline] __se_sys_write fs/read_write.c:745 [inline] __x64_sys_write+0x42/0x50 fs/read_write.c:745 x64_sys_call+0x27dd/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffffff86737678 of 8 bytes by task 3005 on cpu 1: desc_read kernel/printk/printk_ringbuffer.c:486 [inline] prb_first_seq kernel/printk/printk_ringbuffer.c:1957 [inline] _prb_read_valid+0x3bb/0xba0 kernel/printk/printk_ringbuffer.c:2114 prb_read_valid+0x3d/0x60 kernel/printk/printk_ringbuffer.c:2182 syslog_print+0x26f/0x760 kernel/printk/printk.c:1631 do_syslog+0x397/0x7e0 kernel/printk/printk.c:1766 __do_sys_syslog kernel/printk/printk.c:1858 [inline] __se_sys_syslog kernel/printk/printk.c:1856 [inline] __x64_sys_syslog+0x43/0x50 kernel/printk/printk.c:1856 x64_sys_call+0x1677/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:104 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000003db1 -> 0x0000000000005db1 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3005 Comm: klogd Tainted: G W 6.12.0-rc5-syzkaller-00330-ga33ab3f94f51 #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================