================================================================== BUG: KCSAN: data-race in tick_sched_do_timer / tick_sched_do_timer write to 0xffffffff8764e210 of 4 bytes by interrupt on cpu 0: tick_sched_do_timer+0xb4/0xd0 kernel/time/tick-sched.c:141 tick_sched_timer+0x3f/0xd0 kernel/time/tick-sched.c:1313 __run_hrtimer kernel/time/hrtimer.c:1520 [inline] __hrtimer_run_queues+0x271/0x600 kernel/time/hrtimer.c:1584 hrtimer_interrupt+0x226/0x490 kernel/time/hrtimer.c:1646 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1113 [inline] smp_apic_timer_interrupt+0xd8/0x270 arch/x86/kernel/apic/apic.c:1138 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 arch_local_irq_enable arch/x86/include/asm/paravirt.h:769 [inline] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x4b/0x80 kernel/locking/spinlock.c:199 finish_lock_switch kernel/sched/core.c:3111 [inline] finish_task_switch+0x7b/0x260 kernel/sched/core.c:3211 context_switch kernel/sched/core.c:3375 [inline] __schedule+0x30f/0x6b0 kernel/sched/core.c:4088 schedule_idle+0x23/0x30 kernel/sched/core.c:4191 do_idle+0xc4/0x290 kernel/sched/idle.c:293 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:361 rest_init+0xe4/0xeb init/main.c:667 arch_call_rest_init+0x13/0x2b start_kernel+0x7fe/0x823 init/main.c:1005 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:242 read to 0xffffffff8764e210 of 4 bytes by interrupt on cpu 1: tick_sched_do_timer+0x2e/0xd0 kernel/time/tick-sched.c:137 tick_sched_timer+0x3f/0xd0 kernel/time/tick-sched.c:1313 __run_hrtimer kernel/time/hrtimer.c:1520 [inline] __hrtimer_run_queues+0x271/0x600 kernel/time/hrtimer.c:1584 hrtimer_interrupt+0x226/0x490 kernel/time/hrtimer.c:1646 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1113 [inline] smp_apic_timer_interrupt+0xd8/0x270 arch/x86/kernel/apic/apic.c:1138 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 __check_object_size+0xf/0x337 mm/usercopy.c:257 check_object_size include/linux/thread_info.h:119 [inline] check_copy_size include/linux/thread_info.h:152 [inline] copy_to_iter include/linux/uio.h:135 [inline] simple_copy_to_iter+0x48/0x80 net/core/datagram.c:519 __skb_datagram_iter+0x23f/0x470 net/core/datagram.c:448 skb_copy_datagram_iter+0x65/0x160 net/core/datagram.c:533 skb_copy_datagram_msg include/linux/skbuff.h:3537 [inline] tcp_recvmsg+0x109e/0x1ba0 net/ipv4/tcp.c:2137 inet_recvmsg+0xc1/0x250 net/ipv4/af_inet.c:838 sock_recvmsg_nosec net/socket.c:886 [inline] sock_recvmsg net/socket.c:904 [inline] sock_recvmsg+0x8e/0xb0 net/socket.c:900 sock_read_iter+0x185/0x230 net/socket.c:982 call_read_iter include/linux/fs.h:1901 [inline] new_sync_read+0x416/0x450 fs/read_write.c:415 __vfs_read+0x9e/0xb0 fs/read_write.c:428 vfs_read fs/read_write.c:462 [inline] vfs_read+0x13e/0x2b0 fs/read_write.c:447 ksys_read+0x16a/0x1a0 fs/read_write.c:588 __do_sys_read fs/read_write.c:598 [inline] __se_sys_read fs/read_write.c:596 [inline] __x64_sys_read+0x49/0x60 fs/read_write.c:596 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 8901 Comm: syz-fuzzer Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================