[ 48.625547][ T8] device veth0_macvtap left promiscuous mode [ 48.632459][ T8] device veth1_vlan left promiscuous mode [ 48.639011][ T8] device veth0_vlan left promiscuous mode [ 51.887593][ T8] team0 (unregistering): Port device team_slave_1 removed [ 51.902111][ T8] team0 (unregistering): Port device team_slave_0 removed [ 51.915481][ T8] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface [ 51.929608][ T8] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface [ 51.974458][ T8] bond0 (unregistering): Released all slaves [ 53.493846][ T5425] can: request_module (can-proto-0) failed. [ 53.512295][ T5425] can: request_module (can-proto-0) failed. [ 71.243720][ T4134] cfg80211: failed to load regulatory.db Warning: Permanently added '10.128.0.130' (ECDSA) to the list of known hosts. [ 73.944781][ T5879] lo speed is unknown, defaulting to 1000 [ 73.952091][ T5879] lo speed is unknown, defaulting to 1000 [ 73.959195][ T5879] lo speed is unknown, defaulting to 1000 [ 74.031652][ T5879] infiniband syz1: set active [ 74.037449][ T3163] lo speed is unknown, defaulting to 1000 [ 74.043701][ T5879] infiniband syz1: added lo [ 74.070880][ T5879] RDS/IB: syz1: added [ 74.075658][ T5879] smc: adding ib device syz1 with port count 1 [ 74.082171][ T5879] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:935 [ 74.091913][ T5879] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5879, name: syz-executor302 [ 74.101578][ T5879] 6 locks held by syz-executor302/5879: [ 74.107209][ T5879] #0: ffffffff8efe9258 (&rdma_nl_types[idx].sem){.+.+}-{3:3}, at: rdma_nl_rcv_msg+0x137/0x650 [ 74.118059][ T5879] #1: ffffffff8bad9b10 (link_ops_rwsem){++++}-{3:3}, at: nldev_newlink+0x1fd/0x480 [ 74.128337][ T5879] #2: ffffffff8bac97d0 (devices_rwsem){++++}-{3:3}, at: enable_device_and_get+0xf7/0x340 [ 74.138455][ T5879] #3: ffffffff8bac9690 (clients_rwsem){++++}-{3:3}, at: enable_device_and_get+0x141/0x340 [ 74.148924][ T5879] #4: ffff88801e3d0598 (&device->client_data_rwsem){++++}-{3:3}, at: add_client_context+0x2c1/0x440 [ 74.160161][ T5879] #5: ffff88802264eb18 (&pnettable->lock){++++}-{2:2}, at: smc_pnetid_by_table_ib+0x157/0x360 [ 74.170584][ T5879] Preemption disabled at: [ 74.170592][ T5879] [<0000000000000000>] 0x0 [ 74.179629][ T5879] CPU: 1 PID: 5879 Comm: syz-executor302 Not tainted 5.11.0-syzkaller #0 [ 74.188572][ T5879] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 74.198858][ T5879] Call Trace: [ 74.202142][ T5879] dump_stack+0x9a/0xcc [ 74.206389][ T5879] ___might_sleep.cold+0x1f1/0x237 [ 74.211986][ T5879] __mutex_lock+0xa9/0x1110 [ 74.216482][ T5879] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 74.222841][ T5879] ? smc_pnet_apply_ib+0x20/0x140 [ 74.227890][ T5879] ? mutex_lock_io_nested+0xf60/0xf60 [ 74.233343][ T5879] ? lock_acquire+0x1a8/0x720 [ 74.238124][ T5879] ? lock_release+0x710/0x710 [ 74.243206][ T5879] ? smc_pnetid_by_table_ib+0x133/0x360 [ 74.248758][ T5879] ? lock_downgrade+0x6d0/0x6d0 [ 74.253697][ T5879] ? printk+0xad/0xde [ 74.258035][ T5879] smc_pnet_apply_ib+0x20/0x140 [ 74.262898][ T5879] smc_pnetid_by_table_ib+0x22f/0x360 [ 74.268285][ T5879] smc_ib_add_dev+0x48a/0x810 [ 74.272982][ T5879] add_client_context+0x2f0/0x440 [ 74.278094][ T5879] ? remove_client_context+0xe0/0xe0 [ 74.283373][ T5879] ? ib_free_port_attrs+0x550/0x550 [ 74.289015][ T5879] enable_device_and_get+0x1a2/0x340 [ 74.294601][ T5879] ? add_client_context+0x440/0x440 [ 74.299986][ T5879] ? rxe_ib_alloc_hw_stats+0x44/0x120 [ 74.305497][ T5879] ? rdma_counter_init+0x137/0x3a0 [ 74.310720][ T5879] ib_register_device+0x68b/0x900 [ 74.315882][ T5879] ? alloc_port_data.part.0+0x390/0x390 [ 74.321547][ T5879] ? crypto_alloc_tfm_node+0xe3/0x1d0 [ 74.327240][ T5879] rxe_register_device+0x384/0x450 [ 74.332492][ T5879] rxe_net_add+0x7e/0xc0 [ 74.336737][ T5879] rxe_newlink+0x84/0xa0 [ 74.341048][ T5879] nldev_newlink+0x289/0x480 [ 74.345622][ T5879] ? nldev_set_doit+0x3c0/0x3c0 [ 74.350462][ T5879] ? lockdep_unlock+0x11c/0x290 [ 74.355348][ T5879] ? lock_release+0x710/0x710 [ 74.360010][ T5879] ? mark_lock+0xee/0x1720 [ 74.364815][ T5879] ? security_capable+0x4c/0x90 [ 74.369691][ T5879] rdma_nl_rcv_msg+0x2ca/0x650 [ 74.374614][ T5879] ? rdma_nl_multicast+0x260/0x260 [ 74.379752][ T5879] ? lock_acquire+0x1a8/0x720 [ 74.384447][ T5879] rdma_nl_rcv+0x1b5/0x370 [ 74.388852][ T5879] ? rdma_nl_rcv_msg+0x650/0x650 [ 74.394459][ T5879] ? netlink_deliver_tap+0x15d/0x990 [ 74.399918][ T5879] ? lock_downgrade+0x6d0/0x6d0 [ 74.404932][ T5879] netlink_unicast+0x42e/0x700 [ 74.409697][ T5879] ? netlink_attachskb+0x730/0x730 [ 74.415462][ T5879] ? _copy_from_iter_full+0x193/0x6e0 [ 74.420933][ T5879] ? memset+0x20/0x40 [ 74.425072][ T5879] netlink_sendmsg+0x70e/0xbe0 [ 74.430173][ T5879] ? netlink_unicast+0x700/0x700 [ 74.435101][ T5879] ? iovec_from_user+0x143/0x290 [ 74.440031][ T5879] ? netlink_unicast+0x700/0x700 [ 74.444950][ T5879] sock_sendmsg+0xab/0xe0 [ 74.449395][ T5879] ____sys_sendmsg+0x5bf/0x7a0 [ 74.454557][ T5879] ? kernel_sendmsg+0x30/0x30 [ 74.459328][ T5879] ? do_recvmmsg+0x540/0x540 [ 74.463904][ T5879] ? lock_chain_count+0x20/0x20 [ 74.468859][ T5879] ? lock_chain_count+0x20/0x20 [ 74.473779][ T5879] ___sys_sendmsg+0xd3/0x150 [ 74.478469][ T5879] ? sendmsg_copy_msghdr+0x110/0x110 [ 74.483938][ T5879] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 74.490112][ T5879] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 74.496322][ T5879] ? __fget_light+0x4c/0x220 [ 74.500901][ T5879] ? find_held_lock+0x2d/0x110 [ 74.505762][ T5879] __sys_sendmsg+0xb2/0x140 [ 74.510394][ T5879] ? __sys_sendmsg_sock+0xa0/0xa0 [ 74.515623][ T5879] ? lockdep_hardirqs_on_prepare+0x17b/0x400 [ 74.521843][ T5879] ? syscall_enter_from_user_mode+0x27/0x70 [ 74.527955][ T5879] ? lockdep_hardirqs_on+0x79/0x100 [ 74.533161][ T5879] do_syscall_64+0x2d/0x70 [ 74.537592][ T5879] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 74.543483][ T5879] RIP: 0033:0x7f1fbb78fd49 [ 74.547899][ T5879] Code: 28 c3 e8 5a 14 00 00 66 2e 0f 1f 84 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48 [ 74.568171][ T5879] RSP: 002b:00007ffe518c6f88 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 74.576804][ T5879] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1fbb78fd49 [ 74.584934][ T5879] RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000005 [ 74.593145][ T5879] RBP: 00007f1fbb753710 R08: 0000000000000014 R09: 0000000000000000 [ 74.601272][ T5879] R10: 0000000000000041 R11: 0000000000000246 R12: 00007f1fbb7537a0 [ 74.609691][ T5879] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 74.618363][ T5879] [ 74.620697][ T5879] ============================= [ 74.625618][ T5879] [ BUG: Invalid wait context ] [ 74.630445][ T5879] 5.11.0-syzkaller #0 Tainted: G W [ 74.636843][ T5879] ----------------------------- [ 74.641791][ T5879] syz-executor302/5879 is trying to lock: [ 74.647609][ T5879] ffffffff8c1132f8 (smc_ib_devices.mutex){+.+.}-{3:3}, at: smc_pnet_apply_ib+0x20/0x140 [ 74.657679][ T5879] other info that might help us debug this: [ 74.663785][ T5879] context-{4:4} [ 74.667224][ T5879] 6 locks held by syz-executor302/5879: [ 74.673081][ T5879] #0: ffffffff8efe9258 (&rdma_nl_types[idx].sem){.+.+}-{3:3}, at: rdma_nl_rcv_msg+0x137/0x650 [ 74.683571][ T5879] #1: ffffffff8bad9b10 (link_ops_rwsem){++++}-{3:3}, at: nldev_newlink+0x1fd/0x480 [ 74.693200][ T5879] #2: ffffffff8bac97d0 (devices_rwsem){++++}-{3:3}, at: enable_device_and_get+0xf7/0x340 [ 74.703402][ T5879] #3: ffffffff8bac9690 (clients_rwsem){++++}-{3:3}, at: enable_device_and_get+0x141/0x340 [ 74.714563][ T5879] #4: ffff88801e3d0598 (&device->client_data_rwsem){++++}-{3:3}, at: add_client_context+0x2c1/0x440 [ 74.725696][ T5879] #5: ffff88802264eb18 (&pnettable->lock){++++}-{2:2}, at: smc_pnetid_by_table_ib+0x157/0x360 [ 74.736653][ T5879] stack backtrace: [ 74.740931][ T5879] CPU: 1 PID: 5879 Comm: syz-executor302 Tainted: G W 5.11.0-syzkaller #0 [ 74.750726][ T5879] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 74.761386][ T5879] Call Trace: [ 74.764990][ T5879] dump_stack+0x9a/0xcc [ 74.769152][ T5879] __lock_acquire.cold+0x30f/0x3ab [ 74.774255][ T5879] ? sched_clock_cpu+0x18/0x1f0 [ 74.779274][ T5879] ? kvm_sched_clock_read+0x14/0x40 [ 74.784566][ T5879] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 74.790735][ T5879] ? mark_held_locks+0x9f/0xe0 [ 74.795496][ T5879] ? irqtime_account_irq+0x187/0x2d0 [ 74.800903][ T5879] lock_acquire+0x1a8/0x720 [ 74.805620][ T5879] ? smc_pnet_apply_ib+0x20/0x140 [ 74.810773][ T5879] ? lock_release+0x710/0x710 [ 74.815755][ T5879] ? mark_lock+0xee/0x1720 [ 74.820703][ T5879] ? dump_stack+0xc5/0xcc [ 74.825043][ T5879] __mutex_lock+0x134/0x1110 [ 74.829864][ T5879] ? smc_pnet_apply_ib+0x20/0x140 [ 74.834981][ T5879] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 74.841110][ T5879] ? smc_pnet_apply_ib+0x20/0x140 [ 74.846288][ T5879] ? mutex_lock_io_nested+0xf60/0xf60 [ 74.851961][ T5879] ? lock_acquire+0x1a8/0x720 [ 74.856827][ T5879] ? lock_release+0x710/0x710 [ 74.861710][ T5879] ? smc_pnetid_by_table_ib+0x133/0x360 [ 74.867494][ T5879] ? lock_downgrade+0x6d0/0x6d0 [ 74.872509][ T5879] ? printk+0xad/0xde [ 74.876686][ T5879] smc_pnet_apply_ib+0x20/0x140 [ 74.881702][ T5879] smc_pnetid_by_table_ib+0x22f/0x360 [ 74.887185][ T5879] smc_ib_add_dev+0x48a/0x810 [ 74.892210][ T5879] add_client_context+0x2f0/0x440 [ 74.897227][ T5879] ? remove_client_context+0xe0/0xe0 [ 74.902496][ T5879] ? ib_free_port_attrs+0x550/0x550 [ 74.907815][ T5879] enable_device_and_get+0x1a2/0x340 [ 74.913118][ T5879] ? add_client_context+0x440/0x440 [ 74.918429][ T5879] ? rxe_ib_alloc_hw_stats+0x44/0x120 [ 74.923774][ T5879] ? rdma_counter_init+0x137/0x3a0 [ 74.929144][ T5879] ib_register_device+0x68b/0x900 [ 74.934277][ T5879] ? alloc_port_data.part.0+0x390/0x390 [ 74.940176][ T5879] ? crypto_alloc_tfm_node+0xe3/0x1d0 [ 74.945860][ T5879] rxe_register_device+0x384/0x450 [ 74.951094][ T5879] rxe_net_add+0x7e/0xc0 [ 74.955513][ T5879] rxe_newlink+0x84/0xa0 [ 74.959742][ T5879] nldev_newlink+0x289/0x480 [ 74.964493][ T5879] ? nldev_set_doit+0x3c0/0x3c0 [ 74.969615][ T5879] ? lockdep_unlock+0x11c/0x290 [ 74.974706][ T5879] ? lock_release+0x710/0x710 [ 74.979608][ T5879] ? mark_lock+0xee/0x1720 [ 74.984116][ T5879] ? security_capable+0x4c/0x90 [ 74.989319][ T5879] rdma_nl_rcv_msg+0x2ca/0x650 [ 74.994163][ T5879] ? rdma_nl_multicast+0x260/0x260 [ 74.999263][ T5879] ? lock_acquire+0x1a8/0x720 [ 75.004491][ T5879] rdma_nl_rcv+0x1b5/0x370 [ 75.009143][ T5879] ? rdma_nl_rcv_msg+0x650/0x650 [ 75.014064][ T5879] ? netlink_deliver_tap+0x15d/0x990 [ 75.019339][ T5879] ? lock_downgrade+0x6d0/0x6d0 [ 75.024388][ T5879] netlink_unicast+0x42e/0x700 [ 75.029356][ T5879] ? netlink_attachskb+0x730/0x730 [ 75.034535][ T5879] ? _copy_from_iter_full+0x193/0x6e0 [ 75.040047][ T5879] ? memset+0x20/0x40 [ 75.044061][ T5879] netlink_sendmsg+0x70e/0xbe0 [ 75.049147][ T5879] ? netlink_unicast+0x700/0x700 [ 75.054470][ T5879] ? iovec_from_user+0x143/0x290 [ 75.059412][ T5879] ? netlink_unicast+0x700/0x700 [ 75.064428][ T5879] sock_sendmsg+0xab/0xe0 [ 75.068776][ T5879] ____sys_sendmsg+0x5bf/0x7a0 [ 75.073820][ T5879] ? kernel_sendmsg+0x30/0x30 [ 75.078486][ T5879] ? do_recvmmsg+0x540/0x540 [ 75.083319][ T5879] ? lock_chain_count+0x20/0x20 [ 75.088493][ T5879] ? lock_chain_count+0x20/0x20 [ 75.093456][ T5879] ___sys_sendmsg+0xd3/0x150 [ 75.100336][ T5879] ? sendmsg_copy_msghdr+0x110/0x110 [ 75.105990][ T5879] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 75.112048][ T5879] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 75.118146][ T5879] ? __fget_light+0x4c/0x220 [ 75.122725][ T5879] ? find_held_lock+0x2d/0x110 [ 75.127880][ T5879] __sys_sendmsg+0xb2/0x140 [ 75.132933][ T5879] ? __sys_sendmsg_sock+0xa0/0xa0 [ 75.138315][ T5879] ? lockdep_hardirqs_on_prepare+0x17b/0x400 [ 75.144517][ T5879] ? syscall_enter_from_user_mode+0x27/0x70 [ 75.151359][ T5879] ? lockdep_hardirqs_on+0x79/0x100 [ 75.156624][ T5879] do_syscall_64+0x2d/0x70 [ 75.161734][ T5879] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 75.168455][ T5879] RIP: 0033:0x7f1fbb78fd49 [ 75.173465][ T5879] Code: 28 c3 e8 5a 14 00 00 66 2e 0f 1f 84 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48 [ 75.193925][ T5879] RSP: 002b:00007ffe518c6f88 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 75.203051][ T5879] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1fbb78fd49 [ 75.211270][ T5879] RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000005 [ 75.219766][ T5879] RBP: 00007f1fbb753710 R08: 0000000000000014 R09: 0000000000000000 [ 75.228318][ T5879] R10: 0000000000000041 R11: 0000000000000246 R12: 00007f1fbb7537a0 [ 75.236482]