================================================================== BUG: KCSAN: data-race in kick_pool / wq_worker_running read-write to 0xffff888237c2eba4 of 4 bytes by task 1034 on cpu 0: wq_worker_running+0x98/0x130 kernel/workqueue.c:1400 schedule_timeout+0xca/0x2c0 kernel/time/timer.c:2615 schedule_timeout_uninterruptible kernel/time/timer.c:2649 [inline] msleep+0x4b/0x70 kernel/time/timer.c:2770 nsim_fib4_rt_add drivers/net/netdevsim/fib.c:369 [inline] nsim_fib4_rt_insert drivers/net/netdevsim/fib.c:432 [inline] nsim_fib4_event drivers/net/netdevsim/fib.c:464 [inline] nsim_fib_event drivers/net/netdevsim/fib.c:884 [inline] nsim_fib_event_work+0x13c7/0x2270 drivers/net/netdevsim/fib.c:1493 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 0xffff888237c2eba4 of 4 bytes by task 35 on cpu 1: 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 srcu_queue_delayed_work_on kernel/rcu/srcutree.c:805 [inline] srcu_schedule_cbs_sdp kernel/rcu/srcutree.c:818 [inline] srcu_gp_end kernel/rcu/srcutree.c:885 [inline] srcu_advance_state kernel/rcu/srcutree.c:1714 [inline] process_srcu+0x707/0xaf0 kernel/rcu/srcutree.c:1818 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 value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 35 Comm: kworker/1:1 Not tainted 6.12.0-syzkaller-00171-g23acd177540d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: rcu_gp process_srcu ==================================================================