infiniband syz1: set active infiniband syz1: added wlan0 BUG: sleeping function called from invalid context at drivers/infiniband/sw/rxe/rxe_pool.c:346 in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 26759, name: syz-executor.1 6 locks held by syz-executor.1/26759: #0: ffffffff8f676078 (&rdma_nl_types[idx].sem){.+.+}-{3:3}, at: rdma_nl_rcv_msg+0x161/0x690 drivers/infiniband/core/netlink.c:164 #1: ffffffff8c9a0930 (link_ops_rwsem){++++}-{3:3}, at: nldev_newlink+0x261/0x540 drivers/infiniband/core/nldev.c:1545 #2: ffffffff8c98fed0 (devices_rwsem){++++}-{3:3}, at: enable_device_and_get+0xfc/0x3b0 drivers/infiniband/core/device.c:1307 #3: ffffffff8c98fd90 (clients_rwsem){++++}-{3:3}, at: enable_device_and_get+0x15b/0x3b0 drivers/infiniband/core/device.c:1315 #4: ffff8880112c05a0 (&device->client_data_rwsem){++++}-{3:3}, at: add_client_context+0x3d0/0x5e0 drivers/infiniband/core/device.c:715 #5: ffff8880112c1648 (&pool->pool_lock){....}-{2:2}, at: rxe_alloc+0x1b/0x40 drivers/infiniband/sw/rxe/rxe_pool.c:384 irq event stamp: 5094 hardirqs last enabled at (5093): [] __raw_read_unlock_irqrestore include/linux/rwlock_api_smp.h:235 [inline] hardirqs last enabled at (5093): [] _raw_read_unlock_irqrestore+0x42/0x50 kernel/locking/spinlock.c:263 hardirqs last disabled at (5094): [] __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:157 [inline] hardirqs last disabled at (5094): [] _raw_read_lock_irqsave+0x85/0x90 kernel/locking/spinlock.c:231 softirqs last enabled at (5064): [] asm_call_irq_on_stack+0xf/0x20 softirqs last disabled at (5047): [] asm_call_irq_on_stack+0xf/0x20 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 PID: 26759 Comm: syz-executor.1 Not tainted 5.11.0-rc5-next-20210129-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:120 ___might_sleep.cold+0x1f1/0x237 kernel/sched/core.c:8084 rxe_alloc_nl+0x55c/0x710 drivers/infiniband/sw/rxe/rxe_pool.c:346 rxe_alloc+0x26/0x40 drivers/infiniband/sw/rxe/rxe_pool.c:385 rxe_get_dma_mr+0x49/0x110 drivers/infiniband/sw/rxe/rxe_verbs.c:870 __ib_alloc_pd+0x277/0x6d0 drivers/infiniband/core/verbs.c:299 ib_mad_port_open drivers/infiniband/core/mad.c:2981 [inline] ib_mad_init_device+0xc78/0x1400 drivers/infiniband/core/mad.c:3092 add_client_context+0x405/0x5e0 drivers/infiniband/core/device.c:717 enable_device_and_get+0x1cd/0x3b0 drivers/infiniband/core/device.c:1317 ib_register_device drivers/infiniband/core/device.c:1399 [inline] ib_register_device+0x7c7/0xa50 drivers/infiniband/core/device.c:1351 rxe_register_device+0x3b2/0x480 drivers/infiniband/sw/rxe/rxe_verbs.c:1147 rxe_add+0x12fe/0x16d0 drivers/infiniband/sw/rxe/rxe.c:247 rxe_net_add+0x8c/0xe0 drivers/infiniband/sw/rxe/rxe_net.c:495 rxe_newlink drivers/infiniband/sw/rxe/rxe.c:269 [inline] rxe_newlink+0xb7/0xe0 drivers/infiniband/sw/rxe/rxe.c:250 nldev_newlink+0x30e/0x540 drivers/infiniband/core/nldev.c:1555 rdma_nl_rcv_msg+0x36d/0x690 drivers/infiniband/core/netlink.c:195 rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline] rdma_nl_rcv+0x2ee/0x430 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1330 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:674 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2350 ___sys_sendmsg+0xf3/0x170 net/socket.c:2404 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2437 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fe1a73dac68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e219 RDX: 0000000000000000 RSI: 0000000020000500 RDI: 0000000000000003 RBP: 000000000119bfc0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c R13: 00007ffc9e4857ef R14: 00007fe1a73db9c0 R15: 000000000119bf8c infiniband syz1: Couldn't open port 1 RDS/IB: syz1: added smc: adding ib device syz1 with port count 1 smc: ib device syz1 port 1 has pnetid wlan0 speed is unknown, defaulting to 1000 wlan0 speed is unknown, defaulting to 1000 wlan0 speed is unknown, defaulting to 1000 wlan0 speed is unknown, defaulting to 1000 wlan0 speed is unknown, defaulting to 1000 wlan0 speed is unknown, defaulting to 1000