================================================================== BUG: KCSAN: data-race in __run_timer_base / next_expiry_recalc write to 0xffff888237c1de98 of 8 bytes by interrupt on cpu 1: next_expiry_recalc+0x187/0x1e0 kernel/time/timer.c:1967 __run_timers kernel/time/timer.c:2414 [inline] __run_timer_base+0x2ee/0x640 kernel/time/timer.c:2428 timer_expire_remote+0x2f/0x40 kernel/time/timer.c:2180 tmigr_handle_remote_cpu kernel/time/timer_migration.c:938 [inline] tmigr_handle_remote_up kernel/time/timer_migration.c:1030 [inline] __walk_groups kernel/time/timer_migration.c:488 [inline] tmigr_handle_remote+0x4ee/0x910 kernel/time/timer_migration.c:1091 run_timer_softirq+0x5f/0x70 kernel/time/timer.c:2451 handle_softirqs+0xc3/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: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_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] __wake_up_common_lock kernel/sched/wait.c:108 [inline] __wake_up+0x88/0xb0 kernel/sched/wait.c:127 io_cqring_wake io_uring/io_uring.h:277 [inline] io_cq_unlock_post io_uring/io_uring.c:667 [inline] __io_cqring_overflow_flush+0x413/0x470 io_uring/io_uring.c:705 io_cqring_do_overflow_flush io_uring/io_uring.c:717 [inline] io_cqring_wait io_uring/io_uring.c:2524 [inline] __do_sys_io_uring_enter io_uring/io_uring.c:3289 [inline] __se_sys_io_uring_enter+0x11c6/0x15a0 io_uring/io_uring.c:3181 __x64_sys_io_uring_enter+0x78/0x90 io_uring/io_uring.c:3181 x64_sys_call+0x25ab/0x2d70 arch/x86/include/generated/asm/syscalls_64.h:427 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 read to 0xffff888237c1de98 of 8 bytes by interrupt on cpu 0: __run_timer_base+0x52/0x640 kernel/time/timer.c:2423 run_timer_base kernel/time/timer.c:2437 [inline] run_timer_softirq+0x31/0x70 kernel/time/timer.c:2447 handle_softirqs+0xc3/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: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 native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] arch_safe_halt arch/x86/include/asm/irqflags.h:86 [inline] acpi_safe_halt+0x21/0x30 drivers/acpi/processor_idle.c:112 acpi_idle_do_entry+0x1d/0x30 drivers/acpi/processor_idle.c:573 acpi_idle_enter+0x96/0xb0 drivers/acpi/processor_idle.c:707 cpuidle_enter_state+0xcf/0x270 drivers/cpuidle/cpuidle.c:267 cpuidle_enter+0x40/0x70 drivers/cpuidle/cpuidle.c:388 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x195/0x230 kernel/sched/idle.c:332 cpu_startup_entry+0x25/0x30 kernel/sched/idle.c:430 rest_init+0xef/0xf0 init/main.c:747 start_kernel+0x581/0x5e0 init/main.c:1103 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:507 x86_64_start_kernel+0x94/0xa0 arch/x86/kernel/head64.c:488 common_startup_64+0x12c/0x137 value changed: 0x0000000100001007 -> 0x0000000100001008 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.10.0-rc2-syzkaller-00366-g771ed66105de #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 ==================================================================