================================================================== BUG: KCSAN: data-race in __bpf_lru_list_rotate / __htab_lru_percpu_map_update_elem write to 0xffff88813fb820a3 of 1 bytes by task 1241 on cpu 1: bpf_lru_node_set_ref kernel/bpf/bpf_lru_list.h:71 [inline] __htab_lru_percpu_map_update_elem+0x431/0x920 kernel/bpf/hashtab.c:1314 bpf_percpu_hash_update+0x5a/0x90 kernel/bpf/hashtab.c:2284 bpf_map_update_value+0x1dd/0x2f0 kernel/bpf/syscall.c:200 generic_map_update_batch+0x36e/0x4d0 kernel/bpf/syscall.c:1657 bpf_map_do_batch+0x373/0x3d0 __sys_bpf+0x5b7/0x630 __do_sys_bpf kernel/bpf/syscall.c:5058 [inline] __se_sys_bpf kernel/bpf/syscall.c:5056 [inline] __x64_sys_bpf+0x3f/0x50 kernel/bpf/syscall.c:5056 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 read to 0xffff88813fb820a3 of 1 bytes by task 1238 on cpu 0: bpf_lru_node_is_ref kernel/bpf/bpf_lru_list.c:44 [inline] __bpf_lru_list_rotate_inactive kernel/bpf/bpf_lru_list.c:190 [inline] __bpf_lru_list_rotate+0x55f/0x7b0 kernel/bpf/bpf_lru_list.c:242 bpf_percpu_lru_pop_free kernel/bpf/bpf_lru_list.c:412 [inline] bpf_lru_pop_free+0x87/0xe90 kernel/bpf/bpf_lru_list.c:497 prealloc_lru_pop kernel/bpf/hashtab.c:310 [inline] __htab_lru_percpu_map_update_elem+0xec/0x920 kernel/bpf/hashtab.c:1298 bpf_percpu_hash_update+0x5a/0x90 kernel/bpf/hashtab.c:2284 bpf_map_update_value+0x1dd/0x2f0 kernel/bpf/syscall.c:200 generic_map_update_batch+0x36e/0x4d0 kernel/bpf/syscall.c:1657 bpf_map_do_batch+0x373/0x3d0 __sys_bpf+0x5b7/0x630 __do_sys_bpf kernel/bpf/syscall.c:5058 [inline] __se_sys_bpf kernel/bpf/syscall.c:5056 [inline] __x64_sys_bpf+0x3f/0x50 kernel/bpf/syscall.c:5056 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: 0x00 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 1238 Comm: syz-executor.0 Tainted: G W 5.19.0-syzkaller-10895-g6614a3c3164a-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 ==================================================================