================================================================== BUG: KCSAN: data-race in pcpu_alloc / pcpu_balance_workfn read-write to 0xffffffff86ef831c of 4 bytes by task 3191 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+0x94c/0xa50 mm/percpu.c:2238 process_one_work kernel/workqueue.c:2627 [inline] process_scheduled_works+0x5b8/0xa30 kernel/workqueue.c:2700 worker_thread+0x525/0x730 kernel/workqueue.c:2781 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 0xffffffff86ef831c of 4 bytes by task 13806 on cpu 0: pcpu_alloc+0x9bc/0x10b0 mm/percpu.c:1868 __alloc_percpu_gfp+0x26/0x30 mm/percpu.c:1930 bpf_map_alloc_percpu+0xaa/0x200 kernel/bpf/syscall.c:467 prealloc_init+0x19f/0x470 kernel/bpf/hashtab.c:337 htab_map_alloc+0x715/0x9e0 kernel/bpf/hashtab.c:568 map_create+0x713/0xa40 kernel/bpf/syscall.c:1210 __sys_bpf+0x62a/0x780 kernel/bpf/syscall.c:5365 __do_sys_bpf kernel/bpf/syscall.c:5487 [inline] __se_sys_bpf kernel/bpf/syscall.c:5485 [inline] __x64_sys_bpf+0x43/0x50 kernel/bpf/syscall.c:5485 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x00000001 -> 0x00000004 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 13806 Comm: syz-executor.2 Tainted: G W 6.7.0-rc8-syzkaller-00177-g52b1853b080a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ==================================================================