================================================================== BUG: KCSAN: data-race in kick_pool / wq_worker_running read-write to 0xffff888237d2e8a4 of 4 bytes by task 24 on cpu 1: wq_worker_running+0x98/0x130 kernel/workqueue.c:1400 schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:6905 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x3d5/0x8f0 kernel/locking/mutex.c:735 __mutex_lock_slowpath+0xa/0x10 kernel/locking/mutex.c:1025 mutex_lock+0x2d/0x40 kernel/locking/mutex.c:261 pcpu_balance_workfn+0x23/0xa60 mm/percpu.c:2208 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 task 10577 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 queue_work include/linux/workqueue.h:662 [inline] schedule_work include/linux/workqueue.h:723 [inline] pcpu_schedule_balance_work mm/percpu.c:204 [inline] pcpu_alloc_noprof+0x7f4/0x10b0 mm/percpu.c:1869 bpf_map_alloc_percpu+0xad/0x210 kernel/bpf/syscall.c:555 bpf_array_alloc_percpu kernel/bpf/arraymap.c:38 [inline] array_map_alloc+0x2aa/0x390 kernel/bpf/arraymap.c:152 map_create+0x850/0xb70 kernel/bpf/syscall.c:1442 __sys_bpf+0x667/0x7a0 kernel/bpf/syscall.c:5772 __do_sys_bpf kernel/bpf/syscall.c:5897 [inline] __se_sys_bpf kernel/bpf/syscall.c:5895 [inline] __x64_sys_bpf+0x43/0x50 kernel/bpf/syscall.c:5895 x64_sys_call+0x2914/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:322 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 10577 Comm: syz.4.3434 Not tainted 6.13.0-rc2-syzkaller-00036-g231825b2e1ff #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================