syzbot


WARNING in rxe_pool_cleanup

Status: upstream: reported on 2024/05/13 02:22
Subsystems: rdma
[Documentation on labels]
Reported-by: syzbot+221e213bf17f17e0d6cd@syzkaller.appspotmail.com
First crash: 40d, last: 5d13h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [rdma?] WARNING in rxe_pool_cleanup 0 (1) 2024/05/13 02:22

Sample crash report:
netlink: 8 bytes leftover after parsing attributes in process `syz-executor.4'.
smc: removing ib device syz1
------------[ cut here ]------------
WARNING: CPU: 1 PID: 12274 at drivers/infiniband/sw/rxe/rxe_pool.c:116 rxe_pool_cleanup+0x41/0x60 drivers/infiniband/sw/rxe/rxe_pool.c:116
Modules linked in:
CPU: 1 PID: 12274 Comm: syz-executor.4 Not tainted 6.10.0-rc3-syzkaller-00022-gcea2a26553ac #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:rxe_pool_cleanup+0x41/0x60 drivers/infiniband/sw/rxe/rxe_pool.c:116
Code: 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 1f 48 83 bb 80 00 00 00 00 75 06 5b e9 d5 da 69 f9 e8 d0 da 69 f9 90 <0f> 0b 90 5b e9 c6 da 69 f9 e8 41 ae c5 f9 eb da 66 66 2e 0f 1f 84
RSP: 0018:ffffc90003297230 EFLAGS: 00010246
RAX: 0000000000040000 RBX: ffff888060d7d228 RCX: ffffc90010b22000
RDX: 0000000000040000 RSI: ffffffff88240a80 RDI: ffff888060d7d2a8
RBP: ffffffff882278d0 R08: 0000000000000005 R09: 0000000000000001
R10: 0000000000000002 R11: 0000000000000000 R12: ffff888060d7c638
R13: 0000000000000000 R14: 0000000000000000 R15: ffff88805ed3bb40
FS:  00007f3a74c536c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e143000 CR3: 000000002b874000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 rxe_dealloc+0x26/0x110 drivers/infiniband/sw/rxe/rxe.c:24
 ib_dealloc_device+0x46/0x230 drivers/infiniband/core/device.c:657
 __ib_unregister_device+0x15e/0x190 drivers/infiniband/core/device.c:1492
 ib_unregister_device_and_put+0x5a/0x80 drivers/infiniband/core/device.c:1539
 nldev_dellink+0x215/0x310 drivers/infiniband/core/nldev.c:1808
 rdma_nl_rcv_msg+0x388/0x6e0 drivers/infiniband/core/netlink.c:195
 rdma_nl_rcv_skb.constprop.0.isra.0+0x2e6/0x450 drivers/infiniband/core/netlink.c:239
 netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline]
 netlink_unicast+0x542/0x820 net/netlink/af_netlink.c:1361
 netlink_sendmsg+0x8b8/0xd70 net/netlink/af_netlink.c:1905
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg net/socket.c:745 [inline]
 ____sys_sendmsg+0xab5/0xc90 net/socket.c:2585
 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2639
 __sys_sendmsg+0x117/0x1f0 net/socket.c:2668
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3a73e7cea9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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:00007f3a74c530c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f3a73fb4120 RCX: 00007f3a73e7cea9
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000006
RBP: 00007f3a73eebff4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f3a73fb4120 R15: 00007ffc6b1ebb98
 </TASK>

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/12 22:38 upstream cea2a26553ac 2aa5052f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in rxe_pool_cleanup
2024/06/12 21:23 upstream cea2a26553ac 4d75f4f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in rxe_pool_cleanup
2024/06/12 21:02 upstream cea2a26553ac 4d75f4f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in rxe_pool_cleanup
2024/06/12 17:26 upstream 2ef5971ff345 4d75f4f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in rxe_pool_cleanup
2024/06/12 07:49 upstream 2ef5971ff345 4d75f4f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in rxe_pool_cleanup
2024/05/09 02:14 upstream 6d7ddd805123 20bf80e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in rxe_pool_cleanup
2024/05/09 11:42 net-next 8d8b1a422c46 20bf80e1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in rxe_pool_cleanup
* Struck through repros no longer work on HEAD.