================================================================== BUG: KCSAN: data-race in pcpu_alloc / pcpu_balance_workfn read-write to 0xffffffff86f02674 of 4 bytes by task 3223 on cpu 1: pcpu_update_empty_pages mm/percpu.c:602 [inline] pcpu_chunk_populated mm/percpu.c:1531 [inline] pcpu_balance_populated mm/percpu.c:2088 [inline] pcpu_balance_workfn+0xa38/0xb70 mm/percpu.c:2238 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289 worker_thread+0x618/0xa70 kernel/workqueue.c:2436 kthread+0x1a9/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 read to 0xffffffff86f02674 of 4 bytes by task 4130 on cpu 0: pcpu_alloc+0x91d/0xf60 mm/percpu.c:1870 __alloc_percpu_gfp+0x22/0x30 mm/percpu.c:1930 bpf_map_alloc_percpu+0xbd/0x200 kernel/bpf/syscall.c:481 prealloc_init kernel/bpf/hashtab.c:322 [inline] htab_map_alloc+0x863/0xd70 kernel/bpf/hashtab.c:555 find_and_alloc_map kernel/bpf/syscall.c:131 [inline] map_create+0x38a/0x6f0 kernel/bpf/syscall.c:1123 __sys_bpf+0x28c/0x630 kernel/bpf/syscall.c:4951 __do_sys_bpf kernel/bpf/syscall.c:5073 [inline] __se_sys_bpf kernel/bpf/syscall.c:5071 [inline] __x64_sys_bpf+0x3f/0x50 kernel/bpf/syscall.c:5071 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x00000001 -> 0x00000004 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 4130 Comm: syz-executor.5 Tainted: G W 6.2.0-rc5-syzkaller-00013-g2475bf0250de-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 ==================================================================