syzbot


WARNING in rxe_pool_cleanup

Status: upstream: reported on 2025/06/20 15:15
Reported-by: syzbot+a5dcac24232c46bb6698@syzkaller.appspotmail.com
First crash: 71d, last: 1d06h
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in rxe_pool_cleanup -1 9 55d 205d 0/3 upstream: reported on 2025/02/06 21:22
upstream WARNING in rxe_pool_cleanup rdma -1 C 416 7m 474d 0/29 upstream: reported C repro on 2024/05/13 02:22

Sample crash report:
smc: removing ib device syz1
------------[ cut here ]------------
WARNING: CPU: 0 PID: 28360 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: 0 PID: 28360 Comm: syz.3.5731 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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 40 d3 1a fa 48 83 3b 00 75 07 e8 f5 8c c3 f9 5b c3 e8 ee 8c 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:ffffc90005367168 EFLAGS: 00010246
RAX: ffffffff87c202b2 RBX: ffff888057b19298 RCX: 0000000000080000
RDX: ffffc900116b4000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: 0000000000000002 R08: ffff888057b18743 R09: 1ffff1100af630e8
R10: dffffc0000000000 R11: ffffed100af630e9 R12: dffffc0000000000
R13: 1ffff92000a6ce48 R14: ffffffff87c04950 R15: dffffc0000000000
FS:  00007faed6f3e6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffffd CR3: 0000000059e3f000 CR4: 00000000003506f0
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:1762
 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:1320 [inline]
 netlink_unicast+0x751/0x8d0 net/netlink/af_netlink.c:1346
 netlink_sendmsg+0x8c1/0xbe0 net/netlink/af_netlink.c:1894
 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:0x7faed618ebe9
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:00007faed6f3e038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007faed63b6270 RCX: 00007faed618ebe9
RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 0000000000000008
RBP: 00007faed6211e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007faed63b6308 R14: 00007faed63b6270 R15: 00007ffe286c30a8
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/29 16:31 linux-6.6.y cc1a1c5b404a 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in rxe_pool_cleanup
2025/06/26 18:28 linux-6.6.y 6282921b6825 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in rxe_pool_cleanup
2025/06/21 05:05 linux-6.6.y 6282921b6825 d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in rxe_pool_cleanup
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.