================================================================== BUG: KCSAN: data-race in mptcp_subflow_get_send / tcp_rearm_rto write to 0xffff8881150ac4e2 of 1 bytes by interrupt on cpu 1: inet_csk_clear_xmit_timer include/net/inet_connection_sock.h:200 [inline] tcp_rearm_rto+0x8b/0x200 net/ipv4/tcp_input.c:3246 tcp_set_xmit_timer net/ipv4/tcp_input.c:3267 [inline] tcp_ack+0x2717/0x2f70 net/ipv4/tcp_input.c:4027 tcp_rcv_established+0x46b/0xef0 net/ipv4/tcp_input.c:6226 tcp_v4_do_rcv+0x662/0x740 net/ipv4/tcp_ipv4.c:1915 tcp_v4_rcv+0x1b25/0x1ee0 net/ipv4/tcp_ipv4.c:2350 ip_protocol_deliver_rcu+0x370/0x720 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x17d/0x210 net/ipv4/ip_input.c:233 NF_HOOK include/linux/netfilter.h:314 [inline] ip_local_deliver+0xec/0x1d0 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:460 [inline] ip_rcv_finish+0x193/0x1b0 net/ipv4/ip_input.c:449 NF_HOOK include/linux/netfilter.h:314 [inline] ip_rcv+0x64/0x140 net/ipv4/ip_input.c:569 __netif_receive_skb_one_core net/core/dev.c:5662 [inline] __netif_receive_skb+0x10a/0x280 net/core/dev.c:5775 process_backlog+0x22e/0x440 net/core/dev.c:6107 __napi_poll+0x63/0x3c0 net/core/dev.c:6771 napi_poll net/core/dev.c:6840 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:6962 handle_softirqs+0xbf/0x280 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:167 [inline] _raw_spin_unlock_bh+0x36/0x40 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:396 [inline] unlock_sock_fast include/net/sock.h:1670 [inline] mptcp_subflow_cleanup_rbuf net/mptcp/protocol.c:538 [inline] mptcp_cleanup_rbuf net/mptcp/protocol.c:569 [inline] mptcp_recvmsg+0x851/0x16a0 net/mptcp/protocol.c:2202 inet_recvmsg+0x171/0x290 net/ipv4/af_inet.c:885 sock_recvmsg_nosec net/socket.c:1052 [inline] sock_recvmsg+0xfe/0x170 net/socket.c:1074 __sys_recvfrom+0x15b/0x230 net/socket.c:2261 __do_sys_recvfrom net/socket.c:2279 [inline] __se_sys_recvfrom net/socket.c:2275 [inline] __x64_sys_recvfrom+0x78/0x90 net/socket.c:2275 x64_sys_call+0x1726/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:46 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff8881150ac4e2 of 1 bytes by task 3658 on cpu 0: mptcp_timeout_from_subflow net/mptcp/protocol.c:488 [inline] mptcp_subflow_get_send+0x1ac/0x7f0 net/mptcp/protocol.c:1432 mptcp_sched_default_get_subflow net/mptcp/sched.c:25 [inline] mptcp_sched_get_send+0x218/0x2e0 net/mptcp/sched.c:171 __mptcp_push_pending+0x100/0x4e0 net/mptcp/protocol.c:1583 mptcp_sendmsg+0xa70/0xe60 net/mptcp/protocol.c:1903 inet6_sendmsg+0xc5/0xd0 net/ipv6/af_inet6.c:661 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x8b/0x180 net/socket.c:745 ____sys_sendmsg+0x312/0x410 net/socket.c:2603 ___sys_sendmsg net/socket.c:2657 [inline] __sys_sendmsg+0x1d9/0x270 net/socket.c:2686 __do_sys_sendmsg net/socket.c:2695 [inline] __se_sys_sendmsg net/socket.c:2693 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2693 x64_sys_call+0x2689/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x05 -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 3658 Comm: syz.2.41 Not tainted 6.11.0-syzkaller-10622-gaa486552a110 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 ==================================================================