------------[ cut here ]------------
1
WARNING: net/mptcp/protocol.c:855 at __mptcp_move_skbs_from_subflow+0x11cf/0x19a0 net/mptcp/protocol.c:855, CPU#1: syz.3.813/9090
Modules linked in:
CPU: 1 UID: 0 PID: 9090 Comm: syz.3.813 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026
RIP: 0010:__mptcp_move_skbs_from_subflow+0x11cf/0x19a0 net/mptcp/protocol.c:855
Code: b6 04 26 84 c0 0f 85 57 05 00 00 41 c6 07 00 e9 e6 f5 ff ff e8 52 94 db f5 90 0f 0b 90 48 8b 5c 24 30 eb 0c e8 42 94 db f5 90 <0f> 0b 90 4d 89 ec 48 8b 7c 24 68 e8 71 17 01 00 e9 50 fd ff ff e8
RSP: 0018:ffffc90000a08120 EFLAGS: 00010246
RAX: ffffffff8bed7d2e RBX: ffff8880331570d8 RCX: ffff88802819ddc0
RDX: 0000000000000300 RSI: 0000000000000100 RDI: 00000000000044ff
RBP: ffffc90000a08328 R08: 0000000000000100 R09: 1ffffffff237bf17
R10: dffffc0000000000 R11: fffffbfff237bf18 R12: 000000000000d767
R13: dffffc0000000000 R14: 0000000033ab72af R15: 00000000000044ff
FS: 00007efe98d816c0(0000) GS:ffff88812350a000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000001c000 CR3: 00000000320d8000 CR4: 00000000003526f0
Call Trace:
mptcp_data_ready+0x3e0/0xc20 net/mptcp/protocol.c:1031
subflow_data_ready+0x2bc/0x7f0 net/mptcp/subflow.c:1588
tcp_data_queue+0x1e94/0x5fa0 net/ipv4/tcp_input.c:5731
tcp_rcv_established+0xb05/0x2910 net/ipv4/tcp_input.c:6745
tcp_v4_do_rcv+0x727/0x13b0 net/ipv4/tcp_ipv4.c:1859
tcp_v4_rcv+0x27d4/0x3170 net/ipv4/tcp_ipv4.c:2253
ip_protocol_deliver_rcu+0x21d/0x440 net/ipv4/ip_input.c:207
ip_local_deliver_finish+0x3bb/0x6f0 net/ipv4/ip_input.c:241
NF_HOOK+0x336/0x3c0 include/linux/netfilter.h:325
NF_HOOK+0x336/0x3c0 include/linux/netfilter.h:325
__netif_receive_skb_one_core net/core/dev.c:6435 [inline]
__netif_receive_skb net/core/dev.c:6548 [inline]
process_backlog+0xa6b/0x18b0 net/core/dev.c:6899
__napi_poll+0xaa/0x330 net/core/dev.c:7985
napi_poll net/core/dev.c:8048 [inline]
net_rx_action+0x61d/0xf50 net/core/dev.c:8205
handle_softirqs+0x265/0x8d0 kernel/softirq.c:669
do_softirq+0x77/0xd0 kernel/softirq.c:569
__local_bh_enable_ip+0x100/0x140 kernel/softirq.c:473
spin_unlock_bh include/linux/spinlock.h:407 [inline]
unlock_sock_fast include/net/sock.h:1777 [inline]
mptcp_subflow_cleanup_rbuf net/mptcp/protocol.c:658 [inline]
mptcp_cleanup_rbuf+0x492/0x6e0 net/mptcp/protocol.c:689
mptcp_recvmsg+0xb88/0x13e0 net/mptcp/protocol.c:2461
sock_recvmsg_nosec net/socket.c:1156 [inline]
sock_recvmsg+0x166/0x1e0 net/socket.c:1176
__sys_recvfrom+0x231/0x3a0 net/socket.c:2333
__do_sys_recvfrom net/socket.c:2348 [inline]
__se_sys_recvfrom net/socket.c:2344 [inline]
__x64_sys_recvfrom+0xde/0x100 net/socket.c:2344
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7efe97f9fb19
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007efe98d81028 EFLAGS: 00000246 ORIG_RAX: 000000000000002d
RAX: ffffffffffffffda RBX: 00007efe98226180 RCX: 00007efe97f9fb19
RDX: fffffffffffffeeb RSI: 00002000000005c0 RDI: 0000000000000004
RBP: 00007efe98037b70 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000101 R11: 0000000000000246 R12: 0000000000000000
R13: 00007efe98226218 R14: 00007efe98226180 R15: 00007ffe9eba9688