================================================================== BUG: KCSAN: data-race in tcp_update_metrics / tcp_update_metrics read to 0xffff888137e91dc8 of 4 bytes by task 895 on cpu 1: tcp_metric_get net/ipv4/tcp_metrics.c:68 [inline] tcp_update_metrics+0x276/0x6e0 net/ipv4/tcp_metrics.c:377 tcp_time_wait+0x484/0x520 net/ipv4/tcp_minisocks.c:332 __tcp_close+0x904/0x11f0 net/ipv4/tcp.c:2870 __mptcp_close_ssk+0x2dd/0x440 net/mptcp/protocol.c:2344 __mptcp_destroy_sock+0x18f/0x360 net/mptcp/protocol.c:2828 mptcp_worker+0x7c6/0xa80 net/mptcp/protocol.c:2586 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289 worker_thread+0x618/0xa70 kernel/workqueue.c:2436 kthread+0x1a9/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 write to 0xffff888137e91dc8 of 4 bytes by task 7845 on cpu 0: tcp_metric_set net/ipv4/tcp_metrics.c:75 [inline] tcp_update_metrics+0x29e/0x6e0 net/ipv4/tcp_metrics.c:383 tcp_time_wait+0x484/0x520 net/ipv4/tcp_minisocks.c:332 __tcp_close+0x904/0x11f0 net/ipv4/tcp.c:2870 __mptcp_close_ssk+0x2dd/0x440 net/mptcp/protocol.c:2344 __mptcp_destroy_sock+0x18f/0x360 net/mptcp/protocol.c:2828 mptcp_worker+0x7c6/0xa80 net/mptcp/protocol.c:2586 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289 worker_thread+0x618/0xa70 kernel/workqueue.c:2436 kthread+0x1a9/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 value changed: 0x00001b63 -> 0x00001831 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 7845 Comm: kworker/0:62 Not tainted 5.19.0-rc8-syzkaller-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 Workqueue: events mptcp_worker ==================================================================