================================================================== BUG: KCSAN: data-race in __queue_work / wq_worker_running read-write to 0xffff888237d2d164 of 4 bytes by task 32135 on cpu 1: wq_worker_running+0x98/0x120 kernel/workqueue.c:1265 schedule_timeout+0xcc/0x230 kernel/time/timer.c:2183 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common+0xfa/0x1b0 kernel/sched/completion.c:127 usb_start_wait_urb+0xdc/0x190 drivers/usb/core/message.c:64 usb_internal_control_msg drivers/usb/core/message.c:103 [inline] usb_control_msg+0x182/0x240 drivers/usb/core/message.c:154 get_port_status drivers/usb/core/hub.c:604 [inline] hub_ext_port_status+0xb4/0x380 drivers/usb/core/hub.c:621 usb_hub_port_status drivers/usb/core/hub.c:643 [inline] hub_port_debounce+0x1a8/0x210 drivers/usb/core/hub.c:4619 hub_port_debounce_be_stable drivers/usb/core/hub.h:181 [inline] hub_port_connect drivers/usb/core/hub.c:5335 [inline] hub_port_connect_change drivers/usb/core/hub.c:5623 [inline] port_event drivers/usb/core/hub.c:5783 [inline] hub_event+0x1518/0x2920 drivers/usb/core/hub.c:5865 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x5b8/0xa40 kernel/workqueue.c:2706 worker_thread+0x525/0x730 kernel/workqueue.c:2787 kthread+0x1d7/0x210 kernel/kthread.c:388 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:243 read to 0xffff888237d2d164 of 4 bytes by task 32484 on cpu 0: need_more_worker kernel/workqueue.c:835 [inline] kick_pool kernel/workqueue.c:1118 [inline] __queue_work+0x7ce/0xbb0 kernel/workqueue.c:1803 queue_work_on+0x95/0xf0 kernel/workqueue.c:1837 wg_queue_enqueue_per_peer_tx+0x127/0x270 drivers/net/wireguard/queueing.h:188 wg_packet_encrypt_worker+0x885/0xa30 drivers/net/wireguard/send.c:305 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x5b8/0xa40 kernel/workqueue.c:2706 worker_thread+0x525/0x730 kernel/workqueue.c:2787 kthread+0x1d7/0x210 kernel/kthread.c:388 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:243 value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 32484 Comm: kworker/0:4 Not tainted 6.8.0-rc5-syzkaller-00381-g70ff1fe626a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: wg-crypt-wg0 wg_packet_encrypt_worker ==================================================================