================================================================== BUG: KCSAN: data-race in tcp_event_new_data_sent / tcp_stream_memory_free write to 0xffff8881229065c4 of 4 bytes by task 7211 on cpu 0: tcp_event_new_data_sent+0x5f/0x1c0 net/ipv4/tcp_output.c:70 tcp_write_xmit+0xa16/0x3080 net/ipv4/tcp_output.c:2447 __tcp_push_pending_frames+0x7b/0x1d0 net/ipv4/tcp_output.c:2616 tcp_push+0x1e9/0x3d0 net/ipv4/tcp.c:724 tcp_sendmsg_locked+0x1d1e/0x1f30 net/ipv4/tcp.c:1403 tcp_sendmsg+0x39/0x60 net/ipv4/tcp.c:1434 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 read to 0xffff8881229065c4 of 4 bytes by task 7197 on cpu 1: tcp_stream_memory_free+0x3c/0xc0 include/net/tcp.h:1919 __sk_stream_memory_free include/net/sock.h:1214 [inline] __sk_stream_memory_free include/net/sock.h:1208 [inline] __sk_stream_is_writeable include/net/sock.h:1225 [inline] sk_stream_is_writeable include/net/sock.h:1230 [inline] tcp_poll+0x49a/0x6b0 net/ipv4/tcp.c:558 sock_poll+0xed/0x250 net/socket.c:1256 vfs_poll include/linux/poll.h:90 [inline] ep_item_poll.isra.0+0x90/0x190 fs/eventpoll.c:892 ep_send_events_proc+0x113/0x590 fs/eventpoll.c:1749 ep_scan_ready_list.constprop.0+0x189/0x500 fs/eventpoll.c:704 ep_send_events fs/eventpoll.c:1793 [inline] ep_poll+0xe3/0x900 fs/eventpoll.c:1930 do_epoll_wait+0x162/0x180 fs/eventpoll.c:2294 __do_sys_epoll_pwait fs/eventpoll.c:2325 [inline] __se_sys_epoll_pwait fs/eventpoll.c:2311 [inline] __x64_sys_epoll_pwait+0xcd/0x180 fs/eventpoll.c:2311 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: 7197 Comm: syz-fuzzer Not tainted 5.4.0-rc3+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================