syzbot


WARNING in mptcp_sendmsg_frag

Status: fixed on 2022/03/16 16:02
Subsystems: mptcp
[Documentation on labels]
Reported-by: syzbot+263a248eec3e875baa7b@syzkaller.appspotmail.com
Fix commit: efe686ffce01 mptcp: ensure tx skbs always have the MPTCP ext mptcp: ensure tx skbs always have the MPTCP ext
First crash: 1126d, last: 1115d
Cause bisection: the cause commit could be any of (bisect log):
  0ee50b47532a namei: change filename_parentat() calling conventions
  584d3226d665 namei: make do_mkdirat() take struct filename
  
Discussions (3)
Title Replies (including bot) Last reply
[PATCH 5.14 000/162] 5.14.9-rc1 review 171 (171) 2021/10/04 10:48
[syzbot] WARNING in mptcp_sendmsg_frag 5 (8) 2021/09/23 15:13
[PATCH net] mptcp: ensure tx skbs always have the MPTCP ext 2 (2) 2021/09/22 13:50
Last patch testing requests (4)
Created Duration User Patch Repo Result
2021/09/22 10:33 18m pabeni@redhat.com patch upstream OK
2021/09/21 17:39 10m pabeni@redhat.com patch upstream report log
2021/09/21 10:00 12m pabeni@redhat.com https://github.com/multipath-tcp/mptcp_net-next.git export OK
2021/09/20 16:53 10m pabeni@redhat.com patch upstream report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 7032 at net/mptcp/protocol.c:1366 mptcp_sendmsg_frag+0x1362/0x1bc0 net/mptcp/protocol.c:1366
Modules linked in:
CPU: 1 PID: 7032 Comm: syz-executor845 Not tainted 5.15.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:mptcp_sendmsg_frag+0x1362/0x1bc0 net/mptcp/protocol.c:1366
Code: ff 4c 8b 74 24 50 48 8b 5c 24 58 e9 0f fb ff ff e8 83 40 8b f8 4c 89 e7 45 31 ed e8 88 57 2e fe e9 81 f4 ff ff e8 6e 40 8b f8 <0f> 0b 41 bd ea ff ff ff e9 6f f4 ff ff 4c 89 e7 e8 b9 89 d2 f8 e9
RSP: 0018:ffffc90003acf830 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff888072918000 RSI: ffffffff88eacb72 RDI: 0000000000000003
RBP: ffff88807a182580 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff88eac1a7 R11: 0000000000000000 R12: ffff88801a08a000
R13: 0000000000000000 R14: ffff888018cb9b80 R15: ffff88801b4f2340
FS:  000055555723b300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000380 CR3: 000000007bebe000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __mptcp_push_pending+0x1fb/0x6b0 net/mptcp/protocol.c:1547
 mptcp_sendmsg+0xc29/0x1bc0 net/mptcp/protocol.c:1748
 inet6_sendmsg+0x99/0xe0 net/ipv6/af_inet6.c:643
 sock_sendmsg_nosec net/socket.c:704 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:724
 sock_write_iter+0x2a0/0x3e0 net/socket.c:1057
 call_write_iter include/linux/fs.h:2163 [inline]
 new_sync_write+0x40b/0x640 fs/read_write.c:507
 vfs_write+0x7cf/0xae0 fs/read_write.c:594
 ksys_write+0x1ee/0x250 fs/read_write.c:647
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f40ee3c4fb9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 15 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd96b7a0f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f40ee3c4fb9
RDX: 00000000000e7b78 RSI: 0000000020000000 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000f0b5ff R09: 0000000000f0b5ff
R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000012096
R13: 00007ffd96b7a120 R14: 00007ffd96b7a110 R15: 00007ffd96b7a104

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/09/18 11:49 net-old 02319bf15acf 70b76c1d .config console log report syz C ci-upstream-net-this-kasan-gce WARNING in mptcp_sendmsg_frag
2021/09/18 12:23 net-next-old 0efcc3f20145 70b76c1d .config console log report syz C ci-upstream-net-kasan-gce WARNING in mptcp_sendmsg_frag
2021/09/22 01:46 upstream 92477dd1faa6 169724fe .config console log report info ci-upstream-kasan-gce-smack-root WARNING in mptcp_sendmsg_frag
2021/09/13 06:46 upstream f306b90c69ce 5ae8508a .config console log report info ci-upstream-kasan-gce WARNING in mptcp_sendmsg_frag
2021/09/11 04:03 upstream 926de8c4326c 5ae8508a .config console log report info ci-upstream-kasan-gce-root WARNING in mptcp_sendmsg_frag
2021/09/18 11:24 net-old 02319bf15acf 70b76c1d .config console log report info ci-upstream-net-this-kasan-gce WARNING in mptcp_sendmsg_frag
* Struck through repros no longer work on HEAD.