================================================================== BUG: KCSAN: assert: race in __block_task kernel/sched/sched.h:2773 [inline] BUG: KCSAN: assert: race in dequeue_entities+0x6df/0x760 kernel/sched/fair.c:7180 race at unknown origin, with assert no writes to 0xffff8881001cb1e8 of 4 bytes by task 11437 on cpu 0: __block_task kernel/sched/sched.h:2773 [inline] dequeue_entities+0x6df/0x760 kernel/sched/fair.c:7180 pick_next_entity kernel/sched/fair.c:5627 [inline] pick_task_fair kernel/sched/fair.c:8859 [inline] pick_next_task_fair+0x7d/0x410 kernel/sched/fair.c:8879 __pick_next_task kernel/sched/core.c:5968 [inline] pick_next_task kernel/sched/core.c:6490 [inline] __schedule+0x284/0x940 kernel/sched/core.c:6644 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x55/0xc0 kernel/sched/core.c:6782 synchronize_rcu_expedited+0x611/0x7a0 kernel/rcu/tree_exp.h:991 synchronize_rcu+0x46/0x320 kernel/rcu/tree.c:4095 bpf_dispatcher_update kernel/bpf/dispatcher.c:131 [inline] bpf_dispatcher_change_prog+0x7c5/0x830 kernel/bpf/dispatcher.c:167 bpf_prog_change_xdp+0x24/0x30 net/core/filter.c:11693 bpf_prog_test_run_xdp+0x491/0x8b0 net/bpf/test_run.c:1315 bpf_prog_test_run+0x20f/0x3a0 kernel/bpf/syscall.c:4266 __sys_bpf+0x400/0x7a0 kernel/bpf/syscall.c:5671 __do_sys_bpf kernel/bpf/syscall.c:5760 [inline] __se_sys_bpf kernel/bpf/syscall.c:5758 [inline] __x64_sys_bpf+0x43/0x50 kernel/bpf/syscall.c:5758 x64_sys_call+0x2625/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:322 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 11437 Comm: syz.6.11020 Not tainted 6.12.0-rc5-syzkaller-00299-g11066801dd4b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================