================================================================== BUG: KCSAN: data-race in kick_pool / wq_worker_running read-write to 0xffff888237d29de4 of 4 bytes by task 3395 on cpu 1: wq_worker_running+0x95/0x120 kernel/workqueue.c:1406 schedule_timeout+0xb7/0x170 kernel/time/sleep_timeout.c:99 schedule_timeout_uninterruptible kernel/time/sleep_timeout.c:158 [inline] msleep+0x50/0x90 kernel/time/sleep_timeout.c:318 nsim_fib4_rt_replace drivers/net/netdevsim/fib.c:402 [inline] nsim_fib4_rt_insert drivers/net/netdevsim/fib.c:434 [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+0x2722/0x4790 drivers/net/netdevsim/fib.c:1493 process_one_work kernel/workqueue.c:3263 [inline] process_scheduled_works+0x4ce/0x9d0 kernel/workqueue.c:3346 worker_thread+0x582/0x770 kernel/workqueue.c:3427 kthread+0x489/0x510 kernel/kthread.c:463 ret_from_fork+0x122/0x1b0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 read to 0xffff888237d29de4 of 4 bytes by interrupt on cpu 0: need_more_worker kernel/workqueue.c:940 [inline] kick_pool+0x49/0x2d0 kernel/workqueue.c:1246 __queue_work+0x8cb/0xb50 kernel/workqueue.c:2342 queue_work_on+0xd1/0x160 kernel/workqueue.c:2392 wg_queue_enqueue_per_device_and_peer drivers/net/wireguard/queueing.h:171 [inline] wg_packet_create_data drivers/net/wireguard/send.c:320 [inline] wg_packet_send_staged_packets+0xa3c/0xce0 drivers/net/wireguard/send.c:388 wg_packet_send_keepalive+0xeb/0x100 drivers/net/wireguard/send.c:239 wg_expired_send_persistent_keepalive+0x3c/0x50 drivers/net/wireguard/timers.c:144 call_timer_fn+0x3b/0x2c0 kernel/time/timer.c:1747 expire_timers kernel/time/timer.c:1798 [inline] __run_timers kernel/time/timer.c:2372 [inline] __run_timer_base+0x415/0x610 kernel/time/timer.c:2384 run_timer_base kernel/time/timer.c:2393 [inline] run_timer_softirq+0x31/0x70 kernel/time/timer.c:2403 handle_softirqs+0xba/0x290 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x3a/0xc0 kernel/softirq.c:723 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0x74/0x80 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 console_trylock_spinning kernel/printk/printk.c:-1 [inline] vprintk_emit+0x3a4/0x580 kernel/printk/printk.c:2422 vprintk_default+0x26/0x30 kernel/printk/printk.c:2438 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82 _printk+0x79/0xa0 kernel/printk/printk.c:2448 __ext4_error_inode+0x2ca/0x3f0 fs/ext4/super.c:853 __ext4_mark_inode_dirty+0xbd/0x3f0 fs/ext4/inode.c:6491 __ext4_ext_dirty+0xdb/0x1f0 fs/ext4/extents.c:206 ext4_ext_insert_extent+0x13db/0x29b0 fs/ext4/extents.c:2192 ext4_ext_map_blocks+0x10b8/0x38a0 fs/ext4/extents.c:4404 ext4_map_create_blocks fs/ext4/inode.c:609 [inline] ext4_map_blocks+0x5ee/0xd00 fs/ext4/inode.c:811 ext4_getblk+0x114/0x510 fs/ext4/inode.c:978 ext4_bread+0x28/0x110 fs/ext4/inode.c:1041 ext4_quota_write+0x167/0x360 fs/ext4/super.c:7309 write_blk fs/quota/quota_tree.c:70 [inline] get_free_dqblk+0x20b/0x340 fs/quota/quota_tree.c:136 do_insert_tree+0x19a/0x9b0 fs/quota/quota_tree.c:347 do_insert_tree+0x753/0x9b0 fs/quota/quota_tree.c:402 do_insert_tree+0x753/0x9b0 fs/quota/quota_tree.c:402 do_insert_tree+0x753/0x9b0 fs/quota/quota_tree.c:402 dq_insert_tree fs/quota/quota_tree.c:432 [inline] qtree_write_dquot+0x2cb/0x300 fs/quota/quota_tree.c:451 v2_write_dquot+0xda/0x140 fs/quota/quota_v2.c:372 dquot_acquire+0x1c3/0x2b0 fs/quota/dquot.c:473 ext4_acquire_dquot+0x15f/0x200 fs/ext4/super.c:6941 dqget+0x535/0x8d0 fs/quota/dquot.c:980 __dquot_initialize+0x27f/0x7c0 fs/quota/dquot.c:1508 dquot_initialize+0x1a/0x30 fs/quota/dquot.c:1570 ext4_process_orphan+0x32/0x1c0 fs/ext4/orphan.c:325 ext4_orphan_cleanup+0x6a8/0xa00 fs/ext4/orphan.c:470 __ext4_fill_super fs/ext4/super.c:5617 [inline] ext4_fill_super+0x3483/0x3810 fs/ext4/super.c:5736 get_tree_bdev_flags+0x291/0x300 fs/super.c:1691 get_tree_bdev+0x1f/0x30 fs/super.c:1714 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5768 vfs_get_tree+0x57/0x1d0 fs/super.c:1751 fc_mount fs/namespace.c:1208 [inline] do_new_mount_fc fs/namespace.c:3651 [inline] do_new_mount+0x24d/0x660 fs/namespace.c:3727 path_mount+0x4a5/0xb70 fs/namespace.c:4037 do_mount fs/namespace.c:4050 [inline] __do_sys_mount fs/namespace.c:4238 [inline] __se_sys_mount+0x28c/0x2e0 fs/namespace.c:4215 __x64_sys_mount+0x67/0x80 fs/namespace.c:4215 x64_sys_call+0x2b51/0x3000 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 30797 Comm: syz.6.9339 Tainted: G W syzkaller #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 ==================================================================