syzbot


WARNING in tipc_msg_append

Status: fixed on 2020/07/17 17:58
Subsystems: tipc
[Documentation on labels]
Reported-by: syzbot+75139a7d2605236b0b7f@syzkaller.appspotmail.com
Fix commit: c9aa81faf191 tipc: fix kernel WARNING in tipc_msg_append()
First crash: 1478d, last: 1462d
Cause bisection: introduced by (bisect log) :
commit 0a3e060f340dbe232ffa290c40f879b7f7db595b
Author: Tuong Lien <tuong.t.lien@dektech.com.au>
Date: Tue May 26 09:38:38 2020 +0000

  tipc: add test for Nagle algorithm effectiveness

Crash: general protection fault in __tipc_sendstream (log)
Repro: C syz .config
  
Discussions (3)
Title Replies (including bot) Last reply
[PATCH 5.7 000/112] 5.7.8-rc1 review 121 (121) 2020/07/09 09:29
[net] tipc: fix kernel WARNING in tipc_msg_append() 2 (2) 2020/06/11 19:48
WARNING in tipc_msg_append 0 (1) 2020/06/06 18:13

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 6808 at include/linux/thread_info.h:150 check_copy_size include/linux/thread_info.h:150 [inline]
WARNING: CPU: 0 PID: 6808 at include/linux/thread_info.h:150 copy_from_iter include/linux/uio.h:144 [inline]
WARNING: CPU: 0 PID: 6808 at include/linux/thread_info.h:150 tipc_msg_append+0x49a/0x5e0 net/tipc/msg.c:242
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 6808 Comm: syz-executor028 Not tainted 5.7.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x188/0x20d lib/dump_stack.c:118
 panic+0x2e3/0x75c kernel/panic.c:221
 __warn.cold+0x2f/0x35 kernel/panic.c:582
 report_bug+0x27b/0x2f0 lib/bug.c:195
 fixup_bug arch/x86/kernel/traps.c:105 [inline]
 fixup_bug arch/x86/kernel/traps.c:100 [inline]
 do_error_trap+0x12b/0x220 arch/x86/kernel/traps.c:197
 do_invalid_op+0x32/0x40 arch/x86/kernel/traps.c:216
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027
RIP: 0010:check_copy_size include/linux/thread_info.h:150 [inline]
RIP: 0010:copy_from_iter include/linux/uio.h:144 [inline]
RIP: 0010:tipc_msg_append+0x49a/0x5e0 net/tipc/msg.c:242
Code: 18 48 89 f8 48 c1 e8 03 42 80 3c 38 00 0f 85 2e 01 00 00 49 83 7e 18 00 0f 84 d4 fc ff ff e8 4d e7 da f9 0f 0b e8 46 e7 da f9 <0f> 0b 41 bc f2 ff ff ff e8 39 e7 da f9 44 89 e0 48 83 c4 50 5b 5d
RSP: 0018:ffffc90001627770 EFLAGS: 00010293
RAX: ffff88808efd0580 RBX: 0000000000000018 RCX: ffffffff8798a901
RDX: 0000000000000000 RSI: ffffffff8798aaaa RDI: 0000000000000007
RBP: ffffffffffffffe8 R08: ffff88808efd0580 R09: ffffed1012e78f1d
R10: ffff8880973c78e7 R11: ffffed1012e78f1c R12: ffff8880973c78e8
R13: ffff8880973c78d0 R14: ffff888095fbecc0 R15: dffffc0000000000
 __tipc_sendstream+0xac3/0x1200 net/tipc/socket.c:1578
 tipc_sendstream+0x4c/0x70 net/tipc/socket.c:1533
 tipc_send_packet+0x3c/0x60 net/tipc/socket.c:1638
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:672
 ____sys_sendmsg+0x32f/0x810 net/socket.c:2352
 ___sys_sendmsg+0x100/0x170 net/socket.c:2406
 __sys_sendmmsg+0x195/0x480 net/socket.c:2496
 __do_sys_sendmmsg net/socket.c:2525 [inline]
 __se_sys_sendmmsg net/socket.c:2522 [inline]
 __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2522
 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x49/0xb3
RIP: 0033:0x4401e9
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fff7b6a58b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004401e9
RDX: 04924924924926c8 RSI: 0000000020236fc8 RDI: 0000000000000004
RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401a70
R13: 0000000000401b00 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (107):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/06/05 04:13 net-old 5e9eeccc58f3 6720fdef .config console log report syz C ci-upstream-net-this-kasan-gce
2020/06/21 01:05 net-old 4d3da2d8d91f c655ec77 .config console log report ci-upstream-net-this-kasan-gce
2020/06/20 23:13 net-old 4d3da2d8d91f c655ec77 .config console log report ci-upstream-net-this-kasan-gce
2020/06/20 17:57 net-old 4d3da2d8d91f c655ec77 .config console log report ci-upstream-net-this-kasan-gce
2020/06/20 06:33 net-old 4d3da2d8d91f 81abc331 .config console log report ci-upstream-net-this-kasan-gce
2020/06/19 21:29 net-old 4d3da2d8d91f 81abc331 .config console log report ci-upstream-net-this-kasan-gce
2020/06/19 20:00 net-old 4d3da2d8d91f 81abc331 .config console log report ci-upstream-net-this-kasan-gce
2020/06/19 13:58 net-old 4d3da2d8d91f bc258b50 .config console log report ci-upstream-net-this-kasan-gce
2020/06/18 23:38 net-old 4d3da2d8d91f d45a4d69 .config console log report ci-upstream-net-this-kasan-gce
2020/06/18 18:01 net-old 4d3da2d8d91f d45a4d69 .config console log report ci-upstream-net-this-kasan-gce
2020/06/18 15:05 net-old 4d3da2d8d91f d45a4d69 .config console log report ci-upstream-net-this-kasan-gce
2020/06/18 13:39 net-old 4d3da2d8d91f d45a4d69 .config console log report ci-upstream-net-this-kasan-gce
2020/06/18 00:28 net-old 4d3da2d8d91f b9f3810b .config console log report ci-upstream-net-this-kasan-gce
2020/06/17 23:03 net-old 4d3da2d8d91f b9f3810b .config console log report ci-upstream-net-this-kasan-gce
2020/06/17 20:49 net-old 4d3da2d8d91f b9f3810b .config console log report ci-upstream-net-this-kasan-gce
2020/06/17 18:27 net-old 4d3da2d8d91f b9f3810b .config console log report ci-upstream-net-this-kasan-gce
2020/06/17 14:50 net-old 4d3da2d8d91f b9f3810b .config console log report ci-upstream-net-this-kasan-gce
2020/06/16 22:31 net-old 4d3da2d8d91f 559fbe2d .config console log report ci-upstream-net-this-kasan-gce
2020/06/16 16:04 net-old 4d3da2d8d91f baca2611 .config console log report ci-upstream-net-this-kasan-gce
2020/06/16 14:28 net-old 4d3da2d8d91f baca2611 .config console log report ci-upstream-net-this-kasan-gce
2020/06/16 12:07 net-old 4d3da2d8d91f baca2611 .config console log report ci-upstream-net-this-kasan-gce
2020/06/16 06:49 net-old 4d3da2d8d91f baca2611 .config console log report ci-upstream-net-this-kasan-gce
2020/06/15 15:16 net-old 4d3da2d8d91f 8e3ab941 .config console log report ci-upstream-net-this-kasan-gce
2020/06/15 10:01 net-old 4d3da2d8d91f 8e3ab941 .config console log report ci-upstream-net-this-kasan-gce
2020/06/15 04:17 net-old 4d3da2d8d91f 2a22c77a .config console log report ci-upstream-net-this-kasan-gce
2020/06/15 03:46 net-old 4d3da2d8d91f 2a22c77a .config console log report ci-upstream-net-this-kasan-gce
2020/06/15 02:12 net-old 4d3da2d8d91f 2a22c77a .config console log report ci-upstream-net-this-kasan-gce
2020/06/14 16:24 net-old 4d3da2d8d91f 2a22c77a .config console log report ci-upstream-net-this-kasan-gce
2020/06/14 13:03 net-old 4d3da2d8d91f 2a22c77a .config console log report ci-upstream-net-this-kasan-gce
2020/06/14 02:14 net-old 4d3da2d8d91f dbce178a .config console log report ci-upstream-net-this-kasan-gce
2020/06/14 00:36 net-old 4d3da2d8d91f dbce178a .config console log report ci-upstream-net-this-kasan-gce
2020/06/13 13:10 net-old 4d3da2d8d91f f4724dd3 .config console log report ci-upstream-net-this-kasan-gce
2020/06/13 08:46 net-old 4d3da2d8d91f f4724dd3 .config console log report ci-upstream-net-this-kasan-gce
2020/06/13 00:33 net-old 4d3da2d8d91f df590254 .config console log report ci-upstream-net-this-kasan-gce
2020/06/12 23:09 net-old 4d3da2d8d91f df590254 .config console log report ci-upstream-net-this-kasan-gce
2020/06/12 21:58 net-old 4d3da2d8d91f df590254 .config console log report ci-upstream-net-this-kasan-gce
2020/06/12 18:01 net-old 4d3da2d8d91f df590254 .config console log report ci-upstream-net-this-kasan-gce
2020/06/12 12:43 net-old 4d3da2d8d91f 58802067 .config console log report ci-upstream-net-this-kasan-gce
2020/06/12 06:18 net-old 4d3da2d8d91f 58802067 .config console log report ci-upstream-net-this-kasan-gce
2020/06/12 04:58 net-old 4d3da2d8d91f 58802067 .config console log report ci-upstream-net-this-kasan-gce
2020/06/12 04:26 net-old 4d3da2d8d91f 58802067 .config console log report ci-upstream-net-this-kasan-gce
2020/06/11 19:08 net-old 4d3da2d8d91f 3ab7a05a .config console log report ci-upstream-net-this-kasan-gce
2020/06/11 17:37 net-old 4d3da2d8d91f 3ab7a05a .config console log report ci-upstream-net-this-kasan-gce
2020/06/11 02:58 net-old 4d3da2d8d91f a6f7998d .config console log report ci-upstream-net-this-kasan-gce
2020/06/11 00:55 net-old 4d3da2d8d91f a6f7998d .config console log report ci-upstream-net-this-kasan-gce
2020/06/10 23:10 net-old 4d3da2d8d91f a6f7998d .config console log report ci-upstream-net-this-kasan-gce
2020/06/10 13:50 net-old 4d3da2d8d91f 860c4de9 .config console log report ci-upstream-net-this-kasan-gce
2020/06/10 11:55 net-old 4d3da2d8d91f 860c4de9 .config console log report ci-upstream-net-this-kasan-gce
2020/06/05 02:55 net-old 5e9eeccc58f3 6720fdef .config console log report ci-upstream-net-this-kasan-gce
2020/06/05 02:53 net-old 5e9eeccc58f3 6720fdef .config console log report ci-upstream-net-this-kasan-gce
* Struck through repros no longer work on HEAD.