================================================================== BUG: KCSAN: data-race in __tmigr_cpu_activate / tmigr_handle_remote write to 0xffff888237c205dc of 1 bytes by task 0 on cpu 0: __tmigr_cpu_activate+0x55/0x200 kernel/time/timer_migration.c:676 tmigr_cpu_activate+0x8a/0xc0 kernel/time/timer_migration.c:699 timer_clear_idle+0x28/0x100 kernel/time/timer.c:2381 tick_nohz_restart_sched_tick+0x22/0x110 kernel/time/tick-sched.c:1095 tick_nohz_idle_update_tick kernel/time/tick-sched.c:1426 [inline] tick_nohz_idle_exit+0xfe/0x1d0 kernel/time/tick-sched.c:1469 do_idle+0x1ee/0x230 kernel/sched/idle.c:339 cpu_startup_entry+0x25/0x30 kernel/sched/idle.c:424 rest_init+0xef/0xf0 init/main.c:747 start_kernel+0x586/0x5e0 init/main.c:1105 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:507 x86_64_start_kernel+0x9a/0xa0 arch/x86/kernel/head64.c:488 common_startup_64+0x12c/0x137 read to 0xffff888237c205dc of 1 bytes by interrupt on cpu 1: tmigr_next_groupevt kernel/time/timer_migration.c:567 [inline] tmigr_next_expired_groupevt kernel/time/timer_migration.c:591 [inline] tmigr_handle_remote_up kernel/time/timer_migration.c:1014 [inline] __walk_groups kernel/time/timer_migration.c:533 [inline] tmigr_handle_remote+0x26e/0x940 kernel/time/timer_migration.c:1080 run_timer_softirq+0x5f/0x70 kernel/time/timer.c:2453 handle_softirqs+0xbf/0x280 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu kernel/softirq.c:637 [inline] irq_exit_rcu+0x3e/0x90 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline] sysvec_apic_timer_interrupt+0x73/0x80 arch/x86/kernel/apic/apic.c:1037 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 __preempt_count_dec_and_test arch/x86/include/asm/preempt.h:94 [inline] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x3d/0x60 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] pcpu_alloc_noprof+0x781/0x10a0 mm/percpu.c:1867 bpf_map_alloc_percpu+0xad/0x210 kernel/bpf/syscall.c:466 bpf_array_alloc_percpu kernel/bpf/arraymap.c:38 [inline] array_map_alloc+0x2aa/0x390 kernel/bpf/arraymap.c:152 map_create+0x850/0xb70 kernel/bpf/syscall.c:1341 __sys_bpf+0x667/0x7a0 kernel/bpf/syscall.c:5616 __do_sys_bpf kernel/bpf/syscall.c:5741 [inline] __se_sys_bpf kernel/bpf/syscall.c:5739 [inline] __x64_sys_bpf+0x43/0x50 kernel/bpf/syscall.c:5739 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: 0x00 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 14018 Comm: syz.1.3671 Tainted: G W 6.12.0-rc3-syzkaller-00044-g2f87d0916ce0 #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================