================================================================== BUG: KCSAN: data-race in hrtimer_interrupt / print_cpu write to 0xffff888237c1ffa0 of 8 bytes by interrupt on cpu 0: hrtimer_interrupt+0x18c/0x7b0 kernel/time/hrtimer.c:1805 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x5c/0x1a0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x6e/0x80 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 kcsan_setup_watchpoint+0x404/0x410 kernel/kcsan/core.c:705 netdev_get_tx_queue include/linux/netdevice.h:2486 [inline] netdev_core_pick_tx+0x13e/0x1c0 net/core/dev.c:4277 __dev_queue_xmit+0x586/0x1e50 net/core/dev.c:4353 dev_queue_xmit include/linux/netdevice.h:3095 [inline] neigh_hh_output include/net/neighbour.h:526 [inline] neigh_output include/net/neighbour.h:540 [inline] ip_finish_output2+0x73b/0x8b0 net/ipv4/ip_output.c:235 ip_finish_output+0x11a/0x2a0 net/ipv4/ip_output.c:323 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip_output+0xab/0x170 net/ipv4/ip_output.c:433 dst_output include/net/dst.h:450 [inline] ip_local_out net/ipv4/ip_output.c:129 [inline] __ip_queue_xmit+0xbca/0xbf0 net/ipv4/ip_output.c:535 ip_queue_xmit+0x38/0x50 net/ipv4/ip_output.c:549 __tcp_transmit_skb+0x15b0/0x1970 net/ipv4/tcp_output.c:1466 tcp_transmit_skb net/ipv4/tcp_output.c:1484 [inline] tcp_write_xmit+0x1273/0x31c0 net/ipv4/tcp_output.c:2829 __tcp_push_pending_frames+0x6a/0x1a0 net/ipv4/tcp_output.c:3014 tcp_push+0x320/0x340 net/ipv4/tcp.c:744 tcp_sendmsg_locked+0x21c9/0x26d0 net/ipv4/tcp.c:1316 tcp_sendmsg+0x30/0x50 net/ipv4/tcp.c:1348 inet_sendmsg+0x77/0xd0 net/ipv4/af_inet.c:851 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x102/0x180 net/socket.c:745 sock_write_iter+0x164/0x1b0 net/socket.c:1160 call_write_iter include/linux/fs.h:2120 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0x765/0x8e0 fs/read_write.c:590 ksys_write+0xeb/0x1b0 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0x42/0x50 fs/read_write.c:652 x64_sys_call+0x27b7/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888237c1ffa0 of 8 bytes by task 22732 on cpu 1: print_cpu+0x2fb/0x670 kernel/time/timer_list.c:133 timer_list_show+0x115/0x180 kernel/time/timer_list.c:295 seq_read_iter+0x65b/0x940 fs/seq_file.c:272 proc_reg_read_iter+0x11e/0x190 fs/proc/inode.c:299 call_read_iter include/linux/fs.h:2114 [inline] copy_splice_read+0x3a4/0x5d0 fs/splice.c:365 do_splice_read fs/splice.c:985 [inline] splice_direct_to_actor+0x26c/0x670 fs/splice.c:1089 do_splice_direct_actor fs/splice.c:1207 [inline] do_splice_direct+0xd7/0x150 fs/splice.c:1233 do_sendfile+0x3b9/0x970 fs/read_write.c:1295 __do_sys_sendfile64 fs/read_write.c:1362 [inline] __se_sys_sendfile64 fs/read_write.c:1348 [inline] __x64_sys_sendfile64+0x110/0x150 fs/read_write.c:1348 x64_sys_call+0x2c67/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:41 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x000000774290f12c -> 0x000000774292f28b Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 22732 Comm: syz-executor.2 Tainted: G W 6.9.0-syzkaller-09880-gdaa121128a2d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 ==================================================================