================================================================== BUG: KCSAN: data-race in kick_pool / wq_worker_running read-write to 0xffff888237d2e8a4 of 4 bytes by task 3398 on cpu 1: wq_worker_running+0x98/0x130 kernel/workqueue.c:1400 schedule_timeout+0xb8/0x160 kernel/time/sleep_timeout.c:99 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common+0xfb/0x1c0 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+0xbf/0x480 drivers/usb/core/hub.c:621 usb_hub_port_status drivers/usb/core/hub.c:671 [inline] port_event drivers/usb/core/hub.c:5714 [inline] hub_event+0x538/0x2910 drivers/usb/core/hub.c:5903 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3310 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3391 kthread+0x1d1/0x210 kernel/kthread.c:389 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 read to 0xffff888237d2e8a4 of 4 bytes by interrupt on cpu 0: need_more_worker kernel/workqueue.c:934 [inline] kick_pool+0x4d/0x2c0 kernel/workqueue.c:1240 __queue_work+0x8bb/0xb40 kernel/workqueue.c:2340 queue_work_on+0xd3/0x180 kernel/workqueue.c:2390 wg_queue_enqueue_per_device_and_peer drivers/net/wireguard/queueing.h:176 [inline] wg_packet_create_data drivers/net/wireguard/send.c:320 [inline] wg_packet_send_staged_packets+0x83c/0xac0 drivers/net/wireguard/send.c:388 wg_xmit+0x5ca/0x6b0 drivers/net/wireguard/device.c:218 __netdev_start_xmit include/linux/netdevice.h:5002 [inline] netdev_start_xmit include/linux/netdevice.h:5011 [inline] xmit_one net/core/dev.c:3590 [inline] dev_hard_start_xmit+0x119/0x3f0 net/core/dev.c:3606 __dev_queue_xmit+0x100a/0x2090 net/core/dev.c:4434 dev_queue_xmit include/linux/netdevice.h:3168 [inline] neigh_connected_output+0x247/0x2b0 net/core/neighbour.c:1543 neigh_output include/net/neighbour.h:539 [inline] ip6_finish_output2+0xa65/0xd00 net/ipv6/ip6_output.c:141 ip6_finish_output+0x438/0x540 net/ipv6/ip6_output.c:226 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip6_output+0xf5/0x230 net/ipv6/ip6_output.c:247 dst_output include/net/dst.h:450 [inline] NF_HOOK include/linux/netfilter.h:314 [inline] ndisc_send_skb+0x4d0/0x700 net/ipv6/ndisc.c:511 ndisc_send_rs+0x3bb/0x400 net/ipv6/ndisc.c:721 addrconf_rs_timer+0x1de/0x310 net/ipv6/addrconf.c:4061 call_timer_fn+0x3a/0x300 kernel/time/timer.c:1793 expire_timers kernel/time/timer.c:1844 [inline] __run_timers kernel/time/timer.c:2418 [inline] __run_timer_base+0x417/0x640 kernel/time/timer.c:2430 run_timer_base kernel/time/timer.c:2439 [inline] run_timer_softirq+0x31/0x70 kernel/time/timer.c:2449 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0x3a/0xc0 kernel/softirq.c:662 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x73/0x80 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 console_flush_all+0x56b/0x770 __console_flush_and_unlock kernel/printk/printk.c:3269 [inline] console_unlock+0xab/0x330 kernel/printk/printk.c:3309 vprintk_emit+0x3f4/0x680 kernel/printk/printk.c:2432 vprintk_default+0x26/0x30 kernel/printk/printk.c:2447 vprintk+0x75/0x80 kernel/printk/printk_safe.c:86 _printk+0x7a/0xa0 kernel/printk/printk.c:2457 kauditd_printk_skb kernel/audit.c:546 [inline] kauditd_hold_skb+0x1a3/0x1b0 kernel/audit.c:581 kauditd_send_queue+0x288/0x2e0 kernel/audit.c:766 kauditd_thread+0x42a/0x650 kernel/audit.c:890 kthread+0x1d1/0x210 kernel/kthread.c:389 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 29 Comm: kauditd Not tainted 6.13.0-rc2-syzkaller-00192-g243f750a2df0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================