================================================================== BUG: KCSAN: data-race in get_cpu_idle_time_us / tick_irq_enter write to 0xffff888237d19d68 of 8 bytes by interrupt on cpu 1: update_ts_time_stats kernel/time/tick-sched.c:638 [inline] tick_nohz_stop_idle kernel/time/tick-sched.c:648 [inline] tick_nohz_irq_enter kernel/time/tick-sched.c:1377 [inline] tick_irq_enter+0x118/0x1f0 kernel/time/tick-sched.c:1396 sysvec_apic_timer_interrupt+0x5c/0x80 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] acpi_safe_halt drivers/acpi/processor_idle.c:109 [inline] acpi_idle_do_entry drivers/acpi/processor_idle.c:553 [inline] acpi_idle_enter+0x258/0x2e0 drivers/acpi/processor_idle.c:688 cpuidle_enter_state+0x2b4/0x760 drivers/cpuidle/cpuidle.c:237 cpuidle_enter+0x3c/0x60 drivers/cpuidle/cpuidle.c:351 call_cpuidle kernel/sched/idle.c:158 [inline] cpuidle_idle_call kernel/sched/idle.c:239 [inline] do_idle+0x1a3/0x250 kernel/sched/idle.c:306 cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:403 secondary_startup_64_no_verify+0xb1/0xbb read to 0xffff888237d19d68 of 8 bytes by task 10344 on cpu 0: get_cpu_idle_time_us+0x1cd/0x1f0 kernel/time/tick-sched.c:689 get_idle_time fs/proc/stat.c:54 [inline] show_stat+0x2ef/0xdd0 fs/proc/stat.c:134 seq_read_iter+0x2e1/0x930 fs/seq_file.c:230 proc_reg_read_iter+0xd6/0x170 fs/proc/inode.c:296 call_read_iter include/linux/fs.h:2157 [inline] io_iter_do_read fs/io_uring.c:3432 [inline] io_read fs/io_uring.c:3492 [inline] io_issue_sqe+0x19ff/0x67b0 fs/io_uring.c:6651 __io_queue_sqe+0x2f/0x420 fs/io_uring.c:6957 io_queue_sqe fs/io_uring.c:7008 [inline] io_submit_sqe+0x88b/0x3eb0 fs/io_uring.c:7184 io_submit_sqes+0x505/0xde0 fs/io_uring.c:7290 __do_sys_io_uring_enter fs/io_uring.c:9992 [inline] __se_sys_io_uring_enter+0x20d/0xb30 fs/io_uring.c:9934 __x64_sys_io_uring_enter+0x74/0x80 fs/io_uring.c:9934 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x000000bfe496da70 -> 0x000000bfe4987f73 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 10344 Comm: syz-executor.0 Tainted: G W 5.15.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================