WARNING in rds_message_alloc_sgs

5 views
Skip to first unread message

syzbot

unread,
Sep 23, 2019, 3:52:08 AM9/23/19
to syzkaller...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: f6e27dbb Linux 4.14.146
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=168c43ad600000
kernel config: https://syzkaller.appspot.com/x/.config?x=cb75afefe94a0801
dashboard link: https://syzkaller.appspot.com/bug?extid=499d920990b5aad9017c
compiler: gcc (GCC) 9.0.0 20181231 (experimental)

Unfortunately, I don't have any reproducer for this crash yet.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+499d92...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 0 PID: 30739 at net/rds/message.c:227
rds_message_alloc_sgs+0xf8/0x140 net/rds/message.c:227
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 30739 Comm: syz-executor.5 Not tainted 4.14.146 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x138/0x197 lib/dump_stack.c:53
panic+0x1f2/0x426 kernel/panic.c:182
__warn.cold+0x2f/0x36 kernel/panic.c:546
report_bug+0x216/0x254 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x1bb/0x310 arch/x86/kernel/traps.c:295
do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:963
RIP: 0010:rds_message_alloc_sgs+0xf8/0x140 net/rds/message.c:227
RSP: 0018:ffff8881ff85f840 EFLAGS: 00010216
RAX: 0000000000040000 RBX: ffff8880928ae940 RCX: ffffc900130e8000
RDX: 000000000000042f RSI: ffffffff85af5108 RDI: ffff8880928aeab4
RBP: ffff8881ff85f870 R08: 000000009a7d889b R09: 0000000000000000
R10: 0000000000000000 R11: ffff88805f2e6000 R12: 0000000000000089
R13: 0000000000000000 R14: ffff8880928aeab0 R15: 0000000000000009
rds_cmsg_rdma_args+0x465/0x1170 net/rds/rdma.c:621
rds_cmsg_send net/rds/send.c:943 [inline]
rds_sendmsg+0xd59/0x1db0 net/rds/send.c:1132
sock_sendmsg_nosec net/socket.c:646 [inline]
sock_sendmsg+0xce/0x110 net/socket.c:656
___sys_sendmsg+0x70a/0x840 net/socket.c:2062
__sys_sendmsg+0xb9/0x140 net/socket.c:2096
SYSC_sendmsg net/socket.c:2107 [inline]
SyS_sendmsg+0x2d/0x50 net/socket.c:2103
do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x459a09
RSP: 002b:00007ffb2cd42c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459a09
RDX: 0000000000000000 RSI: 0000000020001600 RDI: 0000000000000006
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffb2cd436d4
R13: 00000000004c795a R14: 00000000004dd358 R15: 00000000ffffffff
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 syzk...@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Sep 23, 2019, 5:35:08 AM9/23/19
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following crash on:

HEAD commit: f6e27dbb Linux 4.14.146
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1774bee9600000
kernel config: https://syzkaller.appspot.com/x/.config?x=cb75afefe94a0801
dashboard link: https://syzkaller.appspot.com/bug?extid=499d920990b5aad9017c
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11d6f5b1600000

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+499d92...@syzkaller.appspotmail.com

rdma_op ffff888090669018 conn xmit_rdma (null)
rdma_op ffff8880a51b1758 conn xmit_rdma (null)
------------[ cut here ]------------
WARNING: CPU: 1 PID: 23091 at net/rds/message.c:227
rds_message_alloc_sgs+0xf8/0x140 net/rds/message.c:227
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 23091 Comm: syz-executor.0 Not tainted 4.14.146 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x138/0x197 lib/dump_stack.c:53
panic+0x1f2/0x426 kernel/panic.c:182
kobject: 'loop3' (ffff8880a49e8e20): kobject_uevent_env
__warn.cold+0x2f/0x36 kernel/panic.c:546
report_bug+0x216/0x254 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x1bb/0x310 arch/x86/kernel/traps.c:295
kobject: 'loop3' (ffff8880a49e8e20): fill_kobj_path: path
= '/devices/virtual/block/loop3'
do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:963
RIP: 0010:rds_message_alloc_sgs+0xf8/0x140 net/rds/message.c:227
kobject: 'loop3' (ffff8880a49e8e20): kobject_uevent_env
RSP: 0018:ffff88809dcf7840 EFLAGS: 00010297
RAX: ffff8880a931a680 RBX: ffff8880a912b240 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000088 RDI: ffff8880a912b3b4
RBP: ffff88809dcf7870 R08: 000000009a7d889b R09: 0000000000000000
R10: 0000000000000000 R11: ffff8880a931a680 R12: 0000000000000088
R13: 0000000000000000 R14: ffff8880a912b3b0 R15: 0000000000000008
rds_cmsg_rdma_args+0x465/0x1170 net/rds/rdma.c:621
kobject: 'loop3' (ffff8880a49e8e20): fill_kobj_path: path
= '/devices/virtual/block/loop3'
kobject: 'loop3' (ffff8880a49e8e20): kobject_uevent_env
kobject: 'loop3' (ffff8880a49e8e20): fill_kobj_path: path
= '/devices/virtual/block/loop3'
rds_cmsg_send net/rds/send.c:943 [inline]
rds_sendmsg+0xd59/0x1db0 net/rds/send.c:1132
sock_sendmsg_nosec net/socket.c:646 [inline]
sock_sendmsg+0xce/0x110 net/socket.c:656
___sys_sendmsg+0x70a/0x840 net/socket.c:2062
kobject: 'loop3' (ffff8880a49e8e20): kobject_uevent_env
kobject: 'loop3' (ffff8880a49e8e20): fill_kobj_path: path
= '/devices/virtual/block/loop3'
kobject: 'loop3' (ffff8880a49e8e20): kobject_uevent_env
kobject: 'loop3' (ffff8880a49e8e20): fill_kobj_path: path
= '/devices/virtual/block/loop3'
__sys_sendmsg+0xb9/0x140 net/socket.c:2096
SYSC_sendmsg net/socket.c:2107 [inline]
SyS_sendmsg+0x2d/0x50 net/socket.c:2103
do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x459a09
RSP: 002b:00007feba9688c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459a09
RDX: 0000000000000000 RSI: 0000000020001600 RDI: 0000000000000003
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007feba96896d4

syzbot

unread,
Apr 18, 2020, 8:13:12 AM4/18/20
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following crash on:

HEAD commit: c10b57a5 Linux 4.14.176
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=147a4a27e00000
kernel config: https://syzkaller.appspot.com/x/.config?x=457897b554d08537
dashboard link: https://syzkaller.appspot.com/bug?extid=499d920990b5aad9017c
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1683c65fe00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=126890bbe00000

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+499d92...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 1 PID: 7076 at net/rds/message.c:227 rds_message_alloc_sgs+0xe3/0x120 net/rds/message.c:227
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 7076 Comm: syz-executor319 Not tainted 4.14.176-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x13e/0x194 lib/dump_stack.c:58
panic+0x1f9/0x42d kernel/panic.c:183
__warn.cold+0x2f/0x30 kernel/panic.c:547
report_bug+0x20a/0x248 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:963
RIP: 0010:rds_message_alloc_sgs+0xe3/0x120 net/rds/message.c:227
RSP: 0018:ffff888091207868 EFLAGS: 00010297
RAX: ffff8880943f2340 RBX: ffff888091972040 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000017 RDI: ffff8880919721b4
RBP: 0000000000000017 R08: 0000000000000001 R09: 0000000000000000
R10: ffff8880943f2bc0 R11: ffff8880943f2340 R12: 0000000000000000
R13: ffff8880919721b0 R14: 0000000000000017 R15: 0000000000000009
rds_cmsg_rdma_args+0x465/0x1170 net/rds/rdma.c:621
rds_cmsg_send net/rds/send.c:943 [inline]
rds_sendmsg+0xcaa/0x1be0 net/rds/send.c:1132
sock_sendmsg_nosec net/socket.c:646 [inline]
sock_sendmsg+0xc5/0x100 net/socket.c:656
___sys_sendmsg+0x70a/0x840 net/socket.c:2062
__sys_sendmsg+0xa3/0x120 net/socket.c:2096
SYSC_sendmsg net/socket.c:2107 [inline]
SyS_sendmsg+0x27/0x40 net/socket.c:2103
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x441da9
RSP: 002b:00007ffc48e08438 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000441da9
RDX: 0000000000000000 RSI: 0000000020001600 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000015d
R13: 0000000000402bb0 R14: 0000000000000000 R15: 0000000000000000
Reply all
Reply to author
Forward
0 new messages