syzbot


WARNING in __mptcp_move_skbs_from_subflow (2)

Status: upstream: reported on 2024/08/13 06:19
Reported-by: syzbot+d1d85e4385c2ca8b685a@syzkaller.appspotmail.com
First crash: 100d, last: 30d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in __mptcp_move_skbs_from_subflow 1 317d 317d 0/3 auto-obsoleted due to no activity on 2024/04/18 16:30
linux-5.15 WARNING in __mptcp_move_skbs_from_subflow 1 307d 307d 0/3 auto-obsoleted due to no activity on 2024/04/28 15:28
linux-5.15 WARNING in __mptcp_move_skbs_from_subflow (2) origin:lts-only C error 8 31d 115d 0/3 upstream: reported C repro on 2024/07/29 14:54
upstream WARNING in __mptcp_move_skbs_from_subflow mptcp C error 90 41d 129d 28/28 fixed on 2024/11/12 23:31

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 15171 at net/mptcp/protocol.c:718 __mptcp_move_skbs_from_subflow+0x1a5a/0x21c0
Modules linked in:
CPU: 0 PID: 15171 Comm: syz.4.2107 Not tainted 6.1.113-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__mptcp_move_skbs_from_subflow+0x1a5a/0x21c0 net/mptcp/protocol.c:718
Code: 00 41 c6 06 00 e9 b0 eb ff ff e8 51 31 f6 f6 0f 0b 48 8b 7c 24 30 48 8b 74 24 78 e8 d0 0c 00 00 e9 47 ec ff ff e8 36 31 f6 f6 <0f> 0b 48 8b 7c 24 30 48 8b 74 24 78 e8 b5 0c 00 00 e9 0b f6 ff ff
RSP: 0018:ffffc90000006e60 EFLAGS: 00010246
RAX: ffffffff8a94618a RBX: 0000000000007d00 RCX: ffff88807f7f1dc0
RDX: 0000000000000100 RSI: 00000000000081e5 RDI: 0000000000007d00
RBP: ffff8880768fee10 R08: ffffffff8a94579d R09: ffffed100ed1fdc3
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000020000
R13: 00000000a822f044 R14: 00000000000081e5 R15: dffffc0000000000
FS:  00007f5b668e76c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c265521 CR3: 0000000074739000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 move_skbs_to_msk net/mptcp/protocol.c:836 [inline]
 mptcp_data_ready+0x203/0x790 net/mptcp/protocol.c:879
 subflow_data_ready+0x254/0x390 net/mptcp/subflow.c:1376
 tcp_data_queue+0x21c5/0x6fd0 net/ipv4/tcp_input.c:5165
 tcp_rcv_established+0xe63/0x1f00 net/ipv4/tcp_input.c:6097
 tcp_v4_do_rcv+0x487/0xb00 net/ipv4/tcp_ipv4.c:1683
 tcp_v4_rcv+0x29e0/0x3250 net/ipv4/tcp_ipv4.c:2114
 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:5532 [inline]
 __netif_receive_skb+0x1c6/0x530 net/core/dev.c:5646
 process_backlog+0x381/0x760 net/core/dev.c:5974
 __napi_poll+0xc7/0x470 net/core/dev.c:6541
 napi_poll net/core/dev.c:6608 [inline]
 net_rx_action+0x70f/0xeb0 net/core/dev.c:6722
 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571
 do_softirq+0x162/0x240 kernel/softirq.c:472
 </IRQ>
 <TASK>
 __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+0x173c/0x3d50 net/core/dev.c:4324
 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
 mptcp_push_release net/mptcp/protocol.c:1575 [inline]
 __mptcp_push_pending+0x734/0xd50 net/mptcp/protocol.c:1653
 mptcp_sendmsg+0xbce/0x1840 net/mptcp/protocol.c:1899
 sock_sendmsg_nosec net/socket.c:718 [inline]
 __sock_sendmsg net/socket.c:730 [inline]
 __sys_sendto+0x480/0x600 net/socket.c:2153
 __do_sys_sendto net/socket.c:2165 [inline]
 __se_sys_sendto net/socket.c:2161 [inline]
 __x64_sys_sendto+0xda/0xf0 net/socket.c:2161
 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:0x7f5b65b7dff9
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:00007f5b668e7038 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f5b65d35f80 RCX: 00007f5b65b7dff9
RDX: 00000000ffffff4c RSI: 0000000020000040 RDI: 0000000000000005
RBP: 00007f5b65bf0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f5b65d35f80 R15: 00007fff711a1558
 </TASK>

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/19 11:09 linux-6.1.y 54d90d17e8ce cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in __mptcp_move_skbs_from_subflow
2024/10/19 11:08 linux-6.1.y 54d90d17e8ce cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in __mptcp_move_skbs_from_subflow
2024/10/19 11:07 linux-6.1.y 54d90d17e8ce cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in __mptcp_move_skbs_from_subflow
2024/10/18 04:40 linux-6.1.y 54d90d17e8ce 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in __mptcp_move_skbs_from_subflow
2024/10/18 04:39 linux-6.1.y 54d90d17e8ce 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in __mptcp_move_skbs_from_subflow
2024/10/07 08:48 linux-6.1.y aa4cd140bba5 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in __mptcp_move_skbs_from_subflow
2024/08/13 06:18 linux-6.1.y 36790ef5e00b 7b0f4b46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in __mptcp_move_skbs_from_subflow
2024/10/22 02:57 linux-6.1.y 54d90d17e8ce f1e4447c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in __mptcp_move_skbs_from_subflow
2024/10/22 02:56 linux-6.1.y 54d90d17e8ce f1e4447c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in __mptcp_move_skbs_from_subflow
2024/10/19 09:33 linux-6.1.y 54d90d17e8ce cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in __mptcp_move_skbs_from_subflow
2024/10/19 09:32 linux-6.1.y 54d90d17e8ce cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in __mptcp_move_skbs_from_subflow
2024/10/18 06:27 linux-6.1.y 54d90d17e8ce 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in __mptcp_move_skbs_from_subflow
2024/10/18 06:26 linux-6.1.y 54d90d17e8ce 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in __mptcp_move_skbs_from_subflow
2024/09/23 21:28 linux-6.1.y e526b12bf916 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in __mptcp_move_skbs_from_subflow
* Struck through repros no longer work on HEAD.