================================================================== BUG: KCSAN: data-race in __queue_work / wq_worker_running read-write to 0xffff888237c2d164 of 4 bytes by task 3166 on cpu 0: wq_worker_running+0x98/0x120 kernel/workqueue.c:1265 schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:6874 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x368/0x8d0 kernel/locking/mutex.c:752 __mutex_lock_slowpath+0xa/0x10 kernel/locking/mutex.c:1040 mutex_lock+0x28/0x30 kernel/locking/mutex.c:286 nf_ct_iterate_cleanup+0x2c/0x3e0 net/netfilter/nf_conntrack_core.c:2405 nf_ct_iterate_cleanup_net+0x8a/0xa0 net/netfilter/nf_conntrack_core.c:2427 iterate_cleanup_work+0x66/0x120 net/netfilter/nf_nat_masquerade.c:87 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:242 read to 0xffff888237c2d164 of 4 bytes by task 3172 on cpu 1: 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 srcu_queue_delayed_work_on kernel/rcu/srcutree.c:799 [inline] srcu_schedule_cbs_sdp kernel/rcu/srcutree.c:812 [inline] srcu_gp_end kernel/rcu/srcutree.c:880 [inline] srcu_advance_state kernel/rcu/srcutree.c:1691 [inline] process_srcu+0x707/0xae0 kernel/rcu/srcutree.c:1795 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:242 value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3172 Comm: kworker/1:6 Not tainted 6.8.0-rc5-syzkaller-00002-gfca7526b7d89 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: rcu_gp process_srcu ==================================================================