[<prev] [next>] [day] [month] [year] [list]
Message-ID: <000000000000e9fc4a05a76e54f8@google.com>
Date: Sat, 06 Jun 2020 11:13:16 -0700
From: syzbot <syzbot+75139a7d2605236b0b7f@...kaller.appspotmail.com>
To: davem@...emloft.net, jmaloy@...hat.com, kuba@...nel.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
syzkaller-bugs@...glegroups.com,
tipc-discussion@...ts.sourceforge.net, tuong.t.lien@...tech.com.au,
ying.xue@...driver.com
Subject: WARNING in tipc_msg_append
Hello,
syzbot found the following crash on:
HEAD commit: 5e9eeccc tipc: fix NULL pointer dereference in streaming
git tree: net
console output: https://syzkaller.appspot.com/x/log.txt?x=15ee307a100000
kernel config: https://syzkaller.appspot.com/x/.config?x=a16ddbc78955e3a9
dashboard link: https://syzkaller.appspot.com/bug?extid=75139a7d2605236b0b7f
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=118e2961100000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10534c1e100000
The bug was bisected to:
commit 0a3e060f340dbe232ffa290c40f879b7f7db595b
Author: Tuong Lien <tuong.t.lien@...tech.com.au>
Date: Tue May 26 09:38:38 2020 +0000
tipc: add test for Nagle algorithm effectiveness
bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1097e65a100000
final crash: https://syzkaller.appspot.com/x/report.txt?x=1297e65a100000
console output: https://syzkaller.appspot.com/x/log.txt?x=1497e65a100000
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+75139a7d2605236b0b7f@...kaller.appspotmail.com
Fixes: 0a3e060f340d ("tipc: add test for Nagle algorithm effectiveness")
------------[ 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..
---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@...glegroups.com.
syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
For information about bisection process see: https://goo.gl/tpsmEJ#bisection
syzbot can test patches for this bug, for details see:
https://goo.gl/tpsmEJ#testing-patches
Powered by blists - more mailing lists