================================================================== BUG: KCSAN: data-race in rcu_gp_fqs_check_wake / rcu_note_context_switch write to 0xffffffff85c7d190 of 8 bytes by task 13595 on cpu 1: rcu_preempt_ctxt_queue kernel/rcu/tree_plugin.h:223 [inline] rcu_note_context_switch+0x6f6/0x760 kernel/rcu/tree_plugin.h:315 __schedule+0xa4/0x690 kernel/sched/core.c:4019 preempt_schedule_irq+0x57/0x90 kernel/sched/core.c:4338 restore_regs_and_return_to_kernel+0x0/0x25 __read_once_size include/linux/compiler.h:232 [inline] arch_atomic64_read arch/x86/include/asm/atomic64_64.h:22 [inline] atomic64_read include/asm-generic/atomic-instrumented.h:851 [inline] atomic_long_read include/asm-generic/atomic-long.h:29 [inline] find_watchpoint kernel/kcsan/core.c:96 [inline] check_access kernel/kcsan/core.c:446 [inline] __tsan_read4+0x34/0x100 kernel/kcsan/core.c:588 nf_nat_inet_fn+0x40/0x500 net/netfilter/nf_nat_core.c:730 nf_nat_ipv6_fn+0xa8/0x1e0 net/netfilter/nf_nat_proto.c:871 nf_nat_ipv6_local_fn+0x36/0x280 net/netfilter/nf_nat_proto.c:935 nf_hook_entry_hookfn include/linux/netfilter.h:135 [inline] nf_hook_slow+0x83/0x160 net/netfilter/core.c:512 nf_hook include/linux/netfilter.h:262 [inline] __ip6_local_out+0x220/0x2e0 net/ipv6/output_core.c:167 ip6_local_out+0x31/0x90 net/ipv6/output_core.c:177 ip6_send_skb+0x53/0x110 net/ipv6/ip6_output.c:1795 udp_v6_send_skb.isra.0+0x3ec/0xa70 net/ipv6/udp.c:1173 udpv6_sendmsg+0x19dc/0x1d30 net/ipv6/udp.c:1471 inet6_sendmsg+0x6d/0x90 net/ipv6/af_inet6.c:576 sock_sendmsg_nosec net/socket.c:639 [inline] sock_sendmsg+0x9f/0xc0 net/socket.c:659 ____sys_sendmsg+0x212/0x4d0 net/socket.c:2330 ___sys_sendmsg+0xb5/0x100 net/socket.c:2384 __sys_sendmmsg+0x123/0x350 net/socket.c:2474 __do_sys_sendmmsg net/socket.c:2503 [inline] __se_sys_sendmmsg net/socket.c:2500 [inline] __x64_sys_sendmmsg+0x64/0x80 net/socket.c:2500 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffffffff85c7d190 of 8 bytes by task 10 on cpu 0: rcu_gp_fqs_check_wake kernel/rcu/tree.c:1606 [inline] rcu_gp_fqs_check_wake+0x93/0xd0 kernel/rcu/tree.c:1596 rcu_gp_fqs_loop+0x36c/0x580 kernel/rcu/tree.c:1661 rcu_gp_kthread+0x143/0x230 kernel/rcu/tree.c:1821 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 10 Comm: rcu_preempt Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================