================================================================== BUG: KCSAN: data-race in __bpf_lru_list_rotate / __htab_lru_percpu_map_update_elem write to 0xffff88806ec1596b of 1 bytes by task 25034 on cpu 1: bpf_lru_node_set_ref kernel/bpf/bpf_lru_list.h:70 [inline] __htab_lru_percpu_map_update_elem+0x6ea/0xa30 kernel/bpf/hashtab.c:1180 bpf_percpu_hash_update+0x5a/0x90 kernel/bpf/hashtab.c:1713 bpf_map_update_value+0x1d8/0x320 kernel/bpf/syscall.c:172 generic_map_update_batch+0x336/0x450 kernel/bpf/syscall.c:1342 bpf_map_do_batch+0x286/0x2f0 kernel/bpf/syscall.c:3838 __do_sys_bpf+0xb00/0x98a0 kernel/bpf/syscall.c:4181 __se_sys_bpf kernel/bpf/syscall.c:4075 [inline] __x64_sys_bpf+0x3d/0x50 kernel/bpf/syscall.c:4075 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88806ec1596b of 1 bytes by task 25022 on cpu 0: bpf_lru_node_is_ref kernel/bpf/bpf_lru_list.c:44 [inline] __bpf_lru_list_rotate_active kernel/bpf/bpf_lru_list.c:148 [inline] __bpf_lru_list_rotate+0xce/0x7b0 kernel/bpf/bpf_lru_list.c:240 bpf_lru_list_pop_free_to_local kernel/bpf/bpf_lru_list.c:329 [inline] bpf_common_lru_pop_free kernel/bpf/bpf_lru_list.c:447 [inline] bpf_lru_pop_free+0x7b7/0xeb0 kernel/bpf/bpf_lru_list.c:499 prealloc_lru_pop kernel/bpf/hashtab.c:237 [inline] __htab_lru_percpu_map_update_elem+0xd0/0xa30 kernel/bpf/hashtab.c:1166 bpf_percpu_hash_update+0x5a/0x90 kernel/bpf/hashtab.c:1713 bpf_map_update_value+0x1d8/0x320 kernel/bpf/syscall.c:172 generic_map_update_batch+0x336/0x450 kernel/bpf/syscall.c:1342 bpf_map_do_batch+0x286/0x2f0 kernel/bpf/syscall.c:3838 __do_sys_bpf+0xb00/0x98a0 kernel/bpf/syscall.c:4181 __se_sys_bpf kernel/bpf/syscall.c:4075 [inline] __x64_sys_bpf+0x3d/0x50 kernel/bpf/syscall.c:4075 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 25022 Comm: syz-executor.4 Not tainted 5.8.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================