syzbot


WARNING in rdma_restrack_clean

Status: upstream: reported on 2025/01/19 04:11
Subsystems: rdma
[Documentation on labels]
Reported-by: syzbot+65a3b37f91d0382b77fd@syzkaller.appspotmail.com
First crash: 122d, last: 31d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [rdma?] WARNING in rdma_restrack_clean 1 (2) 2025/01/19 12:25
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in rdma_restrack_clean 1 95d 95d 0/3 upstream: reported on 2025/02/10 13:05

Sample crash report:
lo speed is unknown, defaulting to 1000
lo speed is unknown, defaulting to 1000
lo speed is unknown, defaulting to 1000
lo speed is unknown, defaulting to 1000
smc: removing ib device sz1
------------[ cut here ]------------
WARNING: CPU: 0 PID: 10723 at drivers/infiniband/core/restrack.c:52 rdma_restrack_clean+0x2af/0x320 drivers/infiniband/core/restrack.c:52
Modules linked in:
CPU: 0 UID: 0 PID: 10723 Comm: syz.5.1371 Not tainted 6.15.0-rc2-syzkaller-00037-g834a4a689699 #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:rdma_restrack_clean+0x2af/0x320 drivers/infiniband/core/restrack.c:52
Code: 65 b7 f8 49 81 c7 68 02 00 00 4c 89 ff e8 d9 a0 1b 03 4c 89 f7 5b 41 5c 41 5d 41 5e 41 5f 5d e9 17 6b 13 f9 e8 32 65 b7 f8 90 <0f> 0b 90 e9 b3 fd ff ff e8 24 65 b7 f8 90 0f 0b 90 e9 f1 fd ff ff
RSP: 0018:ffffc90003d2f0c0 EFLAGS: 00010246
RAX: ffffffff890bdf3e RBX: ffff888031af6048 RCX: 0000000000080000
RDX: ffffc900124c5000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: 1ffff1100fe1e9c7 R08: ffffffff89046b37 R09: 1ffff1100fe1e9c9
R10: dffffc0000000000 R11: ffffed100fe1e9ca R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff888031af6000 R15: ffff88807f0f4e38
FS:  00007fad4a6c66c0(0000) GS:ffff888124fc9000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e008ff8 CR3: 00000000531ac000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ib_dealloc_device+0x168/0x200 drivers/infiniband/core/device.c:675
 __ib_unregister_device+0x366/0x3d0 drivers/infiniband/core/device.c:1534
 ib_unregister_device_and_put+0xb9/0xf0 drivers/infiniband/core/device.c:1581
 nldev_dellink+0x2e9/0x330 drivers/infiniband/core/nldev.c:1826
 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+0x6e5/0x9e0 drivers/infiniband/core/netlink.c:259
 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline]
 netlink_unicast+0x7f8/0x9a0 net/netlink/af_netlink.c:1339
 netlink_sendmsg+0x8c3/0xcd0 net/netlink/af_netlink.c:1883
 sock_sendmsg_nosec net/socket.c:712 [inline]
 __sock_sendmsg+0x221/0x270 net/socket.c:727
 ____sys_sendmsg+0x523/0x860 net/socket.c:2566
 ___sys_sendmsg net/socket.c:2620 [inline]
 __sys_sendmsg+0x271/0x360 net/socket.c:2652
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fad4978d169
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:00007fad4a6c6038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fad499a5fa0 RCX: 00007fad4978d169
RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 0000000000000006
RBP: 00007fad4980e990 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fad499a5fa0 R15: 00007ffe6c12ed08
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/15 09:05 upstream 834a4a689699 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in rdma_restrack_clean
2025/01/15 04:05 upstream c3812b15000c 7315a7cf .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in rdma_restrack_clean
* Struck through repros no longer work on HEAD.