================================================================== BUG: KCSAN: data-race in bpf_lru_pop_free / htab_lru_map_update_elem write to 0xffff888103ed1b23 of 1 bytes by task 9474 on cpu 1: bpf_lru_node_set_ref kernel/bpf/bpf_lru_list.h:70 [inline] htab_lru_map_update_elem+0x440/0x730 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:1410 bpf_map_do_batch+0x33e/0x3a0 __sys_bpf+0x9b4/0xa3c0 __do_sys_bpf kernel/bpf/syscall.c:4738 [inline] __se_sys_bpf kernel/bpf/syscall.c:4736 [inline] __x64_sys_bpf+0x3f/0x50 kernel/bpf/syscall.c:4736 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 0xffff888103ed1b23 of 1 bytes by task 9485 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+0xb4/0x730 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:1410 bpf_map_do_batch+0x33e/0x3a0 __sys_bpf+0x9b4/0xa3c0 __do_sys_bpf kernel/bpf/syscall.c:4738 [inline] __se_sys_bpf kernel/bpf/syscall.c:4736 [inline] __x64_sys_bpf+0x3f/0x50 kernel/bpf/syscall.c:4736 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: 9485 Comm: syz-executor.0 Not tainted 5.17.0-rc2-syzkaller-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================