================================================================== BUG: KCSAN: data-race in data_alloc / data_push_tail write to 0xffffffff88f13760 of 8 bytes by task 7 on cpu 0: data_alloc+0x205/0x2b0 kernel/printk/printk_ringbuffer.c:1071 prb_reserve+0x8f0/0xbc0 kernel/printk/printk_ringbuffer.c:1549 vprintk_store+0x3e9/0x9c0 kernel/printk/printk.c:2029 vprintk_emit+0xca/0x3e0 kernel/printk/printk.c:2081 dev_vprintk_emit+0x1c6/0x1ea drivers/base/core.c:4434 dev_printk_emit+0x6a/0x8c drivers/base/core.c:4445 __dev_printk+0xfa/0x103 drivers/base/core.c:4457 _dev_info+0x76/0x96 drivers/base/core.c:4503 hub_port_init+0x7d3/0x18d0 drivers/usb/core/hub.c:4647 hub_port_connect drivers/usb/core/hub.c:5155 [inline] hub_port_connect_change drivers/usb/core/hub.c:5363 [inline] port_event drivers/usb/core/hub.c:5509 [inline] hub_event+0x1a1e/0x2b60 drivers/usb/core/hub.c:5591 process_one_work+0x3e1/0x950 kernel/workqueue.c:2275 worker_thread+0x616/0xa70 kernel/workqueue.c:2421 kthread+0x20b/0x230 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 read to 0xffffffff88f13760 of 8 bytes by task 9622 on cpu 1: data_make_reusable kernel/printk/printk_ringbuffer.c:587 [inline] data_push_tail+0x125/0x460 kernel/printk/printk_ringbuffer.c:672 data_alloc+0xbc/0x2b0 kernel/printk/printk_ringbuffer.c:1043 prb_reserve+0x8f0/0xbc0 kernel/printk/printk_ringbuffer.c:1549 vprintk_store+0x3e9/0x9c0 kernel/printk/printk.c:2029 vprintk_emit+0xca/0x3e0 kernel/printk/printk.c:2081 dev_vprintk_emit+0x1c6/0x1ea drivers/base/core.c:4434 dev_printk_emit+0x6a/0x8c drivers/base/core.c:4445 __dev_printk+0xfa/0x103 drivers/base/core.c:4457 _dev_info+0x76/0x96 drivers/base/core.c:4503 hub_port_init+0x7d3/0x18d0 drivers/usb/core/hub.c:4647 hub_port_connect drivers/usb/core/hub.c:5155 [inline] hub_port_connect_change drivers/usb/core/hub.c:5363 [inline] port_event drivers/usb/core/hub.c:5509 [inline] hub_event+0x1a1e/0x2b60 drivers/usb/core/hub.c:5591 process_one_work+0x3e1/0x950 kernel/workqueue.c:2275 worker_thread+0x616/0xa70 kernel/workqueue.c:2421 kthread+0x20b/0x230 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 9622 Comm: kworker/1:5 Not tainted 5.12.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usb_hub_wq hub_event ==================================================================