syzbot


WARNING in rds_message_alloc_sgs

Status: upstream: reported C repro on 2019/09/23 07:52
Reported-by: syzbot+499d920990b5aad9017c@syzkaller.appspotmail.com
First crash: 1168d, last: 219d

Fix bisection: the fix commit could be any of (bisect log):
  c10b57a567e4 Linux 4.14.176
  4139fb08c05f Linux 4.14.187
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in rds_message_alloc_sgs C 6 1462d 1496d 12/24 fixed on 2019/01/11 01:22
Patch testing requests:
Created Duration User Patch Repo Result
2022/11/08 17:30 9m retest repro linux-4.14.y report log
2022/11/08 16:30 9m retest repro linux-4.14.y report log
2022/11/08 15:30 10m retest repro linux-4.14.y report log

Sample crash report:
------------[ 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
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (10):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2020/04/18 12:12 linux-4.14.y c10b57a567e4 435c6d53 .config log report syz C
ci2-linux-4-14 2019/10/12 05:37 linux-4.14.y e132c8d7b58d 426631dd .config log report syz
ci2-linux-4-14 2019/09/23 09:34 linux-4.14.y f6e27dbb1afa d96e88f3 .config log report syz
ci2-linux-4-14 2022/04/29 09:54 linux-4.14.y e3a56aaade89 e9076525 .config log report info WARNING in rds_message_alloc_sgs
ci2-linux-4-14 2020/08/07 07:38 linux-4.14.y ca4f2c56d416 cb436c69 .config log report
ci2-linux-4-14 2020/07/04 22:56 linux-4.14.y b850307b279c 4f739670 .config log report
ci2-linux-4-14 2020/04/25 17:36 linux-4.14.y 050272a0423e a113ba38 .config log report
ci2-linux-4-14 2020/04/18 11:09 linux-4.14.y c10b57a567e4 435c6d53 .config log report
ci2-linux-4-14 2020/04/14 20:09 linux-4.14.y c10b57a567e4 3f3c5574 .config log report
ci2-linux-4-14 2019/09/23 06:51 linux-4.14.y f6e27dbb1afa d96e88f3 .config log report
* Struck through repros no longer work on HEAD.