DUID 00:04:4b:a6:d8:97:08:21:27:2e:fd:cf:3e:39:f6:c0:7f:1f forked to background, child pid 3213 [ 27.640832][ T3214] 8021q: adding VLAN 0 to HW filter on device bond0 [ 27.651832][ T3214] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller syzkaller login: [ 76.394659][ T14] cfg80211: failed to load regulatory.db Warning: Permanently added '10.128.10.3' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 100.172667][ T3900] [ 100.175035][ T3900] ====================================================== [ 100.182068][ T3900] WARNING: possible circular locking dependency detected [ 100.189059][ T3900] 6.1.33-syzkaller #0 Not tainted [ 100.194057][ T3900] ------------------------------------------------------ [ 100.201048][ T3900] syz-executor294/3900 is trying to acquire lock: [ 100.207520][ T3900] ffff888074a89d70 (&rs->rs_recv_lock){...-}-{2:2}, at: rds_wake_sk_sleep+0x2a/0xd0 [ 100.216905][ T3900] [ 100.216905][ T3900] but task is already holding lock: [ 100.224256][ T3900] ffff88807bac1900 (&rm->m_rs_lock){..-.}-{2:2}, at: rds_send_remove_from_sock+0x129/0x800 [ 100.234264][ T3900] [ 100.234264][ T3900] which lock already depends on the new lock. [ 100.234264][ T3900] [ 100.244640][ T3900] [ 100.244640][ T3900] the existing dependency chain (in reverse order) is: [ 100.253629][ T3900] [ 100.253629][ T3900] -> #1 (&rm->m_rs_lock){..-.}-{2:2}: [ 100.261157][ T3900] lock_acquire+0x1f8/0x5a0 [ 100.266176][ T3900] _raw_spin_lock_irqsave+0xd1/0x120 [ 100.271969][ T3900] rds_message_put+0x146/0xaa0 [ 100.277241][ T3900] rds_clear_recv_queue+0x2de/0x3b0 [ 100.282955][ T3900] rds_release+0xc1/0x2e0 [ 100.288230][ T3900] sock_close+0xcd/0x230 [ 100.292977][ T3900] __fput+0x3b7/0x890 [ 100.297653][ T3900] task_work_run+0x246/0x300 [ 100.302750][ T3900] do_exit+0x6fb/0x2300 [ 100.307419][ T3900] do_group_exit+0x202/0x2b0 [ 100.312519][ T3900] get_signal+0x16f7/0x17d0 [ 100.317570][ T3900] arch_do_signal_or_restart+0xb0/0x1a10 [ 100.323743][ T3900] exit_to_user_mode_loop+0x6a/0x100 [ 100.329549][ T3900] exit_to_user_mode_prepare+0xb1/0x140 [ 100.335611][ T3900] syscall_exit_to_user_mode+0x60/0x270 [ 100.341676][ T3900] do_syscall_64+0x49/0xb0 [ 100.346633][ T3900] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 100.353034][ T3900] [ 100.353034][ T3900] -> #0 (&rs->rs_recv_lock){...-}-{2:2}: [ 100.360840][ T3900] validate_chain+0x1667/0x58e0 [ 100.366205][ T3900] __lock_acquire+0x125b/0x1f80 [ 100.371557][ T3900] lock_acquire+0x1f8/0x5a0 [ 100.376651][ T3900] _raw_read_lock_irqsave+0xd9/0x120 [ 100.382439][ T3900] rds_wake_sk_sleep+0x2a/0xd0 [ 100.388142][ T3900] rds_send_remove_from_sock+0x1c9/0x800 [ 100.394281][ T3900] rds_send_path_drop_acked+0x362/0x3a0 [ 100.400331][ T3900] rds_tcp_write_space+0x193/0x560 [ 100.405951][ T3900] tcp_check_space+0x176/0xab0 [ 100.411220][ T3900] tcp_rcv_established+0xedb/0x1f00 [ 100.416923][ T3900] tcp_v4_do_rcv+0x487/0xb00 [ 100.422122][ T3900] __release_sock+0x198/0x4b0 [ 100.427481][ T3900] release_sock+0x5d/0x1c0 [ 100.432424][ T3900] rds_send_xmit+0x1d16/0x2530 [ 100.437951][ T3900] rds_sendmsg+0x1b95/0x2240 [ 100.443123][ T3900] ____sys_sendmsg+0x59e/0x8f0 [ 100.448499][ T3900] __sys_sendmsg+0x2a9/0x390 [ 100.453602][ T3900] do_syscall_64+0x3d/0xb0 [ 100.458531][ T3900] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 100.464931][ T3900] [ 100.464931][ T3900] other info that might help us debug this: [ 100.464931][ T3900] [ 100.475139][ T3900] Possible unsafe locking scenario: [ 100.475139][ T3900] [ 100.482601][ T3900] CPU0 CPU1 [ 100.487957][ T3900] ---- ---- [ 100.493301][ T3900] lock(&rm->m_rs_lock); [ 100.497617][ T3900] lock(&rs->rs_recv_lock); [ 100.504710][ T3900] lock(&rm->m_rs_lock); [ 100.511564][ T3900] lock(&rs->rs_recv_lock); [ 100.516153][ T3900] [ 100.516153][ T3900] *** DEADLOCK *** [ 100.516153][ T3900] [ 100.524367][ T3900] 3 locks held by syz-executor294/3900: [ 100.529897][ T3900] #0: ffff888078ceef70 (k-sk_lock-AF_INET){+.+.}-{0:0}, at: tcp_sock_set_cork+0x29/0x1b0 [ 100.539835][ T3900] #1: ffff888078cef1f8 (k-clock-AF_INET){++.-}-{2:2}, at: rds_tcp_write_space+0x30/0x560 [ 100.549758][ T3900] #2: ffff88807bac1900 (&rm->m_rs_lock){..-.}-{2:2}, at: rds_send_remove_from_sock+0x129/0x800 [ 100.560187][ T3900] [ 100.560187][ T3900] stack backtrace: [ 100.566058][ T3900] CPU: 1 PID: 3900 Comm: syz-executor294 Not tainted 6.1.33-syzkaller #0 [ 100.574455][ T3900] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 100.584504][ T3900] Call Trace: [ 100.587811][ T3900] [ 100.590739][ T3900] dump_stack_lvl+0x1e3/0x2cb [ 100.595406][ T3900] ? nf_tcp_handle_invalid+0x642/0x642 [ 100.600864][ T3900] ? print_circular_bug+0x12b/0x1a0 [ 100.606054][ T3900] check_noncircular+0x2fa/0x3b0 [ 100.611015][ T3900] ? add_chain_block+0x850/0x850 [ 100.615994][ T3900] ? queued_spin_lock_slowpath+0x42/0x50 [ 100.621641][ T3900] ? lockdep_lock+0x1a7/0x2a0 [ 100.626325][ T3900] ? _find_first_zero_bit+0xd0/0x100 [ 100.631690][ T3900] validate_chain+0x1667/0x58e0 [ 100.636534][ T3900] ? validate_chain+0x115/0x58e0 [ 100.641573][ T3900] ? validate_chain+0x115/0x58e0 [ 100.646531][ T3900] ? preempt_count_add+0x8f/0x180 [ 100.651552][ T3900] ? unwind_next_frame+0x1a3f/0x2220 [ 100.656836][ T3900] ? reacquire_held_locks+0x660/0x660 [ 100.662193][ T3900] ? reacquire_held_locks+0x660/0x660 [ 100.667639][ T3900] ? stack_trace_save+0x1c0/0x1c0 [ 100.672654][ T3900] ? kernel_text_address+0x9f/0xd0 [ 100.677757][ T3900] ? look_up_lock_class+0x77/0x140 [ 100.682857][ T3900] ? register_lock_class+0x100/0x990 [ 100.688123][ T3900] ? look_up_lock_class+0x77/0x140 [ 100.693225][ T3900] ? register_lock_class+0x100/0x990 [ 100.698493][ T3900] ? is_dynamic_key+0x1f0/0x1f0 [ 100.703505][ T3900] ? validate_chain+0x115/0x58e0 [ 100.708432][ T3900] ? mark_lock+0x9a/0x340 [ 100.712745][ T3900] __lock_acquire+0x125b/0x1f80 [ 100.717586][ T3900] lock_acquire+0x1f8/0x5a0 [ 100.722095][ T3900] ? rds_wake_sk_sleep+0x2a/0xd0 [ 100.727040][ T3900] ? read_lock_is_recursive+0x10/0x10 [ 100.732414][ T3900] ? read_lock_is_recursive+0x10/0x10 [ 100.737785][ T3900] ? do_raw_spin_lock+0x14a/0x370 [ 100.742799][ T3900] ? __rwlock_init+0x140/0x140 [ 100.747555][ T3900] _raw_read_lock_irqsave+0xd9/0x120 [ 100.752829][ T3900] ? rds_wake_sk_sleep+0x2a/0xd0 [ 100.757749][ T3900] ? _raw_read_lock+0x40/0x40 [ 100.762412][ T3900] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 100.767860][ T3900] ? _raw_spin_lock+0x40/0x40 [ 100.772522][ T3900] rds_wake_sk_sleep+0x2a/0xd0 [ 100.777273][ T3900] rds_send_remove_from_sock+0x1c9/0x800 [ 100.782901][ T3900] ? rds_tcp_write_space+0x560/0x560 [ 100.788185][ T3900] rds_send_path_drop_acked+0x362/0x3a0 [ 100.793729][ T3900] ? rds_tcp_write_space+0x560/0x560 [ 100.799128][ T3900] ? rds_atomic_send_complete+0x410/0x410 [ 100.805176][ T3900] ? rds_tcp_write_space+0x30/0x560 [ 100.810679][ T3900] rds_tcp_write_space+0x193/0x560 [ 100.815800][ T3900] ? datagram_poll+0x3f0/0x3f0 [ 100.820643][ T3900] tcp_check_space+0x176/0xab0 [ 100.825395][ T3900] tcp_rcv_established+0xedb/0x1f00 [ 100.830672][ T3900] ? print_irqtrace_events+0x210/0x210 [ 100.836120][ T3900] ? tcp_check_space+0xab0/0xab0 [ 100.841075][ T3900] tcp_v4_do_rcv+0x487/0xb00 [ 100.845741][ T3900] ? __bpf_trace_softirq+0x10/0x10 [ 100.850839][ T3900] __release_sock+0x198/0x4b0 [ 100.855506][ T3900] release_sock+0x5d/0x1c0 [ 100.859908][ T3900] ? rds_tcp_xmit_path_prepare+0x90/0x90 [ 100.865530][ T3900] rds_send_xmit+0x1d16/0x2530 [ 100.870291][ T3900] ? rds_send_path_reset+0x3d0/0x3d0 [ 100.875588][ T3900] rds_sendmsg+0x1b95/0x2240 [ 100.880171][ T3900] ? __might_sleep+0xb0/0xb0 [ 100.884751][ T3900] ? rds_send_sndbuf_remove+0x230/0x230 [ 100.890285][ T3900] ? aa_sk_perm+0x8fa/0xa30 [ 100.894777][ T3900] ? iovec_from_user+0x5d/0x380 [ 100.899627][ T3900] ? aa_af_perm+0x350/0x350 [ 100.904115][ T3900] ? __import_iovec+0x316/0x4c0 [ 100.908982][ T3900] ? aa_sock_msg_perm+0x91/0x150 [ 100.913908][ T3900] ? bpf_lsm_socket_sendmsg+0x5/0x10 [ 100.919178][ T3900] ? security_socket_sendmsg+0x7d/0xa0 [ 100.924724][ T3900] ? rds_send_sndbuf_remove+0x230/0x230 [ 100.930258][ T3900] ____sys_sendmsg+0x59e/0x8f0 [ 100.935016][ T3900] ? __sys_sendmsg_sock+0x30/0x30 [ 100.940037][ T3900] __sys_sendmsg+0x2a9/0x390 [ 100.944628][ T3900] ? ____sys_sendmsg+0x8f0/0x8f0 [ 100.949565][ T3900] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 100.955549][ T3900] ? syscall_enter_from_user_mode+0x2e/0x220 [ 100.961517][ T3900] ? lockdep_hardirqs_on+0x94/0x130 [ 100.966702][ T3900] ? syscall_enter_from_user_mode+0x2e/0x220 [ 100.972670][ T3900] do_syscall_64+0x3d/0xb0 [ 100.977075][ T3900] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 100.982958][ T3900] RIP: 0033:0x7fc54e9d1c59 [ 100.987361][ T3900] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 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 [ 101.006960][ T3900] RSP: 002b:00007fc54e941318 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 101.015359][ T3900] RAX: ffffffffffffffda RBX: 00007fc54ea59448 RCX: 00007fc54e9d1c59 executing program [ 101.023366][ T3900] RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000004 [ 101.031324][ T3900] RBP: 00007fc54ea59440 R08: 00007fc54e941700 R09: 0000000000000000 [ 101.039281][ T3900] R10: 00007fc54e941700 R11: 0000000000000246 R12: 00007fc54ea27074 [ 101.047324][ T3900] R13: 00007fffa549bfef R14: 00007fc54e941400 R15: 0000000000022000 [ 101.055285][ T3900] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program