================================================================== BUG: KCSAN: data-race in __tmigr_cpu_activate / tmigr_handle_remote write to 0xffff888237c20624 of 1 bytes by task 0 on cpu 0: __tmigr_cpu_activate+0x55/0x1f0 kernel/time/timer_migration.c:682 tmigr_cpu_activate+0x8a/0xc0 kernel/time/timer_migration.c:705 timer_clear_idle+0x28/0x100 kernel/time/timer.c:2370 tick_nohz_restart_sched_tick+0x22/0x110 kernel/time/tick-sched.c:1088 tick_nohz_idle_update_tick kernel/time/tick-sched.c:1420 [inline] tick_nohz_idle_exit+0xfe/0x1d0 kernel/time/tick-sched.c:1463 do_idle+0x1ee/0x230 kernel/sched/idle.c:345 cpu_startup_entry+0x25/0x30 kernel/sched/idle.c:430 rest_init+0xef/0xf0 init/main.c:732 start_kernel+0x57c/0x5e0 init/main.c:1074 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:509 x86_64_start_kernel+0x94/0xa0 arch/x86/kernel/head64.c:490 common_startup_64+0x12c/0x137 read to 0xffff888237c20624 of 1 bytes by interrupt on cpu 1: tmigr_next_groupevt kernel/time/timer_migration.c:569 [inline] tmigr_next_expired_groupevt kernel/time/timer_migration.c:593 [inline] tmigr_handle_remote_up kernel/time/timer_migration.c:1013 [inline] __walk_groups kernel/time/timer_migration.c:488 [inline] tmigr_handle_remote+0x23f/0x8e0 kernel/time/timer_migration.c:1074 run_timer_softirq+0x5f/0x70 kernel/time/timer.c:2442 __do_softirq+0xc8/0x285 kernel/softirq.c:554 invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu kernel/softirq.c:633 [inline] irq_exit_rcu+0x3c/0x90 kernel/softirq.c:645 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x73/0x80 arch/x86/kernel/apic/apic.c:1043 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_irq include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irq+0x2f/0x50 kernel/locking/spinlock.c:202 spin_unlock_irq include/linux/spinlock.h:401 [inline] filemap_remove_folio+0x74/0x1f0 mm/filemap.c:265 truncate_inode_folio mm/truncate.c:195 [inline] truncate_inode_pages_range+0x58a/0x6b0 mm/truncate.c:415 truncate_inode_pages mm/truncate.c:439 [inline] truncate_inode_pages_final+0x55/0x60 mm/truncate.c:474 ext4_evict_inode+0x174/0xdd0 fs/ext4/inode.c:193 evict+0x1ae/0x420 fs/inode.c:667 iput_final fs/inode.c:1741 [inline] iput+0x432/0x5c0 fs/inode.c:1767 dentry_unlink_inode+0x230/0x240 fs/dcache.c:400 __dentry_kill+0x188/0x4b0 fs/dcache.c:603 dput+0x5c/0xd0 fs/dcache.c:845 __fput+0x44c/0x660 fs/file_table.c:430 ____fput+0x15/0x20 fs/file_table.c:450 task_work_run+0x13a/0x1a0 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x5fd/0x1740 kernel/exit.c:878 do_group_exit+0x102/0x150 kernel/exit.c:1027 get_signal+0xf2f/0x1080 kernel/signal.c:2911 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:105 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] irqentry_exit_to_user_mode+0x94/0x130 kernel/entry/common.c:225 irqentry_exit+0x12/0x50 kernel/entry/common.c:328 exc_general_protection+0x33d/0x4d0 arch/x86/kernel/traps.c:644 asm_exc_general_protection+0x26/0x30 arch/x86/include/asm/idtentry.h:617 value changed: 0x00 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 22696 Comm: syz-executor.4 Not tainted 6.8.0-syzkaller-11064-g82affc97affb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 ==================================================================