Warning: Permanently added '10.128.0.78' (ED25519) to the list of known hosts.
executing program
[ 48.374710][ T3500]
[ 48.377058][ T3500] ======================================================
[ 48.384058][ T3500] WARNING: possible circular locking dependency detected
[ 48.391066][ T3500] 5.15.152-syzkaller #0 Not tainted
[ 48.396267][ T3500] ------------------------------------------------------
[ 48.403526][ T3500] syz-executor189/3500 is trying to acquire lock:
[ 48.409935][ T3500] ffff888015db8120 (sk_lock-AF_INET6){+.+.}-{0:0}, at: inet_sk_diag_fill+0xf6a/0x1cb0
[ 48.419753][ T3500]
[ 48.419753][ T3500] but task is already holding lock:
[ 48.427091][ T3500] ffffc90001742b78 (&h->lhash2[i].lock){+.+.}-{2:2}, at: mptcp_diag_dump+0x869/0x1330
[ 48.436741][ T3500]
[ 48.436741][ T3500] which lock already depends on the new lock.
[ 48.436741][ T3500]
[ 48.447133][ T3500]
[ 48.447133][ T3500] the existing dependency chain (in reverse order) is:
[ 48.456138][ T3500]
[ 48.456138][ T3500] -> #1 (&h->lhash2[i].lock){+.+.}-{2:2}:
[ 48.464054][ T3500] lock_acquire+0x1db/0x4f0
[ 48.469622][ T3500] _raw_spin_lock+0x2a/0x40
[ 48.475284][ T3500] __inet_hash+0xe3/0x920
[ 48.480237][ T3500] inet_csk_listen_start+0x231/0x310
[ 48.486316][ T3500] inet_listen+0x2c9/0x7c0
[ 48.492594][ T3500] __sys_listen+0x1a7/0x220
[ 48.497814][ T3500] __x64_sys_listen+0x56/0x60
[ 48.503002][ T3500] do_syscall_64+0x3d/0xb0
[ 48.507925][ T3500] entry_SYSCALL_64_after_hwframe+0x61/0xcb
[ 48.514415][ T3500]
[ 48.514415][ T3500] -> #0 (sk_lock-AF_INET6){+.+.}-{0:0}:
[ 48.522231][ T3500] validate_chain+0x1649/0x5930
[ 48.527714][ T3500] __lock_acquire+0x1295/0x1ff0
[ 48.533199][ T3500] lock_acquire+0x1db/0x4f0
[ 48.541554][ T3500] mptcp_diag_get_info+0x276/0xa10
[ 48.547185][ T3500] inet_sk_diag_fill+0xf6a/0x1cb0
[ 48.552733][ T3500] mptcp_diag_dump+0xd1d/0x1330
[ 48.558592][ T3500] __inet_diag_dump+0x20e/0x3a0
[ 48.564387][ T3500] inet_diag_dump_compat+0x1bd/0x2d0
[ 48.570698][ T3500] netlink_dump+0x606/0xc40
[ 48.575737][ T3500] __netlink_dump_start+0x52f/0x6f0
[ 48.581441][ T3500] inet_diag_rcv_msg_compat+0x202/0x4c0
[ 48.587510][ T3500] sock_diag_rcv_msg+0xd5/0x400
[ 48.592856][ T3500] netlink_rcv_skb+0x1cf/0x410
[ 48.598130][ T3500] sock_diag_rcv+0x26/0x40
[ 48.603052][ T3500] netlink_unicast+0x7b6/0x980
[ 48.608403][ T3500] netlink_sendmsg+0xa30/0xd60
[ 48.614102][ T3500] ____sys_sendmsg+0x59e/0x8f0
[ 48.619407][ T3500] ___sys_sendmsg+0x252/0x2e0
[ 48.624592][ T3500] __se_sys_sendmsg+0x19a/0x260
[ 48.629946][ T3500] do_syscall_64+0x3d/0xb0
[ 48.634986][ T3500] entry_SYSCALL_64_after_hwframe+0x61/0xcb
[ 48.645457][ T3500]
[ 48.645457][ T3500] other info that might help us debug this:
[ 48.645457][ T3500]
[ 48.655700][ T3500] Possible unsafe locking scenario:
[ 48.655700][ T3500]
[ 48.663317][ T3500] CPU0 CPU1
[ 48.668679][ T3500] ---- ----
[ 48.674041][ T3500] lock(&h->lhash2[i].lock);
[ 48.678699][ T3500] lock(sk_lock-AF_INET6);
[ 48.685698][ T3500] lock(&h->lhash2[i].lock);
[ 48.692869][ T3500] lock(sk_lock-AF_INET6);
[ 48.697349][ T3500]
[ 48.697349][ T3500] *** DEADLOCK ***
[ 48.697349][ T3500]
[ 48.705464][ T3500] 6 locks held by syz-executor189/3500:
[ 48.710981][ T3500] #0: ffffffff8d9e56c8 (sock_diag_mutex){+.+.}-{3:3}, at: sock_diag_rcv+0x17/0x40
[ 48.720260][ T3500] #1: ffffffff8d9e5528 (sock_diag_table_mutex){+.+.}-{3:3}, at: sock_diag_rcv_msg+0xb8/0x400
[ 48.730496][ T3500] #2: ffff88814aedb690 (nlk_cb_mutex-SOCK_DIAG){+.+.}-{3:3}, at: netlink_dump+0xd0/0xc40
[ 48.740390][ T3500] #3: ffffffff8dac1b08 (inet_diag_table_mutex){+.+.}-{3:3}, at: __inet_diag_dump+0x191/0x3a0
[ 48.754089][ T3500] #4: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30
[ 48.763382][ T3500] #5: ffffc90001742b78 (&h->lhash2[i].lock){+.+.}-{2:2}, at: mptcp_diag_dump+0x869/0x1330
[ 48.773353][ T3500]
[ 48.773353][ T3500] stack backtrace:
[ 48.779219][ T3500] CPU: 0 PID: 3500 Comm: syz-executor189 Not tainted 5.15.152-syzkaller #0
[ 48.787778][ T3500] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
[ 48.797810][ T3500] Call Trace:
[ 48.801069][ T3500]
[ 48.803980][ T3500] dump_stack_lvl+0x1e3/0x2cb
[ 48.808642][ T3500] ? io_uring_drop_tctx_refs+0x19d/0x19d
[ 48.814271][ T3500] ? print_circular_bug+0x12b/0x1a0
[ 48.819465][ T3500] check_noncircular+0x2f8/0x3b0
[ 48.824378][ T3500] ? add_chain_block+0x850/0x850
[ 48.829289][ T3500] ? lockdep_lock+0x11f/0x2a0
[ 48.834035][ T3500] validate_chain+0x1649/0x5930
[ 48.838862][ T3500] ? __kernel_text_address+0x94/0x100
[ 48.844217][ T3500] ? reacquire_held_locks+0x660/0x660
[ 48.849566][ T3500] ? is_dynamic_key+0x1f0/0x1f0
[ 48.854424][ T3500] ? mark_lock+0x98/0x340
[ 48.858728][ T3500] ? reacquire_held_locks+0x660/0x660
[ 48.864074][ T3500] ? __lock_acquire+0x1295/0x1ff0
[ 48.869078][ T3500] ? mark_lock+0x98/0x340
[ 48.873387][ T3500] __lock_acquire+0x1295/0x1ff0
[ 48.878219][ T3500] lock_acquire+0x1db/0x4f0
[ 48.882700][ T3500] ? inet_sk_diag_fill+0xf6a/0x1cb0
[ 48.887891][ T3500] ? read_lock_is_recursive+0x10/0x10
[ 48.893241][ T3500] mptcp_diag_get_info+0x276/0xa10
[ 48.898341][ T3500] ? inet_sk_diag_fill+0xf6a/0x1cb0
[ 48.903514][ T3500] ? inet_sk_diag_fill+0xf6a/0x1cb0
[ 48.908707][ T3500] ? mptcp_diag_dump_one+0x280/0x280
[ 48.913982][ T3500] ? memset+0x1f/0x40
[ 48.917951][ T3500] inet_sk_diag_fill+0xf6a/0x1cb0
[ 48.922962][ T3500] ? inet_diag_msg_attrs_fill+0x9c0/0x9c0
[ 48.928676][ T3500] ? __might_sleep+0xc0/0xc0
[ 48.933343][ T3500] ? inet_diag_bc_sk+0x19d/0x10d0
[ 48.938804][ T3500] ? __rwlock_init+0x140/0x140
[ 48.944563][ T3500] ? do_raw_spin_unlock+0x137/0x8b0
[ 48.949777][ T3500] mptcp_diag_dump+0xd1d/0x1330
[ 48.954623][ T3500] ? __netlink_dump_start+0x52f/0x6f0
[ 48.960170][ T3500] ? mptcp_token_join_cookie_init_state+0x460/0x460
[ 48.966788][ T3500] __inet_diag_dump+0x20e/0x3a0
[ 48.971627][ T3500] inet_diag_dump_compat+0x1bd/0x2d0
[ 48.977026][ T3500] ? inet_diag_dump_start_compat+0x20/0x20
[ 48.982824][ T3500] ? __alloc_skb+0x397/0x590
[ 48.987392][ T3500] netlink_dump+0x606/0xc40
[ 48.991893][ T3500] ? netlink_lookup+0x1d0/0x1d0
[ 48.996823][ T3500] ? __inet_diag_dump_start+0x8a/0x990
[ 49.002273][ T3500] ? __inet_diag_dump_start+0x831/0x990
[ 49.007885][ T3500] __netlink_dump_start+0x52f/0x6f0
[ 49.013063][ T3500] inet_diag_rcv_msg_compat+0x202/0x4c0
[ 49.018589][ T3500] ? inet_diag_unregister+0xb0/0xb0
[ 49.023776][ T3500] ? read_lock_is_recursive+0x10/0x10
[ 49.029141][ T3500] ? sock_diag_rcv_msg+0xb8/0x400
[ 49.034175][ T3500] ? __mutex_trylock_common+0x17e/0x2e0
[ 49.039823][ T3500] ? mutex_lock_io_nested+0x60/0x60
[ 49.045549][ T3500] ? __inet_diag_dump+0x3a0/0x3a0
[ 49.052898][ T3500] ? inet_diag_dump_start_compat+0x20/0x20
[ 49.059021][ T3500] ? inet_diag_dump+0x50/0x50
[ 49.063858][ T3500] ? rcu_lock_release+0x20/0x20
[ 49.068795][ T3500] ? inet_diag_unregister+0xb0/0xb0
[ 49.074126][ T3500] sock_diag_rcv_msg+0xd5/0x400
[ 49.078988][ T3500] netlink_rcv_skb+0x1cf/0x410
[ 49.083743][ T3500] ? sock_diag_bind+0xa0/0xa0
[ 49.088406][ T3500] ? netlink_ack+0xb10/0xb10
[ 49.092985][ T3500] sock_diag_rcv+0x26/0x40
[ 49.097515][ T3500] netlink_unicast+0x7b6/0x980
[ 49.102275][ T3500] ? netlink_detachskb+0x90/0x90
[ 49.107195][ T3500] ? __virt_addr_valid+0x39e/0x450
[ 49.112293][ T3500] ? 0xffffffff81000000
[ 49.116499][ T3500] ? __check_object_size+0x300/0x410
[ 49.121767][ T3500] ? bpf_lsm_netlink_send+0x5/0x10
[ 49.127031][ T3500] netlink_sendmsg+0xa30/0xd60
[ 49.132122][ T3500] ? netlink_getsockopt+0x5b0/0x5b0
[ 49.137505][ T3500] ? aa_sock_msg_perm+0x91/0x150
[ 49.142828][ T3500] ? bpf_lsm_socket_sendmsg+0x5/0x10
[ 49.148715][ T3500] ? security_socket_sendmsg+0x7d/0xa0
[ 49.155043][ T3500] ? netlink_getsockopt+0x5b0/0x5b0
[ 49.162076][ T3500] ____sys_sendmsg+0x59e/0x8f0
[ 49.166988][ T3500] ? iovec_from_user+0x300/0x390
[ 49.172113][ T3500] ? __sys_sendmsg_sock+0x30/0x30
[ 49.177241][ T3500] ___sys_sendmsg+0x252/0x2e0
[ 49.181916][ T3500] ? __sys_sendmsg+0x260/0x260
[ 49.186680][ T3500] ? __lock_acquire+0x1295/0x1ff0
[ 49.191701][ T3500] ? __context_tracking_enter+0x5f/0x90
[ 49.197240][ T3500] ? __context_tracking_exit+0x4c/0x80
[ 49.202699][ T3500] ? __fdget+0x158/0x220
[ 49.206924][ T3500] __se_sys_sendmsg+0x19a/0x260
[ 49.211936][ T3500] ? __x64_sys_sendmsg+0x80/0x80
[ 49.217031][ T3500] ? syscall_enter_from_user_mode+0x2e/0x230
[ 49.222985][ T3500] ? lockdep_hardirqs_on+0x94/0x130
[ 49.228189][ T3500] ? syscall_enter_from_user_mode+0x2e/0x230
[ 49.234580][ T3500] do_syscall_64+0x3d/0xb0
[ 49.238988][ T3500] entry_SYSCALL_64_after_hwframe+0x61/0xcb
[ 49.244888][ T3500] RIP: 0033:0x7f18e11ce3a9
[ 49.249282][ T3500] Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 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 b8 ff ff ff f7 d8 64 89 01 48
[ 49.268875][ T3500] RSP: 002b:00007ffc8c379f28 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 49.277276][ T3500] RAX: ffffffffffffffda RBX: 00007ffc8c37a0f8 RCX: 00007f18e11ce3a9
[ 49.285227][ T3500] RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000004
[ 49.293180][ T3500] RBP: 00007f18e1241610 R08: 00007ffc8c37a0f8 R09: 00007ffc8c37a0f8
[ 49.301138][ T3500] R10: 00007ffc8c37a0f8 R11: 0000000000000246 R12: 0000000000000001
[ 49.309178][ T3500] R13: 00007ffc8c37a0e8 R14: 0000000000000001 R15: 0000000000000001
[ 49.317131][ T3500]
[ 49.320283][ T3500] BUG: sleeping function called from invalid context at net/core/sock.c:3271
[ 49.329062][ T3500] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3500, name: syz-executor189
[ 49.338601][ T3500] INFO: lockdep is turned off.
[ 49.350225][ T3500] Preemption disabled at:
[ 49.350233][ T3500] [<0000000000000000>] 0x0
[ 49.359093][ T3500] CPU: 0 PID: 3500 Comm: syz-executor189 Not tainted 5.15.152-syzkaller #0
[ 49.368102][ T3500] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
[ 49.378363][ T3500] Call Trace:
[ 49.381657][ T3500]
[ 49.384695][ T3500] dump_stack_lvl+0x1e3/0x2cb
[ 49.389368][ T3500] ? io_uring_drop_tctx_refs+0x19d/0x19d
[ 49.394992][ T3500] ? panic+0x84d/0x84d
[ 49.399052][ T3500] ___might_sleep+0x547/0x6a0
[ 49.403722][ T3500] ? __might_sleep+0xc0/0xc0
[ 49.408296][ T3500] __lock_sock_fast+0x2f/0xe0
[ 49.412953][ T3500] mptcp_diag_get_info+0x282/0xa10
[ 49.418043][ T3500] ? inet_sk_diag_fill+0xf6a/0x1cb0
[ 49.423220][ T3500] ? mptcp_diag_dump_one+0x280/0x280
[ 49.428485][ T3500] ? memset+0x1f/0x40
[ 49.432531][ T3500] inet_sk_diag_fill+0xf6a/0x1cb0
[ 49.437542][ T3500] ? inet_diag_msg_attrs_fill+0x9c0/0x9c0
[ 49.444245][ T3500] ? __might_sleep+0xc0/0xc0
[ 49.450193][ T3500] ? inet_diag_bc_sk+0x19d/0x10d0
[ 49.455215][ T3500] ? __rwlock_init+0x140/0x140
[ 49.459970][ T3500] ? do_raw_spin_unlock+0x137/0x8b0
[ 49.465168][ T3500] mptcp_diag_dump+0xd1d/0x1330
[ 49.470022][ T3500] ? __netlink_dump_start+0x52f/0x6f0
[ 49.475406][ T3500] ? mptcp_token_join_cookie_init_state+0x460/0x460
[ 49.481991][ T3500] __inet_diag_dump+0x20e/0x3a0
[ 49.486833][ T3500] inet_diag_dump_compat+0x1bd/0x2d0
[ 49.492097][ T3500] ? inet_diag_dump_start_compat+0x20/0x20
[ 49.497889][ T3500] ? __alloc_skb+0x397/0x590
[ 49.502454][ T3500] netlink_dump+0x606/0xc40
[ 49.506948][ T3500] ? netlink_lookup+0x1d0/0x1d0
[ 49.511789][ T3500] ? __inet_diag_dump_start+0x8a/0x990
[ 49.517234][ T3500] ? __inet_diag_dump_start+0x831/0x990
[ 49.522774][ T3500] __netlink_dump_start+0x52f/0x6f0
[ 49.527967][ T3500] inet_diag_rcv_msg_compat+0x202/0x4c0
[ 49.533623][ T3500] ? inet_diag_unregister+0xb0/0xb0
[ 49.538836][ T3500] ? read_lock_is_recursive+0x10/0x10
[ 49.544420][ T3500] ? sock_diag_rcv_msg+0xb8/0x400
[ 49.550726][ T3500] ? __mutex_trylock_common+0x17e/0x2e0
[ 49.557083][ T3500] ? mutex_lock_io_nested+0x60/0x60
[ 49.562963][ T3500] ? __inet_diag_dump+0x3a0/0x3a0
[ 49.568162][ T3500] ? inet_diag_dump_start_compat+0x20/0x20
[ 49.574413][ T3500] ? inet_diag_dump+0x50/0x50
[ 49.579237][ T3500] ? rcu_lock_release+0x20/0x20
[ 49.584174][ T3500] ? inet_diag_unregister+0xb0/0xb0
[ 49.589358][ T3500] sock_diag_rcv_msg+0xd5/0x400
[ 49.594190][ T3500] netlink_rcv_skb+0x1cf/0x410
[ 49.598965][ T3500] ? sock_diag_bind+0xa0/0xa0
[ 49.603620][ T3500] ? netlink_ack+0xb10/0xb10
[ 49.608188][ T3500] sock_diag_rcv+0x26/0x40
[ 49.612585][ T3500] netlink_unicast+0x7b6/0x980
[ 49.617331][ T3500] ? netlink_detachskb+0x90/0x90
[ 49.622255][ T3500] ? __virt_addr_valid+0x39e/0x450
[ 49.627383][ T3500] ? 0xffffffff81000000
[ 49.631518][ T3500] ? __check_object_size+0x300/0x410
[ 49.636799][ T3500] ? bpf_lsm_netlink_send+0x5/0x10
[ 49.641937][ T3500] netlink_sendmsg+0xa30/0xd60
[ 49.647622][ T3500] ? netlink_getsockopt+0x5b0/0x5b0
[ 49.653385][ T3500] ? aa_sock_msg_perm+0x91/0x150
[ 49.659353][ T3500] ? bpf_lsm_socket_sendmsg+0x5/0x10
[ 49.664718][ T3500] ? security_socket_sendmsg+0x7d/0xa0
[ 49.670171][ T3500] ? netlink_getsockopt+0x5b0/0x5b0
[ 49.675348][ T3500] ____sys_sendmsg+0x59e/0x8f0
[ 49.680100][ T3500] ? iovec_from_user+0x300/0x390
[ 49.685016][ T3500] ? __sys_sendmsg_sock+0x30/0x30
[ 49.690032][ T3500] ___sys_sendmsg+0x252/0x2e0
[ 49.694690][ T3500] ? __sys_sendmsg+0x260/0x260
[ 49.699425][ T3500] ? __lock_acquire+0x1295/0x1ff0
[ 49.704527][ T3500] ? __context_tracking_enter+0x5f/0x90
[ 49.710078][ T3500] ? __context_tracking_exit+0x4c/0x80
[ 49.715608][ T3500] ? __fdget+0x158/0x220
[ 49.719833][ T3500] __se_sys_sendmsg+0x19a/0x260
[ 49.724678][ T3500] ? __x64_sys_sendmsg+0x80/0x80
[ 49.729590][ T3500] ? syscall_enter_from_user_mode+0x2e/0x230
[ 49.736070][ T3500] ? lockdep_hardirqs_on+0x94/0x130
[ 49.741262][ T3500] ? syscall_enter_from_user_mode+0x2e/0x230
[ 49.748267][ T3500] do_syscall_64+0x3d/0xb0
[ 49.752778][ T3500] entry_SYSCALL_64_after_hwframe+0x61/0xcb
[ 49.758670][ T3500] RIP: 0033:0x7f18e11ce3a9
[ 49.763075][ T3500] Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 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 b8 ff ff ff f7 d8 64 89 01 48
[ 49.782843][ T3500] RSP: 002b:00007ffc8c379f28 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 49.791509][ T3500] RAX: ffffffffffffffda RBX: 00007ffc8c37a0f8 RCX: 00007f18e11ce3a9
[ 49.799544][ T3500] RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000004
[ 49.807585][ T3500] RBP: 00007f18e1241610 R08: 00007ffc8c37a0f8 R09: 00007ffc8c37a0f8
[ 49.815617][ T3500] R10: 00007ffc8c37a0f8 R11: 0000000000000246 R12: 0000000000000001
[ 49.823674][ T3500] R13: 00007ffc8c37a0e8 R14: 0000000000000001 R15: 0000000000000001