(null): rxe_set_mtu: Set mtu to 1024 infiniband syz2: set active infiniband syz2: added bridge_slave_1 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: 11611 Comm: syz-executor.1 Not tainted 6.4.0-rc5-syzkaller-00313-g4c605260bc60 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 assign_lock_key+0x222/0x230 kernel/locking/lockdep.c:982 register_lock_class+0x28e/0x990 kernel/locking/lockdep.c:1295 __lock_acquire+0xd3/0x2070 kernel/locking/lockdep.c:4965 lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5705 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 skb_dequeue+0x2d/0x150 net/core/skbuff.c:3639 drain_resp_pkts drivers/infiniband/sw/rxe/rxe_comp.c:558 [inline] rxe_completer+0x1d5/0x4750 drivers/infiniband/sw/rxe/rxe_comp.c:658 rxe_qp_do_cleanup+0x1a3/0x730 drivers/infiniband/sw/rxe/rxe_qp.c:772 execute_in_process_context+0x117/0x130 kernel/workqueue.c:3473 __rxe_cleanup+0x290/0x320 drivers/infiniband/sw/rxe/rxe_pool.c:233 rxe_create_qp+0x31a/0x5c0 drivers/infiniband/sw/rxe/rxe_verbs.c:583 create_qp+0x55c/0x760 drivers/infiniband/core/verbs.c:1235 ib_create_qp_kernel+0xaf/0x380 drivers/infiniband/core/verbs.c:1346 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+0xf83/0x2d80 drivers/infiniband/core/mad.c:3077 add_client_context+0x52b/0x8a0 drivers/infiniband/core/device.c:721 enable_device_and_get+0x1e3/0x440 drivers/infiniband/core/device.c:1332 ib_register_device+0x10c2/0x13c0 drivers/infiniband/core/device.c:1420 rxe_register_device+0x267/0x380 drivers/infiniband/sw/rxe/rxe_verbs.c:1486 rxe_net_add+0x78/0xd0 drivers/infiniband/sw/rxe/rxe_net.c:528 rxe_newlink+0xe2/0x190 drivers/infiniband/sw/rxe/rxe.c:197 nldev_newlink+0x5aa/0x620 drivers/infiniband/core/nldev.c:1731 rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline] rdma_nl_rcv+0x6c6/0x9b0 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0x7c3/0x990 net/netlink/af_netlink.c:1365 netlink_sendmsg+0xa2a/0xd60 net/netlink/af_netlink.c:1913 sock_sendmsg_nosec net/socket.c:724 [inline] sock_sendmsg net/socket.c:747 [inline] ____sys_sendmsg+0x58f/0x890 net/socket.c:2503 ___sys_sendmsg net/socket.c:2557 [inline] __sys_sendmsg+0x2ad/0x390 net/socket.c:2586 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0e2588c169 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:00007f0e2659a168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f0e259abf80 RCX: 00007f0e2588c169 RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000003 RBP: 00007f0e258e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd1348709f R14: 00007f0e2659a300 R15: 0000000000022000 general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] CPU: 0 PID: 11611 Comm: syz-executor.1 Not tainted 6.4.0-rc5-syzkaller-00313-g4c605260bc60 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:flush_send_queue drivers/infiniband/sw/rxe/rxe_comp.c:600 [inline] RIP: 0010:rxe_completer+0x323/0x4750 drivers/infiniband/sw/rxe/rxe_comp.c:659 Code: 48 89 94 24 a8 00 00 00 eb 0e 83 fb 02 0f 84 16 08 00 00 e8 8f eb 8d f9 48 b8 00 00 00 00 00 fc ff df 48 8b 8c 24 a8 00 00 00 <0f> b6 04 01 84 c0 0f 85 12 08 00 00 48 8b 44 24 18 44 8b 30 4c 89 RSP: 0018:ffffc90014fd6460 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000006 RDX: 0000000000000006 RSI: ffffc90014fd663c RDI: ffff888020ec8388 RBP: ffffc90014fd66e8 R08: dffffc0000000000 R09: ffffed10041d90ac R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888020ec8000 R13: 1ffff110041d9000 R14: ffff888020ec8540 R15: ffff888020ec8000 FS: 00007f0e2659a700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200b4030 CR3: 000000001f87e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rxe_qp_do_cleanup+0x1a3/0x730 drivers/infiniband/sw/rxe/rxe_qp.c:772 execute_in_process_context+0x117/0x130 kernel/workqueue.c:3473 __rxe_cleanup+0x290/0x320 drivers/infiniband/sw/rxe/rxe_pool.c:233 rxe_create_qp+0x31a/0x5c0 drivers/infiniband/sw/rxe/rxe_verbs.c:583 create_qp+0x55c/0x760 drivers/infiniband/core/verbs.c:1235 ib_create_qp_kernel+0xaf/0x380 drivers/infiniband/core/verbs.c:1346 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+0xf83/0x2d80 drivers/infiniband/core/mad.c:3077 add_client_context+0x52b/0x8a0 drivers/infiniband/core/device.c:721 enable_device_and_get+0x1e3/0x440 drivers/infiniband/core/device.c:1332 ib_register_device+0x10c2/0x13c0 drivers/infiniband/core/device.c:1420 rxe_register_device+0x267/0x380 drivers/infiniband/sw/rxe/rxe_verbs.c:1486 rxe_net_add+0x78/0xd0 drivers/infiniband/sw/rxe/rxe_net.c:528 rxe_newlink+0xe2/0x190 drivers/infiniband/sw/rxe/rxe.c:197 nldev_newlink+0x5aa/0x620 drivers/infiniband/core/nldev.c:1731 rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline] rdma_nl_rcv+0x6c6/0x9b0 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0x7c3/0x990 net/netlink/af_netlink.c:1365 netlink_sendmsg+0xa2a/0xd60 net/netlink/af_netlink.c:1913 sock_sendmsg_nosec net/socket.c:724 [inline] sock_sendmsg net/socket.c:747 [inline] ____sys_sendmsg+0x58f/0x890 net/socket.c:2503 ___sys_sendmsg net/socket.c:2557 [inline] __sys_sendmsg+0x2ad/0x390 net/socket.c:2586 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0e2588c169 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:00007f0e2659a168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f0e259abf80 RCX: 00007f0e2588c169 RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000003 RBP: 00007f0e258e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd1348709f R14: 00007f0e2659a300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:flush_send_queue drivers/infiniband/sw/rxe/rxe_comp.c:600 [inline] RIP: 0010:rxe_completer+0x323/0x4750 drivers/infiniband/sw/rxe/rxe_comp.c:659 Code: 48 89 94 24 a8 00 00 00 eb 0e 83 fb 02 0f 84 16 08 00 00 e8 8f eb 8d f9 48 b8 00 00 00 00 00 fc ff df 48 8b 8c 24 a8 00 00 00 <0f> b6 04 01 84 c0 0f 85 12 08 00 00 48 8b 44 24 18 44 8b 30 4c 89 RSP: 0018:ffffc90014fd6460 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000006 RDX: 0000000000000006 RSI: ffffc90014fd663c RDI: ffff888020ec8388 RBP: ffffc90014fd66e8 R08: dffffc0000000000 R09: ffffed10041d90ac R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888020ec8000 R13: 1ffff110041d9000 R14: ffff888020ec8540 R15: ffff888020ec8000 FS: 00007f0e2659a700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200b4030 CR3: 000000001f87e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 89 94 24 a8 00 00 mov %rdx,0xa8(%rsp) 7: 00 8: eb 0e jmp 0x18 a: 83 fb 02 cmp $0x2,%ebx d: 0f 84 16 08 00 00 je 0x829 13: e8 8f eb 8d f9 callq 0xf98deba7 18: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1f: fc ff df 22: 48 8b 8c 24 a8 00 00 mov 0xa8(%rsp),%rcx 29: 00 * 2a: 0f b6 04 01 movzbl (%rcx,%rax,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 12 08 00 00 jne 0x848 36: 48 8b 44 24 18 mov 0x18(%rsp),%rax 3b: 44 8b 30 mov (%rax),%r14d 3e: 4c rex.WR 3f: 89 .byte 0x89