================================================================== BUG: KCSAN: data-race in rcu_gp_fqs_check_wake / rcu_note_context_switch write to 0xffffffff85a7d1d0 of 8 bytes by task 26723 on cpu 0: 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:4016 preempt_schedule_common+0x37/0x90 kernel/sched/core.c:4226 preempt_schedule+0x30/0x40 kernel/sched/core.c:4251 ___preempt_schedule+0x16/0x20 arch/x86/entry/thunk_64.S:50 __local_bh_enable_ip+0x44/0x80 kernel/softirq.c:196 local_bh_enable include/linux/bottom_half.h:32 [inline] ipt_do_table+0x8b9/0xe60 net/ipv4/netfilter/ip_tables.c:358 ipt_mangle_out net/ipv4/netfilter/iptable_mangle.c:56 [inline] iptable_mangle_hook+0x132/0x260 net/ipv4/netfilter/iptable_mangle.c:81 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:260 [inline] __ip_local_out+0x1f7/0x2b0 net/ipv4/ip_output.c:114 ip_local_out+0x31/0x90 net/ipv4/ip_output.c:123 __ip_queue_xmit+0x3a8/0xa40 net/ipv4/ip_output.c:532 ip_queue_xmit+0x45/0x60 include/net/ip.h:237 __tcp_transmit_skb+0xe81/0x1d60 net/ipv4/tcp_output.c:1169 tcp_transmit_skb net/ipv4/tcp_output.c:1185 [inline] tcp_write_xmit+0xa54/0x3120 net/ipv4/tcp_output.c:2440 __tcp_push_pending_frames+0x7b/0x1d0 net/ipv4/tcp_output.c:2616 tcp_push+0x1e9/0x3d0 net/ipv4/tcp.c:726 tcp_sendmsg_locked+0x1d2b/0x1fb0 net/ipv4/tcp.c:1405 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:637 [inline] sock_sendmsg+0x9f/0xc0 net/socket.c:657 sock_write_iter+0x16b/0x210 net/socket.c:989 call_write_iter include/linux/fs.h:1895 [inline] new_sync_write+0x388/0x4a0 fs/read_write.c:483 __vfs_write+0xb1/0xc0 fs/read_write.c:496 vfs_write fs/read_write.c:558 [inline] vfs_write+0x18a/0x390 fs/read_write.c:542 ksys_write+0xd5/0x1b0 fs/read_write.c:611 __do_sys_write fs/read_write.c:623 [inline] __se_sys_write fs/read_write.c:620 [inline] __x64_sys_write+0x4c/0x60 fs/read_write.c:620 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffffffff85a7d1d0 of 8 bytes by task 10 on cpu 1: rcu_gp_fqs_check_wake kernel/rcu/tree.c:1584 [inline] rcu_gp_fqs_check_wake+0x93/0xd0 kernel/rcu/tree.c:1574 rcu_gp_fqs_loop+0x36c/0x580 kernel/rcu/tree.c:1639 rcu_gp_kthread+0x143/0x230 kernel/rcu/tree.c:1799 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: 1 PID: 10 Comm: rcu_preempt Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================