syzbot


WARNING in subflow_data_ready

Status: fixed on 2024/01/20 21:18
Subsystems: mptcp
[Documentation on labels]
Reported-by: syzbot+c53d4d3ddb327e80bc51@syzkaller.appspotmail.com
Fix commit: 4fd19a307016 mptcp: fix inconsistent state on fastopen race
First crash: 217d, last: 129d
Discussions (3)
Title Replies (including bot) Last reply
[PATCH net 0/7] mptcp: locking cleanup & misc. fixes 3 (3) 2024/02/12 10:10
[PATCH net 0/4] mptcp: misc. fixes for v6.7 3 (3) 2023/12/17 21:01
[syzbot] [mptcp?] WARNING in subflow_data_ready 1 (2) 2023/10/27 17:15
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in subflow_data_ready origin:lts-only C 6 23d 136d 0/3 upstream: reported C repro on 2024/01/11 08:07
upstream WARNING in subflow_data_ready (2) mptcp C done 9 105d 122d 0/26 auto-obsoleted due to no activity on 2024/05/21 09:30

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 27926 at net/mptcp/subflow.c:1411 subflow_data_ready+0x3a0/0x690 net/mptcp/subflow.c:1411
Modules linked in:
CPU: 1 PID: 27926 Comm: syz-executor.3 Not tainted 6.7.0-syzkaller-10085-g1b1934dbbdcf #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:subflow_data_ready+0x3a0/0x690 net/mptcp/subflow.c:1411
Code: 89 ee e8 53 c2 17 f7 40 84 ed 75 21 e8 19 c7 17 f7 44 89 fe bf 07 00 00 00 e8 7c c2 17 f7 41 83 ff 07 74 09 e8 01 c7 17 f7 90 <0f> 0b 90 e8 f8 c6 17 f7 48 89 df e8 70 b2 ff ff 31 ff 89 c5 89 c6
RSP: 0018:ffffc900163cedc8 EFLAGS: 00010287
RAX: 0000000000021cdb RBX: ffff88804dfca4c0 RCX: ffffc9000c3e6000
RDX: 0000000000040000 RSI: ffffffff8a7049af RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000007
R10: 000000000000000b R11: 0000000000000000 R12: 1ffff92002c79db9
R13: ffff888041fed080 R14: ffff88801cd42200 R15: 000000000000000b
FS:  00007fef105ef6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa2f7f00f62 CR3: 000000007a0fa000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 tcp_data_ready+0x14c/0x5b0 net/ipv4/tcp_input.c:5143
 tcp_data_queue+0x19bb/0x5190 net/ipv4/tcp_input.c:5223
 tcp_rcv_state_process+0x11d2/0x4e30 net/ipv4/tcp_input.c:6859
 tcp_v4_do_rcv+0x369/0xa10 net/ipv4/tcp_ipv4.c:1929
 sk_backlog_rcv include/net/sock.h:1092 [inline]
 __release_sock+0x132/0x3b0 net/core/sock.c:2972
 release_sock+0x5a/0x1f0 net/core/sock.c:3538
 __mptcp_close_ssk+0xb12/0xfd0 net/mptcp/protocol.c:2421
 mptcp_pm_nl_rm_addr_or_subflow+0x29e/0xa30 net/mptcp/pm_netlink.c:818
 mptcp_pm_remove_subflow+0x34/0xa0 net/mptcp/pm.c:69
 mptcp_nl_remove_subflow_and_signal_addr net/mptcp/pm_netlink.c:1423 [inline]
 mptcp_pm_nl_del_addr_doit+0x68d/0xd60 net/mptcp/pm_netlink.c:1510
 genl_family_rcv_msg_doit+0x1fc/0x2e0 net/netlink/genetlink.c:1113
 genl_family_rcv_msg net/netlink/genetlink.c:1193 [inline]
 genl_rcv_msg+0x561/0x800 net/netlink/genetlink.c:1208
 netlink_rcv_skb+0x16b/0x440 net/netlink/af_netlink.c:2543
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1217
 netlink_unicast_kernel net/netlink/af_netlink.c:1341 [inline]
 netlink_unicast+0x53b/0x810 net/netlink/af_netlink.c:1367
 netlink_sendmsg+0x8b7/0xd70 net/netlink/af_netlink.c:1908
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0xd5/0x180 net/socket.c:745
 ____sys_sendmsg+0x6ac/0x940 net/socket.c:2584
 ___sys_sendmsg+0x135/0x1d0 net/socket.c:2638
 __sys_sendmsg+0x117/0x1e0 net/socket.c:2667
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fef0f87cda9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fef105ef0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fef0f9ac050 RCX: 00007fef0f87cda9
RDX: 0000000000000000 RSI: 0000000020000740 RDI: 0000000000000004
RBP: 00007fef0f8c947a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fef0f9ac050 R15: 00007ffcc03e6398
 </TASK>

Crashes (42):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/18 00:56 upstream 1b1934dbbdcf 915053c7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in subflow_data_ready
2024/01/17 06:21 upstream 052d534373b7 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in subflow_data_ready
2024/01/17 02:28 upstream 052d534373b7 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in subflow_data_ready
2023/12/29 14:45 upstream 8735c7c84d1b fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in subflow_data_ready
2023/12/29 01:57 upstream 505e701c0b2c fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in subflow_data_ready
2023/12/23 09:56 upstream 5254c0cbc92d fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in subflow_data_ready
2023/12/20 12:48 upstream 55cb5f43689d 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in subflow_data_ready
2023/12/16 04:05 upstream 3bd7d7488169 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in subflow_data_ready
2023/12/12 22:23 upstream eaadbbaaff74 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in subflow_data_ready
2023/12/12 13:29 upstream 26aff849438c ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in subflow_data_ready
2023/11/26 15:00 upstream 090472ed9c92 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in subflow_data_ready
2023/11/20 14:31 upstream 98b1cc82c4af cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in subflow_data_ready
2023/11/12 23:14 upstream b57b17e88bf5 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in subflow_data_ready
2023/11/05 17:20 upstream 1c41041124bd 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in subflow_data_ready
2023/10/21 18:38 upstream 9c5d00cb7b6b 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in subflow_data_ready
2024/01/05 21:45 upstream 6d0dc8559c84 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in subflow_data_ready
2023/12/06 16:07 upstream bee0e7762ad2 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in subflow_data_ready
2023/10/23 07:52 upstream 05d3ef8bba77 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in subflow_data_ready
2024/01/01 11:06 upstream 610a9b8f49fb fb427a07 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in subflow_data_ready
2023/12/16 01:30 upstream 3bd7d7488169 3222d10c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in subflow_data_ready
2023/12/15 11:44 upstream 3f7168591ebf 3222d10c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in subflow_data_ready
2024/01/08 05:35 net ac631873c9e7 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in subflow_data_ready
2024/01/07 11:20 net 3f14b377d01d d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in subflow_data_ready
2024/01/05 07:45 net 4c8530dc7d7d 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in subflow_data_ready
2024/01/05 07:39 net 4c8530dc7d7d 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in subflow_data_ready
2023/12/30 14:37 net dcea1bd45e6d fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in subflow_data_ready
2023/12/30 10:39 net 97417cd79ce1 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in subflow_data_ready
2023/12/27 05:00 net 0ee2384a5a0f fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in subflow_data_ready
2023/12/24 16:00 net 7c5e046bdcb2 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in subflow_data_ready
2023/12/16 18:30 net b1dfc0f76231 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in subflow_data_ready
2023/12/16 04:15 net b1dfc0f76231 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in subflow_data_ready
2023/11/23 07:08 net 6a26310273c3 03e12510 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in subflow_data_ready
2023/12/23 02:52 net-next 27c346a22f81 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in subflow_data_ready
2023/12/20 04:21 net-next 1728df7fc11b 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in subflow_data_ready
2023/12/19 00:47 net-next 509afc745270 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in subflow_data_ready
2023/12/14 04:51 net-next 604ca8ee7bdc 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in subflow_data_ready
2023/12/10 05:11 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in subflow_data_ready
2024/01/09 16:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 0802e17d9aca 4807fb37 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in subflow_data_ready
2023/12/22 19:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci aafe7ad77b91 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in subflow_data_ready
2023/11/19 01:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in subflow_data_ready
2023/11/09 03:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 4862372a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in subflow_data_ready
2023/10/26 17:51 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 23afc60f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in subflow_data_ready
* Struck through repros no longer work on HEAD.