infiniband syz1: set active infiniband syz1: added syz_tun RDS/IB: syz1: added smc: adding ib device syz1 with port count 1 smc: ib device syz1 port 1 has no pnetid ERROR: (device loop0): dbAlloc: the hint is outside the map ERROR: (device loop0): remounting filesystem as read-only ialloc: diAlloc returned -5! raw-gadget.0 gadget.0: fail, usb_ep_enable returned -22 smc: removing ib device syz1 ------------[ cut here ]------------ GID entry ref leak for dev syz1 index 2 ref=1 WARNING: drivers/infiniband/core/cache.c:809 at release_gid_table drivers/infiniband/core/cache.c:806 [inline], CPU#0: syz.0.0/5340 WARNING: drivers/infiniband/core/cache.c:809 at gid_table_release_one+0x1fa/0x440 drivers/infiniband/core/cache.c:886, CPU#0: syz.0.0/5340 Modules linked in: CPU: 0 UID: 0 PID: 5340 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~bpo12+1 04/01/2014 RIP: 0010:release_gid_table drivers/infiniband/core/cache.c:806 [inline] RIP: 0010:gid_table_release_one+0x2aa/0x440 drivers/infiniband/core/cache.c:886 Code: 00 48 89 ef be 04 00 00 00 e8 32 ab c8 f9 48 89 e8 48 c1 e8 03 42 0f b6 04 28 84 c0 75 54 8b 4d 00 48 89 df 4c 89 fe 44 89 e2 <67> 48 0f b9 3a 4d 89 ef 4c 8b 6c 24 68 48 8b 44 24 70 42 0f b6 04 RSP: 0018:ffffc9000d7c6fd0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffffff8f8fce50 RCX: 0000000000000001 RDX: 0000000000000002 RSI: ffff888037ebf7a0 RDI: ffffffff8f8fce50 RBP: ffff888012415d00 R08: ffff888012415d03 R09: 1ffff11002482ba0 R10: dffffc0000000000 R11: ffffed1002482ba1 R12: 0000000000000002 R13: dffffc0000000000 R14: ffff8880124dbed8 R15: ffff888037ebf7a0 FS: 00007f9996e696c0(0000) GS:ffff88808d416000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560972b89980 CR3: 00000000124df000 CR4: 0000000000352ef0 Call Trace: ib_device_release+0xd2/0x1c0 drivers/infiniband/core/device.c:509 device_release+0x9e/0x1d0 drivers/base/core.c:-1 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x228/0x570 lib/kobject.c:737 nldev_dellink+0x2d1/0x320 drivers/infiniband/core/nldev.c:1827 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+0x6ae/0x980 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x82f/0x9e0 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x805/0xb30 net/netlink/af_netlink.c:1894 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg+0x21c/0x270 net/socket.c:742 ____sys_sendmsg+0x505/0x820 net/socket.c:2592 ___sys_sendmsg+0x21f/0x2a0 net/socket.c:2646 __sys_sendmsg net/socket.c:2678 [inline] __do_sys_sendmsg net/socket.c:2683 [inline] __se_sys_sendmsg net/socket.c:2681 [inline] __x64_sys_sendmsg+0x19b/0x260 net/socket.c:2681 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9995f8f7c9 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:00007f9996e69038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f99961e5fa0 RCX: 00007f9995f8f7c9 RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 0000000000000009 RBP: 00007f9996013f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f99961e6038 R14: 00007f99961e5fa0 R15: 00007ffc4f021f58 ---------------- Code disassembly (best guess): 0: 00 48 89 add %cl,-0x77(%rax) 3: ef out %eax,(%dx) 4: be 04 00 00 00 mov $0x4,%esi 9: e8 32 ab c8 f9 call 0xf9c8ab40 e: 48 89 e8 mov %rbp,%rax 11: 48 c1 e8 03 shr $0x3,%rax 15: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax 1a: 84 c0 test %al,%al 1c: 75 54 jne 0x72 1e: 8b 4d 00 mov 0x0(%rbp),%ecx 21: 48 89 df mov %rbx,%rdi 24: 4c 89 fe mov %r15,%rsi 27: 44 89 e2 mov %r12d,%edx * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 4d 89 ef mov %r13,%r15 32: 4c 8b 6c 24 68 mov 0x68(%rsp),%r13 37: 48 8b 44 24 70 mov 0x70(%rsp),%rax 3c: 42 rex.X 3d: 0f .byte 0xf 3e: b6 04 mov $0x4,%dh