================================================================== BUG: KCSAN: data-race in tick_nohz_next_event / tick_sched_timer write to 0xffffffff83cbf1d0 of 4 bytes by interrupt on cpu 1: tick_sched_do_timer kernel/time/tick-sched.c:191 [inline] tick_sched_timer+0x1f5/0x210 kernel/time/tick-sched.c:1367 __run_hrtimer+0x160/0x480 kernel/time/hrtimer.c:1537 __hrtimer_run_queues kernel/time/hrtimer.c:1601 [inline] hrtimer_interrupt+0x380/0xaf0 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0x6f/0x1c0 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0x64/0x80 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:647 memset_erms+0xe/0x10 arch/x86/lib/memset_64.S:65 slab_post_alloc_hook mm/slab.h:526 [inline] slab_alloc mm/slab.c:3323 [inline] kmem_cache_alloc+0x1e6/0x2f0 mm/slab.c:3507 skb_clone+0x12c/0x1f0 net/core/skbuff.c:1499 dev_queue_xmit_nit+0x145/0x5f0 net/core/dev.c:2413 xmit_one+0x71/0x270 net/core/dev.c:3649 dev_hard_start_xmit+0x72/0x120 net/core/dev.c:3670 sch_direct_xmit+0x19c/0x5b0 net/sched/sch_generic.c:336 qdisc_restart net/sched/sch_generic.c:401 [inline] __qdisc_run+0x119/0x180 net/sched/sch_generic.c:409 qdisc_run include/net/pkt_sched.h:131 [inline] __dev_xmit_skb net/core/dev.c:3857 [inline] __dev_queue_xmit+0x7a3/0x12a0 net/core/dev.c:4214 dev_queue_xmit+0x13/0x20 net/core/dev.c:4279 neigh_hh_output include/net/neighbour.h:499 [inline] neigh_output include/net/neighbour.h:508 [inline] ip_finish_output2+0xa93/0xb10 net/ipv4/ip_output.c:230 __ip_finish_output net/ipv4/ip_output.c:252 [inline] ip_finish_output+0x2fa/0x490 net/ipv4/ip_output.c:318 NF_HOOK_COND include/linux/netfilter.h:290 [inline] ip_output+0xf6/0x1a0 net/ipv4/ip_output.c:432 dst_output include/net/dst.h:448 [inline] ip_local_out+0x167/0x230 net/ipv4/ip_output.c:126 __ip_queue_xmit+0x97f/0x9a0 net/ipv4/ip_output.c:533 ip_queue_xmit+0x34/0x40 net/ipv4/ip_output.c:547 __tcp_transmit_skb+0x140a/0x19e0 net/ipv4/tcp_output.c:1405 __tcp_send_ack+0x20a/0x300 net/ipv4/tcp_output.c:3970 tcp_send_ack+0x23/0x30 net/ipv4/tcp_output.c:3976 tcp_cleanup_rbuf+0x1c4/0x310 net/ipv4/tcp.c:1598 tcp_recvmsg_locked+0x1129/0x1730 net/ipv4/tcp.c:2521 tcp_recvmsg+0x145/0x430 net/ipv4/tcp.c:2551 inet_recvmsg+0xa3/0x200 net/ipv4/af_inet.c:852 sock_recvmsg_nosec net/socket.c:888 [inline] sock_recvmsg net/socket.c:906 [inline] sock_read_iter+0x19e/0x1e0 net/socket.c:979 call_read_iter include/linux/fs.h:2108 [inline] new_sync_read fs/read_write.c:415 [inline] vfs_read+0x565/0x5d0 fs/read_write.c:496 ksys_read+0xce/0x180 fs/read_write.c:634 __do_sys_read fs/read_write.c:644 [inline] __se_sys_read fs/read_write.c:642 [inline] __x64_sys_read+0x3e/0x50 fs/read_write.c:642 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffffffff83cbf1d0 of 4 bytes by task 0 on cpu 0: tick_nohz_next_event+0x217/0x300 kernel/time/tick-sched.c:803 tick_nohz_get_sleep_length+0x121/0x280 kernel/time/tick-sched.c:1153 menu_select+0x303/0x1050 drivers/cpuidle/governors/menu.c:283 cpuidle_select+0x3d/0x50 drivers/cpuidle/cpuidle.c:322 cpuidle_idle_call kernel/sched/idle.c:232 [inline] do_idle+0x16f/0x240 kernel/sched/idle.c:306 cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:403 rest_init+0xc9/0xd0 init/main.c:721 arch_call_rest_init+0xa/0xb start_kernel+0x59e/0x623 init/main.c:1087 secondary_startup_64_no_verify+0xb0/0xbb value changed: 0xffffffff -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.13.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================