================================================================== BUG: KCSAN: data-race in ktime_get_real_seconds / timekeeping_advance write to 0xffffffff8603bb08 of 280 bytes by interrupt on cpu 1: timekeeping_advance+0x88e/0xd80 include/linux/string.h:378 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:1292 __run_hrtimer kernel/time/hrtimer.c:1514 [inline] __hrtimer_run_queues+0x274/0x5f0 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 try_module_get+0x1a/0x40 kernel/module.c:1121 xt_find_table_lock+0xef/0x300 net/netfilter/x_tables.c:1208 xt_request_find_table_lock+0x35/0xc0 net/netfilter/x_tables.c:1253 __do_replace+0x81/0x510 net/ipv6/netfilter/ip6_tables.c:1072 do_replace net/ipv6/netfilter/ip6_tables.c:1157 [inline] do_ip6t_set_ctl+0x26d/0x311 net/ipv6/netfilter/ip6_tables.c:1681 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x6e/0xb0 net/netfilter/nf_sockopt.c:115 ipv6_setsockopt net/ipv6/ipv6_sockglue.c:949 [inline] ipv6_setsockopt+0x119/0x130 net/ipv6/ipv6_sockglue.c:933 tcp_setsockopt net/ipv4/tcp.c:3157 [inline] tcp_setsockopt+0x7c/0xc0 net/ipv4/tcp.c:3151 sock_common_setsockopt+0x67/0x90 net/core/sock.c:3151 __sys_setsockopt+0x1ce/0x370 net/socket.c:2084 __do_sys_setsockopt net/socket.c:2100 [inline] __se_sys_setsockopt net/socket.c:2097 [inline] __x64_sys_setsockopt+0x70/0x90 net/socket.c:2097 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffffffff8603bb78 of 8 bytes by task 29448 on cpu 0: 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_number_log security/tomoyo/file.c:235 [inline] tomoyo_path_number_perm+0x323/0x3c0 security/tomoyo/file.c:734 tomoyo_path_mknod+0xe6/0x150 security/tomoyo/tomoyo.c:246 security_path_mknod+0xc6/0x100 security/security.c:1021 may_o_create fs/namei.c:3016 [inline] lookup_open fs/namei.c:3177 [inline] do_last fs/namei.c:3314 [inline] path_openat+0x18f9/0x36e0 fs/namei.c:3525 do_filp_open+0x11e/0x1b0 fs/namei.c:3555 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/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 29448 Comm: syz-executor.2 Not tainted 5.4.0-rc7+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================