syzbot


WARNING in rds_conn_connect_if_down

Status: fixed on 2024/04/10 03:59
Subsystems: rds
[Documentation on labels]
Reported-by: syzbot+d4faee732755bba9838e@syzkaller.appspotmail.com
Fix commit: c055fc00c07b net/rds: fix WARNING in rds_conn_connect_if_down
First crash: 405d, last: 71d
Cause bisection: failed (error log, bisect log)
  
Discussions (12)
Title Replies (including bot) Last reply
[PATCH 4.19 10/41] net/rds: fix WARNING in rds_conn_connect_if_down 1 (1) 2024/03/13 17:04
[PATCH 5.4 10/51] net/rds: fix WARNING in rds_conn_connect_if_down 1 (1) 2024/03/13 17:01
[PATCH 5.10 15/73] net/rds: fix WARNING in rds_conn_connect_if_down 1 (1) 2024/03/13 16:45
[PATCH 5.15 12/76] net/rds: fix WARNING in rds_conn_connect_if_down 1 (1) 2024/03/13 16:41
[PATCH 6.1 15/71] net/rds: fix WARNING in rds_conn_connect_if_down 1 (1) 2024/03/13 16:39
[PATCH 6.6 34/60] net/rds: fix WARNING in rds_conn_connect_if_down 1 (1) 2024/03/13 16:36
[PATCH 6.7 39/61] net/rds: fix WARNING in rds_conn_connect_if_down 1 (1) 2024/03/13 16:32
Coverity: __rds_rdma_map(): Null pointer dereferences 1 (1) 2024/03/07 19:32
[PATCH] net/rds: fix WARNING in rds_conn_connect_if_down 6 (6) 2024/03/06 12:00
[PATCH] net/rds: fix WARNING in rds_conn_connect_if_down 1 (1) 2024/03/03 03:57
[syzbot] [rds?] WARNING in rds_conn_connect_if_down 3 (7) 2024/03/03 03:32
[syzbot] Monthly rds report (Oct 2023) 0 (1) 2023/10/19 13:02
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/03/03 02:59 32m eadavis@qq.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master OK log
2024/03/02 03:36 18m eadavis@qq.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5105 at net/rds/connection.c:933 rds_conn_connect_if_down+0x95/0xb0 net/rds/connection.c:933
Modules linked in:
CPU: 1 PID: 5105 Comm: syz-executor237 Not tainted 6.8.0-rc6-syzkaller-00037-g805d849d7c3c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:rds_conn_connect_if_down+0x95/0xb0 net/rds/connection.c:933
Code: 00 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 ae 12 44 f7 49 8b 3e 5b 41 5e 41 5f e9 f1 fa ff ff e8 ec f4 e1 f6 90 <0f> 0b 90 eb cb 89 d9 80 e1 07 38 c1 7c a9 48 89 df e8 f5 11 44 f7
RSP: 0018:ffffc900043778a0 EFLAGS: 00010293
RAX: ffffffff8ab17864 RBX: 0000000000000002 RCX: ffff888078068000
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: ffffc90004377ad0 R08: ffffffff8ab1782b R09: ffffffff8ab29801
R10: 0000000000000002 R11: ffff888078068000 R12: ffff88806e676000
R13: ffff8880217b1f00 R14: ffff888021c26000 R15: dffffc0000000000
FS:  00007f16ee1766c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020950000 CR3: 000000006e576000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 rds_sendmsg+0x1409/0x2280 net/rds/send.c:1319
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0x221/0x270 net/socket.c:745
 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2584
 ___sys_sendmsg net/socket.c:2638 [inline]
 __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2667
 do_syscall_64+0xf9/0x240
 entry_SYSCALL_64_after_hwframe+0x6f/0x77
RIP: 0033:0x7f16ee1fb519
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 1a 00 00 90 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f16ee176218 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f16ee285428 RCX: 00007f16ee1fb519
RDX: 0000000000000000 RSI: 0000000020000800 RDI: 0000000000000003
RBP: 00007f16ee285420 R08: 00007ffea61c5997 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f16ee28542c
R13: 00007f16ee252504 R14: 732e79726f6d656d R15: 00007ffea61c5998
 </TASK>

Crashes (17):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/01 02:11 upstream 805d849d7c3c 352ab904 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in rds_conn_connect_if_down
2024/02/27 18:22 net 10bfd453da64 05e69c83 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rds_conn_connect_if_down
2024/02/27 14:58 net-next 25d434257464 05e69c83 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in rds_conn_connect_if_down
2024/03/07 10:33 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9910665503b3 f39a7eed .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in rds_conn_connect_if_down
2024/03/04 02:37 upstream 58c806d867bf 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in rds_conn_connect_if_down
2024/02/27 07:36 upstream 45ec2f5f6ed3 05e69c83 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in rds_conn_connect_if_down
2023/08/21 22:50 upstream f7757129e3de 6b415825 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in rds_conn_connect_if_down
2023/07/30 19:15 upstream d31e3792919e 2a0d0f29 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in rds_conn_connect_if_down
2023/07/30 04:46 upstream 12214540ad87 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in rds_conn_connect_if_down
2023/04/07 20:45 net b9881d9a761a f7ba566d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rds_conn_connect_if_down
2024/02/27 13:35 net-next 25d434257464 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in rds_conn_connect_if_down
2024/02/13 22:21 net-next 86fe596b588f e66542d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in rds_conn_connect_if_down
2023/12/09 00:39 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in rds_conn_connect_if_down
2023/12/04 07:33 net-next 8470e4368b0f f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in rds_conn_connect_if_down
2023/10/13 23:07 net-next cf8b49fbd041 6388bc36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in rds_conn_connect_if_down
2023/07/10 14:22 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 52ae002a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in rds_conn_connect_if_down
2023/07/10 14:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 52ae002a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in rds_conn_connect_if_down
* Struck through repros no longer work on HEAD.