================================================================== BUG: KCSAN: data-race in ktime_get_real_seconds / timekeeping_advance write to 0xffffffff86040b08 of 280 bytes by interrupt on cpu 0: timekeeping_advance+0x893/0xd80 include/linux/string.h:378 update_wall_time+0x19/0x20 kernel/time/timekeeping.c:2137 tick_do_update_jiffies64+0x1ae/0x260 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:1292 __run_hrtimer kernel/time/hrtimer.c:1514 [inline] __hrtimer_run_queues+0x288/0x600 kernel/time/hrtimer.c:1576 hrtimer_interrupt+0x22a/0x480 kernel/time/hrtimer.c:1638 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:830 arch_local_irq_restore arch/x86/include/asm/paravirt.h:756 [inline] __kcsan_setup_watchpoint+0x268/0x4a0 kernel/kcsan/core.c:424 __tsan_read1 kernel/kcsan/kcsan.c:33 [inline] __tsan_read1+0x2c/0x30 kernel/kcsan/kcsan.c:33 memcmp+0x3c/0x70 lib/string.c:885 memcmp include/linux/string.h:419 [inline] unconditional net/ipv6/netfilter/ip6_tables.c:140 [inline] check_underflow net/ipv6/netfilter/ip6_tables.c:595 [inline] check_entry_size_and_hooks net/ipv6/netfilter/ip6_tables.c:641 [inline] translate_table+0x58c/0xcd0 net/ipv6/netfilter/ip6_tables.c:702 do_replace net/ipv6/netfilter/ip6_tables.c:1153 [inline] do_ip6t_set_ctl+0x219/0x311 net/ipv6/netfilter/ip6_tables.c:1681 read to 0xffffffff86040b78 of 8 bytes by task 7199 on cpu 1: ktime_get_real_seconds+0x20/0x40 kernel/time/timekeeping.c:127 tomoyo_update_stat security/tomoyo/common.c:2341 [inline] tomoyo_supervisor+0x1da/0xd20 security/tomoyo/common.c:2077 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_permission+0x121/0x160 security/tomoyo/file.c:573 tomoyo_path_perm+0x23e/0x390 security/tomoyo/file.c:838 tomoyo_inode_getattr+0x26/0x40 security/tomoyo/tomoyo.c:129 security_inode_getattr+0x9b/0xd0 security/security.c:1222 vfs_getattr+0x2e/0x70 fs/stat.c:115 vfs_statx_fd+0x7a/0xd0 fs/stat.c:145 vfs_fstat include/linux/fs.h:3258 [inline] __do_sys_newfstat+0x49/0xa0 fs/stat.c:378 __se_sys_newfstat fs/stat.c:375 [inline] __x64_sys_newfstat+0x3a/0x50 fs/stat.c:375 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 7199 Comm: udevd Not tainted 5.4.0-rc3+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================