================================================================== BUG: KCSAN: data-race in __tmigr_cpu_activate / tmigr_handle_remote write to 0xffff888237d205dc of 1 bytes by task 0 on cpu 1: __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 start_secondary+0x96/0xa0 arch/x86/kernel/smpboot.c:314 common_startup_64+0x12c/0x137 read to 0xffff888237d205dc of 1 bytes by interrupt on cpu 0: 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 pte_pfn arch/x86/include/asm/pgtable.h:267 [inline] folio_pte_batch mm/internal.h:201 [inline] madvise_folio_pte_batch mm/madvise.c:332 [inline] madvise_cold_or_pageout_pte_range+0x54d/0xf30 mm/madvise.c:473 walk_pmd_range mm/pagewalk.c:106 [inline] walk_pud_range mm/pagewalk.c:178 [inline] walk_p4d_range mm/pagewalk.c:211 [inline] walk_pgd_range+0x7ed/0xec0 mm/pagewalk.c:246 __walk_page_range+0xc5/0x330 mm/pagewalk.c:348 walk_page_range+0x395/0x4e0 mm/pagewalk.c:474 madvise_pageout_page_range mm/madvise.c:609 [inline] madvise_pageout mm/madvise.c:636 [inline] madvise_vma_behavior mm/madvise.c:1045 [inline] madvise_walk_vmas mm/madvise.c:1274 [inline] do_madvise+0x1a7a/0x2660 mm/madvise.c:1461 __do_sys_madvise mm/madvise.c:1477 [inline] __se_sys_madvise mm/madvise.c:1475 [inline] __x64_sys_madvise+0x61/0x70 mm/madvise.c:1475 x64_sys_call+0x2320/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:29 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: 0 UID: 0 PID: 22159 Comm: syz.3.5921 Not tainted 6.12.0-rc2-syzkaller-00291-g09f6b0c8904b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================