syzbot


WARNING in rds_message_alloc_sgs

Status: fixed on 2019/01/11 01:22
Subsystems: rds
[Documentation on labels]
Reported-by: syzbot+26de17458aeda9d305d8@syzkaller.appspotmail.com
Fix commit: ea010070d0a7 net/rds: fix warn in rds_message_alloc_sgs
First crash: 2004d, last: 1970d
Discussions (4)
Title Replies (including bot) Last reply
[PATCH 4.19 000/110] 4.19.36-stable review 119 (119) 2019/04/20 05:33
[PATCH AUTOSEL 4.19 01/57] drm/cirrus: Use drm_framebuffer_put to avoid kernel oops in clean-up 49 (49) 2019/04/03 16:17
[PATCH rds linux-next v4 0/2] WARNING in rds_message_alloc_sgs 10 (10) 2018/12/19 18:30
WARNING in rds_message_alloc_sgs 3 (4) 2018/10/31 16:44
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in rds_message_alloc_sgs C inconclusive 10 727d 1676d 0/1 upstream: reported C repro on 2019/09/23 07:52

Sample crash report:
WARNING: CPU: 1 PID: 6211 at net/rds/message.c:316 rds_message_alloc_sgs+0x10c/0x160 net/rds/message.c:316
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 6211 Comm: syz-executor633 Not tainted 4.19.0+ #88
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+0x244/0x39d lib/dump_stack.c:113
 panic+0x238/0x4e7 kernel/panic.c:184
 __warn.cold.8+0x20/0x4a kernel/panic.c:536
 report_bug+0x254/0x2d0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271
 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:290
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:966
RIP: 0010:rds_message_alloc_sgs+0x10c/0x160 net/rds/message.c:316
Code: c0 74 04 3c 03 7e 6c 44 01 ab 78 01 00 00 e8 db 89 38 fa 4c 89 e0 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 c4 89 38 fa <0f> 0b 31 ff 44 89 ee e8 c8 8a 38 fa 45 85 ed 75 1b e8 ae 89 38 fa
RSP: 0018:ffff8801b91a7460 EFLAGS: 00010293
RAX: ffff8801d2f68400 RBX: ffff8801b9328040 RCX: ffffffff8746d9c6
RDX: 0000000000000000 RSI: ffffffff8746da3c RDI: 0000000000000004
RBP: ffff8801b91a7490 R08: ffff8801d2f68400 R09: ffffed003b5e5b67
R10: ffffed003b5e5b67 R11: ffff8801daf2db3b R12: 0000000000000000
R13: 000000000007165c R14: 000000000007165c R15: 0000000000000005
 rds_cmsg_rdma_args+0x82d/0x1510 net/rds/rdma.c:623
 rds_cmsg_send net/rds/send.c:971 [inline]
 rds_sendmsg+0x19a2/0x3180 net/rds/send.c:1273
kobject: 'regulatory.0' (0000000014c4b0c0): kobject_uevent_env
kobject: 'regulatory.0' (0000000014c4b0c0): fill_kobj_path: path = '/devices/platform/regulatory.0'
 sock_sendmsg_nosec net/socket.c:621 [inline]
 sock_sendmsg+0xd5/0x120 net/socket.c:631
 ___sys_sendmsg+0x7fd/0x930 net/socket.c:2116
 __sys_sendmsg+0x11d/0x280 net/socket.c:2154
 __do_sys_sendmsg net/socket.c:2163 [inline]
 __se_sys_sendmsg net/socket.c:2161 [inline]
 __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2161
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44a1c9
Code: e8 6c b4 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 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 4b cd fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fe943d40da8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 000000000044a1c9
RDX: 0000000000000000 RSI: 0000000020001600 RDI: 0000000000000005
RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000006dbc2c R11: 0000000000000246 R12: 00000000006dbc2c
R13: 646e732f7665642f R14: 00007fe943d419c0 R15: 00000000006dbd2c
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/10/30 22:16 upstream 11743c56785c 8dbb755a .config console log report syz C ci-upstream-kasan-gce-smack-root
2018/10/30 18:40 linux-next 6201f31a39f8 8dbb755a .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/10/30 18:02 upstream 11743c56785c 8dbb755a .config console log report syz ci-upstream-kasan-gce-root
2018/10/30 17:03 upstream 11743c56785c 8dbb755a .config console log report syz ci-upstream-kasan-gce-selinux-root
2018/12/03 15:54 upstream 2595646791c3 819002b0 .config console log report ci-upstream-kasan-gce-selinux-root
2018/10/30 16:15 upstream 11743c56785c 8dbb755a .config console log report ci-upstream-kasan-gce-selinux-root
* Struck through repros no longer work on HEAD.