infiniband syz1: set active infiniband syz1: added syz_tun smbdirect: ib_dev[syz1]: added: IB_CA max_fast_reg_page_list_len=512 device_cap_flags=0x1c001223c76 kernel_cap_flags=0x14 page_size_cap=0xfffff000 smbdirect: ib_dev[syz1]: num_ports=1 max_qp_rd_atom=128 max_qp_init_rd_atom=128 max_sgl_rd=0 max_sge_rd=32 max_cqe=32767 max_qp_wr=1048576 max_send_sge=32 max_recv_sge=32 smbdirect: ib_dev[syz1]PORT[1]: iwarp=0 ib=0 roce=1 v1=0 v2=1 core_cap_flags=0x803005 RDS/IB: syz1: added smc: adding ib device syz1 with port count 1 smc: ib device syz1 port 1 has no pnetid smc: removing ib device syz1 smbdirect: ib_dev[syz1] removed ------------[ cut here ]------------ !xa_empty(xa) WARNING: drivers/infiniband/core/restrack.c:52 at rdma_restrack_clean+0xaf/0xd0 drivers/infiniband/core/restrack.c:52, CPU#0: syz.0.0/5323 Modules linked in: CPU: 0 UID: 0 PID: 5323 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:rdma_restrack_clean+0xaf/0xd0 drivers/infiniband/core/restrack.c:52 Code: ff 48 01 ef e8 52 88 05 03 49 81 fd 08 03 00 00 74 1d e8 b4 ed 1c f9 49 83 c5 58 43 80 3c 3c 00 75 a6 eb ac e8 a2 ed 1c f9 90 <0f> 0b 90 eb ca e8 97 ed 1c f9 4c 89 f7 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc90003507030 EFLAGS: 00010246 RAX: ffffffff88a9575e RBX: ffff888042604ec0 RCX: 0000000000100000 RDX: ffffc90020802000 RSI: 00000000000fffff RDI: 0000000000100000 RBP: ffff888052726800 R08: ffff888042604ed3 R09: 1ffff110084c09da R10: dffffc0000000000 R11: ffffed10084c09db R12: 1ffff110084c09d8 R13: 0000000000000048 R14: ffff888052726800 R15: dffffc0000000000 FS: 00007fb854e736c0(0000) GS:ffff88808c848000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f583a111ad0 CR3: 00000000128fe000 CR4: 0000000000352ef0 Call Trace: ib_dealloc_device+0x16a/0x200 drivers/infiniband/core/device.c:687 __ib_unregister_device+0x38f/0x400 drivers/infiniband/core/device.c:1554 ib_unregister_device_and_put+0xb8/0xf0 drivers/infiniband/core/device.c:1601 nldev_dellink+0x39e/0x430 drivers/infiniband/core/nldev.c:1860 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+0x6ef/0xa40 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x7bb/0x940 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1900 sock_sendmsg_nosec+0x13a/0x180 net/socket.c:775 __sock_sendmsg net/socket.c:790 [inline] ____sys_sendmsg+0x54e/0x850 net/socket.c:2684 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2738 __sys_sendmsg net/socket.c:2770 [inline] __do_sys_sendmsg net/socket.c:2775 [inline] __se_sys_sendmsg net/socket.c:2773 [inline] __x64_sys_sendmsg+0x1b1/0x290 net/socket.c:2773 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb853f9ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb854e72fe8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fb854215fa0 RCX: 00007fb853f9ce59 RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 0000000000000009 RBP: 00007fb854032e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fb854216038 R14: 00007fb854215fa0 R15: 00007ffcdf5e60c8