================================================================== BUG: KCSAN: data-race in __run_timer_base / next_expiry_recalc write to 0xffff888237d1de58 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 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:106 [inline] acpi_safe_halt+0x21/0x30 drivers/acpi/processor_idle.c:111 acpi_idle_do_entry+0x1d/0x30 drivers/acpi/processor_idle.c:568 acpi_idle_enter+0x96/0xb0 drivers/acpi/processor_idle.c:702 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:230 [inline] do_idle+0x195/0x230 kernel/sched/idle.c:326 cpu_startup_entry+0x25/0x30 kernel/sched/idle.c:424 start_secondary+0x94/0xa0 arch/x86/kernel/smpboot.c:313 common_startup_64+0x12c/0x137 read to 0xffff888237d1de58 of 8 bytes by interrupt on cpu 0: __run_timer_base+0x52/0x640 kernel/time/timer.c:2423 timer_expire_remote+0x2f/0x40 kernel/time/timer.c:2180 tmigr_handle_remote_cpu kernel/time/timer_migration.c:930 [inline] tmigr_handle_remote_up kernel/time/timer_migration.c:1021 [inline] __walk_groups kernel/time/timer_migration.c:533 [inline] tmigr_handle_remote+0x4f6/0x940 kernel/time/timer_migration.c:1080 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 decode_watchpoint kernel/kcsan/encoding.h:74 [inline] find_watchpoint kernel/kcsan/core.c:132 [inline] check_access kernel/kcsan/core.c:737 [inline] __tsan_read8+0x31/0x180 kernel/kcsan/core.c:1025 file_inode include/linux/fs.h:1083 [inline] selinux_revalidate_file_permission security/selinux/hooks.c:3616 [inline] selinux_file_permission+0x25e/0x360 security/selinux/hooks.c:3643 security_file_permission+0x43/0x70 security/security.c:2722 rw_verify_area fs/read_write.c:377 [inline] vfs_read+0x133/0x6e0 fs/read_write.c:467 ksys_read+0xeb/0x1b0 fs/read_write.c:619 __do_sys_read fs/read_write.c:629 [inline] __se_sys_read fs/read_write.c:627 [inline] __x64_sys_read+0x42/0x50 fs/read_write.c:627 x64_sys_call+0x27d3/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:1 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: 0x0000000100001895 -> 0x0000000100001896 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 3249 Comm: syz-executor Not tainted 6.11.0-rc4-syzkaller-00011-g521b1e7f4cf0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 ==================================================================