================================================================== BUG: KCSAN: data-race in bpf_lru_pop_free / htab_lru_map_update_elem write to 0xffff88812a7c3823 of 1 bytes by task 20625 on cpu 1: bpf_lru_node_set_ref kernel/bpf/bpf_lru_list.h:70 [inline] htab_lru_map_update_elem+0x46e/0x770 kernel/bpf/hashtab.c:1172 bpf_map_update_value+0x1b9/0x2f0 kernel/bpf/syscall.c:223 generic_map_update_batch+0x364/0x4c0 kernel/bpf/syscall.c:1411 bpf_map_do_batch+0x33e/0x3a0 __sys_bpf+0x9b4/0xa3c0 __do_sys_bpf kernel/bpf/syscall.c:4741 [inline] __se_sys_bpf kernel/bpf/syscall.c:4739 [inline] __x64_sys_bpf+0x3f/0x50 kernel/bpf/syscall.c:4739 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88812a7c3823 of 1 bytes by task 20645 on cpu 0: bpf_lru_node_is_ref kernel/bpf/bpf_lru_list.c:44 [inline] __local_list_pop_pending kernel/bpf/bpf_lru_list.c:384 [inline] bpf_common_lru_pop_free kernel/bpf/bpf_lru_list.c:476 [inline] bpf_lru_pop_free+0xb79/0xef0 kernel/bpf/bpf_lru_list.c:499 prealloc_lru_pop kernel/bpf/hashtab.c:290 [inline] htab_lru_map_update_elem+0xb7/0x770 kernel/bpf/hashtab.c:1151 bpf_map_update_value+0x1b9/0x2f0 kernel/bpf/syscall.c:223 generic_map_update_batch+0x364/0x4c0 kernel/bpf/syscall.c:1411 bpf_map_do_batch+0x33e/0x3a0 __sys_bpf+0x9b4/0xa3c0 __do_sys_bpf kernel/bpf/syscall.c:4741 [inline] __se_sys_bpf kernel/bpf/syscall.c:4739 [inline] __x64_sys_bpf+0x3f/0x50 kernel/bpf/syscall.c:4739 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 20645 Comm: syz-executor.5 Not tainted 5.17.0-rc5-syzkaller-00189-g53ab78cd6d5a-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================