syzbot


WARNING in rxe_pool_cleanup

Status: upstream: reported on 2025/06/20 15:15
Reported-by: syzbot+a5dcac24232c46bb6698@syzkaller.appspotmail.com
First crash: 7h09m, last: 7h09m
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in rxe_pool_cleanup 8 3d22h 134d 0/3 upstream: reported on 2025/02/06 21:22
upstream WARNING in rxe_pool_cleanup rdma C 339 6h56m 403d 0/29 upstream: reported C repro on 2024/05/13 02:22

Sample crash report:
smc: removing ib device syz0
------------[ cut here ]------------
WARNING: CPU: 1 PID: 25369 at drivers/infiniband/sw/rxe/rxe_pool.c:116 rxe_pool_cleanup+0x42/0x50 drivers/infiniband/sw/rxe/rxe_pool.c:116
Modules linked in:
CPU: 1 PID: 25369 Comm: syz.8.5705 Not tainted 6.6.94-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:rxe_pool_cleanup+0x42/0x50 drivers/infiniband/sw/rxe/rxe_pool.c:116
Code: 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 90 f5 1b fa 48 83 3b 00 75 07 e8 65 4e c3 f9 5b c3 e8 5e 4e c3 f9 <0f> 0b 5b c3 66 2e 0f 1f 84 00 00 00 00 00 66 0f 1f 00 55 41 57 41
RSP: 0018:ffffc90003777168 EFLAGS: 00010246
RAX: ffffffff87c24772 RBX: ffff88807d2ed298 RCX: 0000000000080000
RDX: ffffc9001283e000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: 0000000000000002 R08: ffff88807d2ec743 R09: 1ffff1100fa5d8e8
R10: dffffc0000000000 R11: ffffed100fa5d8e9 R12: dffffc0000000000
R13: 1ffff920006eee48 R14: ffffffff87c08e10 R15: dffffc0000000000
FS:  00007f97560536c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd10c181178 CR3: 000000006ca15000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 rxe_dealloc+0x33/0x100 drivers/infiniband/sw/rxe/rxe.c:24
 ib_dealloc_device+0x4e/0x1f0 drivers/infiniband/core/device.c:666
 __ib_unregister_device+0x120/0x170 drivers/infiniband/core/device.c:1501
 ib_unregister_device_and_put+0xb8/0xf0 drivers/infiniband/core/device.c:1548
 nldev_dellink+0x2af/0x300 drivers/infiniband/core/nldev.c:1761
 rdma_nl_rcv_msg drivers/infiniband/core/netlink.c:-1 [inline]
 rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline]
 rdma_nl_rcv+0x6b9/0x9a0 drivers/infiniband/core/netlink.c:259
 netlink_unicast_kernel net/netlink/af_netlink.c:1323 [inline]
 netlink_unicast+0x750/0x8c0 net/netlink/af_netlink.c:1349
 netlink_sendmsg+0x8c1/0xbe0 net/netlink/af_netlink.c:1891
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg net/socket.c:745 [inline]
 ____sys_sendmsg+0x5bf/0x950 net/socket.c:2595
 ___sys_sendmsg+0x220/0x290 net/socket.c:2649
 __sys_sendmsg net/socket.c:2678 [inline]
 __do_sys_sendmsg net/socket.c:2687 [inline]
 __se_sys_sendmsg+0x1a5/0x270 net/socket.c:2685
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f975518e929
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9756053038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f97553b6240 RCX: 00007f975518e929
RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 000000000000000a
RBP: 00007f9755210b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f97553b6240 R15: 00007ffed85a6de8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/20 15:14 linux-6.6.y 6282921b6825 804b3919 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in rxe_pool_cleanup
* Struck through repros no longer work on HEAD.