infiniband syz0: added veth1 INFO: trying to register non-static key. The code is fine but needs lockdep annotation, or maybe you didn't initialize this object before use? turning off the locking correctness validator. CPU: 0 PID: 21963 Comm: syz-executor.5 Not tainted 6.2.0-rc5-syzkaller-00013-g2475bf0250de #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 assign_lock_key+0x22a/0x240 kernel/locking/lockdep.c:981 register_lock_class+0x287/0x9b0 kernel/locking/lockdep.c:1294 __lock_acquire+0xe4/0x1f60 kernel/locking/lockdep.c:4934 lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5668 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:355 [inline] rxe_cleanup_task+0x58/0xc0 drivers/infiniband/sw/rxe/rxe_task.c:119 rxe_qp_do_cleanup+0x7b/0x700 drivers/infiniband/sw/rxe/rxe_qp.c:776 execute_in_process_context+0x113/0x120 kernel/workqueue.c:3357 __rxe_cleanup+0x289/0x3b0 drivers/infiniband/sw/rxe/rxe_pool.c:276 rxe_create_qp+0x25c/0x2b0 drivers/infiniband/sw/rxe/rxe_verbs.c:430 create_qp+0x556/0x760 drivers/infiniband/core/verbs.c:1233 ib_create_qp_kernel+0xb7/0x350 drivers/infiniband/core/verbs.c:1344 ib_create_qp include/rdma/ib_verbs.h:3743 [inline] create_mad_qp drivers/infiniband/core/mad.c:2905 [inline] ib_mad_port_open drivers/infiniband/core/mad.c:2986 [inline] ib_mad_init_device+0xfac/0x2e20 drivers/infiniband/core/mad.c:3077 add_client_context+0x4f9/0x830 drivers/infiniband/core/device.c:721 enable_device_and_get+0x1eb/0x450 drivers/infiniband/core/device.c:1332 ib_register_device+0x1153/0x1450 drivers/infiniband/core/device.c:1420 rxe_register_device+0x25b/0x390 drivers/infiniband/sw/rxe/rxe_verbs.c:1105 rxe_net_add+0x73/0xd0 drivers/infiniband/sw/rxe/rxe_net.c:524 rxe_newlink+0xb1/0x120 drivers/infiniband/sw/rxe/rxe.c:195 nldev_newlink+0x4b0/0x520 drivers/infiniband/core/nldev.c:1731 rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline] rdma_nl_rcv+0x6f3/0xa50 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline] netlink_unicast+0x7e7/0x9c0 net/netlink/af_netlink.c:1356 netlink_sendmsg+0x9b3/0xcd0 net/netlink/af_netlink.c:1932 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] ____sys_sendmsg+0x597/0x8e0 net/socket.c:2476 ___sys_sendmsg net/socket.c:2530 [inline] __sys_sendmsg+0x28e/0x390 net/socket.c:2559 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fda78c8c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fda79902168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fda78dabf80 RCX: 00007fda78c8c0c9 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003 RBP: 00007fda78ce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd552c6eff R14: 00007fda79902300 R15: 0000000000022000 infiniband syz0: Couldn't create ib_mad QP1 infiniband syz0: Couldn't open port 1 RDS/IB: syz0: added smc: adding ib device syz0 with port count 1 smc: ib device syz0 port 1 has pnetid