------------[ cut here ]------------
WARNING: CPU: 0 PID: 8728 at net/mptcp/protocol.c:705 __mptcp_move_skbs_from_subflow+0x2025/0x2130
Modules linked in:
CPU: 0 PID: 8728 Comm: syz.3.1008 Not tainted 6.1.112-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__mptcp_move_skbs_from_subflow+0x2025/0x2130 net/mptcp/protocol.c:705
Code: 40 80 e5 01 40 0f b6 dd 31 ff 89 de e8 34 ba f6 f6 89 d8 48 81 c4 68 01 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 bb b7 f6 f6 <0f> 0b eb ab e8 b2 b7 f6 f6 43 0f b6 04 2c 84 c0 0f 85 85 00 00 00
RSP: 0018:ffffc90000006e60 EFLAGS: 00010246
RAX: ffffffff8a93f785 RBX: 00000000000055f0 RCX: ffff88802eb7bb80
RDX: 0000000000000100 RSI: 00000000000081e5 RDI: 00000000000055f0
RBP: 00000000000081e5 R08: ffffffff8a93e7d0 R09: ffffed100bb21343
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000020000
R13: dffffc0000000000 R14: ffff88807a63285c R15: ffff88805d909a10
FS: 00007fe9511686c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020406000 CR3: 000000002d559000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
move_skbs_to_msk net/mptcp/protocol.c:818 [inline]
mptcp_data_ready+0x203/0x790 net/mptcp/protocol.c:861
subflow_data_ready+0x254/0x390 net/mptcp/subflow.c:1374
tcp_data_queue+0x21c5/0x6fd0 net/ipv4/tcp_input.c:5138
tcp_rcv_established+0xe63/0x1f00 net/ipv4/tcp_input.c:6070
tcp_v4_do_rcv+0x487/0xb00 net/ipv4/tcp_ipv4.c:1680
tcp_v4_rcv+0x29e0/0x3250 net/ipv4/tcp_ipv4.c:2111
ip_protocol_deliver_rcu+0x381/0x740 net/ipv4/ip_input.c:205
ip_local_deliver_finish+0x304/0x580 net/ipv4/ip_input.c:233
NF_HOOK+0x39d/0x450 include/linux/netfilter.h:302
NF_HOOK+0x39d/0x450 include/linux/netfilter.h:302
__netif_receive_skb_one_core net/core/dev.c:5528 [inline]
__netif_receive_skb+0x1c6/0x530 net/core/dev.c:5642
process_backlog+0x381/0x760 net/core/dev.c:5970
__napi_poll+0xc7/0x470 net/core/dev.c:6537
napi_poll net/core/dev.c:6604 [inline]
net_rx_action+0x70f/0xeb0 net/core/dev.c:6718
handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571
do_softirq+0x162/0x240 kernel/softirq.c:472
__local_bh_enable_ip+0x1b1/0x1f0 kernel/softirq.c:396
local_bh_enable include/linux/bottom_half.h:33 [inline]
rcu_read_unlock_bh include/linux/rcupdate.h:861 [inline]
__dev_queue_xmit+0x1790/0x3cf0 net/core/dev.c:4320
dev_queue_xmit include/linux/netdevice.h:3021 [inline]
neigh_hh_output include/net/neighbour.h:528 [inline]
neigh_output include/net/neighbour.h:542 [inline]
ip_finish_output2+0xcfc/0x1330 net/ipv4/ip_output.c:228
dst_output include/net/dst.h:444 [inline]
ip_local_out net/ipv4/ip_output.c:126 [inline]
__ip_queue_xmit+0x11b1/0x1b60 net/ipv4/ip_output.c:532
__tcp_transmit_skb+0x1e33/0x33a0 net/ipv4/tcp_output.c:1403
tcp_transmit_skb net/ipv4/tcp_output.c:1421 [inline]
tcp_mtu_probe net/ipv4/tcp_output.c:2457 [inline]
tcp_write_xmit+0x5d7a/0x64c0 net/ipv4/tcp_output.c:2633
__tcp_push_pending_frames+0x97/0x350 net/ipv4/tcp_output.c:2894
tcp_push_pending_frames include/net/tcp.h:1969 [inline]
tcp_data_snd_check net/ipv4/tcp_input.c:5557 [inline]
tcp_rcv_established+0xecc/0x1f00 net/ipv4/tcp_input.c:6072
tcp_v4_do_rcv+0x487/0xb00 net/ipv4/tcp_ipv4.c:1680
sk_backlog_rcv include/net/sock.h:1117 [inline]
__release_sock+0x198/0x4b0 net/core/sock.c:2936
release_sock+0x5d/0x1c0 net/core/sock.c:3500
__mptcp_push_pending+0x741/0xd50
mptcp_sendmsg+0xbce/0x1840 net/mptcp/protocol.c:1881
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
sock_write_iter+0x394/0x4e0 net/socket.c:1143
do_iter_write+0x6e6/0xc40 fs/read_write.c:861
vfs_writev fs/read_write.c:934 [inline]
do_writev+0x27b/0x460 fs/read_write.c:977
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fe95037dff9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe951168038 EFLAGS: 00000246 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 00007fe950535f80 RCX: 00007fe95037dff9
RDX: 0000000000000003 RSI: 0000000020000c80 RDI: 0000000000000005
RBP: 00007fe9503f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fe950535f80 R15: 00007ffddde9d088