================================================================== BUG: KCSAN: data-race in ktime_get / timekeeping_advance write to 0xffffffff8624b2c8 of 280 bytes by interrupt on cpu 0: timekeeping_advance+0x88e/0xd80 include/linux/string.h:380 update_wall_time+0x19/0x20 kernel/time/timekeeping.c:2137 tick_do_update_jiffies64+0x1a4/0x250 kernel/time/tick-sched.c:94 tick_sched_do_timer+0xd4/0xe0 kernel/time/tick-sched.c:138 tick_sched_timer+0x43/0xe0 kernel/time/tick-sched.c:1303 __run_hrtimer kernel/time/hrtimer.c:1517 [inline] __hrtimer_run_queues+0x274/0x5f0 kernel/time/hrtimer.c:1579 hrtimer_interrupt+0x22a/0x480 kernel/time/hrtimer.c:1641 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1110 [inline] smp_apic_timer_interrupt+0xdc/0x280 arch/x86/kernel/apic/apic.c:1135 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 arch_local_irq_restore arch/x86/include/asm/paravirt.h:752 [inline] kcsan_setup_watchpoint+0x1d4/0x460 kernel/kcsan/core.c:429 check_access kernel/kcsan/core.c:459 [inline] __tsan_read1+0xc2/0x100 kernel/kcsan/core.c:586 tomoyo_check_acl+0x98/0x270 security/tomoyo/domain.c:170 tomoyo_path_permission security/tomoyo/file.c:586 [inline] tomoyo_path_permission+0xe3/0x160 security/tomoyo/file.c:573 tomoyo_check_open_permission+0x2b9/0x320 security/tomoyo/file.c:780 tomoyo_file_open security/tomoyo/tomoyo.c:319 [inline] tomoyo_file_open+0x75/0x90 security/tomoyo/tomoyo.c:314 security_file_open+0x69/0x210 security/security.c:1497 do_dentry_open+0x211/0x970 fs/open.c:784 vfs_open+0x62/0x80 fs/open.c:914 do_last fs/namei.c:3420 [inline] path_openat+0xf9f/0x3580 fs/namei.c:3537 do_filp_open+0x11e/0x1b0 fs/namei.c:3567 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 __do_sys_open fs/open.c:1115 [inline] __se_sys_open fs/open.c:1110 [inline] __x64_sys_open+0x55/0x70 fs/open.c:1110 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffffffff8624b2d8 of 8 bytes by task 31856 on cpu 1: timekeeping_get_delta kernel/time/timekeeping.c:270 [inline] timekeeping_get_ns kernel/time/timekeeping.c:374 [inline] ktime_get+0xcd/0x210 kernel/time/timekeeping.c:759 ktime_get_ns include/linux/timekeeping.h:154 [inline] tcp_clock_ns include/net/tcp.h:757 [inline] tcp_mstamp_refresh+0x1d/0x70 net/ipv4/tcp_output.c:54 tcp_rcv_established+0x7c/0xf50 net/ipv4/tcp_input.c:5553 tcp_v4_do_rcv+0x3b5/0x520 net/ipv4/tcp_ipv4.c:1562 sk_backlog_rcv include/net/sock.h:949 [inline] __release_sock+0x135/0x1e0 net/core/sock.c:2437 release_sock+0x61/0x160 net/core/sock.c:2953 sk_stream_wait_memory+0x454/0x850 net/core/stream.c:145 tcp_sendmsg_locked+0x992/0x2040 net/ipv4/tcp.c:1395 tcp_sendmsg+0x39/0x60 net/ipv4/tcp.c:1436 inet_sendmsg+0x6d/0x90 net/ipv4/af_inet.c:807 sock_sendmsg_nosec net/socket.c:639 [inline] sock_sendmsg+0x9f/0xc0 net/socket.c:659 __sys_sendto+0x21f/0x320 net/socket.c:1985 __do_sys_sendto net/socket.c:1997 [inline] __se_sys_sendto net/socket.c:1993 [inline] __x64_sys_sendto+0x89/0xb0 net/socket.c:1993 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 31856 Comm: syz-executor.2 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================