Warning: Permanently added '10.128.1.202' (ED25519) to the list of known hosts. 2024/08/20 19:20:03 ignoring optional flag "sandboxArg"="0" 2024/08/20 19:20:03 parsed 1 programs 2024/08/20 19:20:03 executed programs: 0 2024/08/20 19:20:08 executed programs: 5 2024/08/20 19:20:13 executed programs: 11 2024/08/20 19:20:18 executed programs: 17 [ 74.689381][ T2016] [ 74.691816][ T2016] ====================================================== [ 74.698890][ T2016] WARNING: possible circular locking dependency detected [ 74.706061][ T2016] 5.15.165-syzkaller #0 Not tainted [ 74.711247][ T2016] ------------------------------------------------------ [ 74.718317][ T2016] syz-executor.0/2016 is trying to acquire lock: [ 74.724609][ T2016] ffff88810942d5d8 (&rs->rs_recv_lock){....}-{2:2}, at: rds_wake_sk_sleep+0x16/0x60 [ 74.734075][ T2016] [ 74.734075][ T2016] but task is already holding lock: [ 74.741405][ T2016] ffff888106643900 (&rm->m_rs_lock){....}-{2:2}, at: rds_send_remove_from_sock+0xd8/0x330 [ 74.751454][ T2016] [ 74.751454][ T2016] which lock already depends on the new lock. [ 74.751454][ T2016] [ 74.761918][ T2016] [ 74.761918][ T2016] the existing dependency chain (in reverse order) is: [ 74.771005][ T2016] [ 74.771005][ T2016] -> #1 (&rm->m_rs_lock){....}-{2:2}: [ 74.778789][ T2016] _raw_spin_lock_irqsave+0x36/0x50 [ 74.784498][ T2016] rds_message_put+0x82/0x3c0 [ 74.789791][ T2016] rds_clear_recv_queue+0x9b/0xd0 [ 74.795422][ T2016] rds_release+0x56/0x140 [ 74.800282][ T2016] __sock_release+0x32/0xa0 [ 74.805279][ T2016] sock_close+0xf/0x20 [ 74.810007][ T2016] __fput+0x8d/0x250 [ 74.814488][ T2016] task_work_run+0x54/0x80 [ 74.819403][ T2016] exit_to_user_mode_prepare+0x1bf/0x1d0 [ 74.825612][ T2016] syscall_exit_to_user_mode+0x19/0x60 [ 74.831568][ T2016] do_syscall_64+0x40/0x80 [ 74.836469][ T2016] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 74.842885][ T2016] [ 74.842885][ T2016] -> #0 (&rs->rs_recv_lock){....}-{2:2}: [ 74.850763][ T2016] __lock_acquire+0x10b6/0x1a40 [ 74.856104][ T2016] lock_acquire+0xbb/0x2a0 [ 74.861015][ T2016] _raw_read_lock_irqsave+0x42/0x90 [ 74.866785][ T2016] rds_wake_sk_sleep+0x16/0x60 [ 74.872125][ T2016] rds_send_remove_from_sock+0x103/0x330 [ 74.878342][ T2016] rds_send_path_drop_acked+0x121/0x150 [ 74.884543][ T2016] rds_tcp_write_space+0x9a/0x220 [ 74.890058][ T2016] tcp_check_space+0x31/0x110 [ 74.895222][ T2016] tcp_rcv_established+0x27e/0x730 [ 74.901186][ T2016] tcp_v4_do_rcv+0x17c/0x2f0 [ 74.906274][ T2016] __release_sock+0x54/0xd0 [ 74.911267][ T2016] release_sock+0x26/0xa0 [ 74.916199][ T2016] rds_send_xmit+0x5cc/0xa00 [ 74.921469][ T2016] rds_sendmsg+0xea1/0x1100 [ 74.926477][ T2016] __sock_sendmsg+0x2e/0x40 [ 74.931538][ T2016] ____sys_sendmsg+0x234/0x250 [ 74.936894][ T2016] ___sys_sendmsg+0x6e/0xb0 [ 74.941966][ T2016] __sys_sendmsg+0x54/0xa0 [ 74.947128][ T2016] do_syscall_64+0x33/0x80 [ 74.952123][ T2016] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 74.958681][ T2016] [ 74.958681][ T2016] other info that might help us debug this: [ 74.958681][ T2016] [ 74.968894][ T2016] Possible unsafe locking scenario: [ 74.968894][ T2016] [ 74.976571][ T2016] CPU0 CPU1 [ 74.981988][ T2016] ---- ---- [ 74.987321][ T2016] lock(&rm->m_rs_lock); [ 74.991798][ T2016] lock(&rs->rs_recv_lock); [ 74.998863][ T2016] lock(&rm->m_rs_lock); [ 75.005775][ T2016] lock(&rs->rs_recv_lock); [ 75.010336][ T2016] [ 75.010336][ T2016] *** DEADLOCK *** [ 75.010336][ T2016] [ 75.018547][ T2016] 3 locks held by syz-executor.0/2016: [ 75.023967][ T2016] #0: ffff8881097c2f20 (k-sk_lock-AF_INET){+.+.}-{0:0}, at: tcp_sock_set_cork+0xe/0x40 [ 75.033745][ T2016] #1: ffff8881097c31d8 (k-clock-AF_INET){++.-}-{2:2}, at: rds_tcp_write_space+0x1a/0x220 [ 75.043865][ T2016] #2: ffff888106643900 (&rm->m_rs_lock){....}-{2:2}, at: rds_send_remove_from_sock+0xd8/0x330 [ 75.054168][ T2016] [ 75.054168][ T2016] stack backtrace: [ 75.060032][ T2016] CPU: 0 PID: 2016 Comm: syz-executor.0 Not tainted 5.15.165-syzkaller #0 [ 75.068585][ T2016] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 75.078841][ T2016] Call Trace: [ 75.082104][ T2016] [ 75.085008][ T2016] dump_stack_lvl+0x57/0x7d [ 75.089607][ T2016] check_noncircular+0xcc/0xe0 [ 75.094341][ T2016] ? register_lock_class+0x41/0x630 [ 75.099795][ T2016] ? add_lock_to_list+0x8f/0x160 [ 75.104736][ T2016] __lock_acquire+0x10b6/0x1a40 [ 75.109659][ T2016] lock_acquire+0xbb/0x2a0 [ 75.114165][ T2016] ? rds_wake_sk_sleep+0x16/0x60 [ 75.119472][ T2016] ? rds_send_remove_from_sock+0xd8/0x330 [ 75.125253][ T2016] _raw_read_lock_irqsave+0x42/0x90 [ 75.130508][ T2016] ? rds_wake_sk_sleep+0x16/0x60 [ 75.135500][ T2016] rds_wake_sk_sleep+0x16/0x60 [ 75.140617][ T2016] rds_send_remove_from_sock+0x103/0x330 [ 75.146671][ T2016] ? lockdep_hardirqs_on_prepare+0x9d/0xf0 [ 75.152460][ T2016] ? _raw_spin_unlock_irqrestore+0x44/0x60 [ 75.158425][ T2016] ? rds_tcp_recv_exit+0x10/0x10 [ 75.163936][ T2016] rds_send_path_drop_acked+0x121/0x150 [ 75.169949][ T2016] ? sk_stream_wait_memory+0x370/0x370 [ 75.175384][ T2016] rds_tcp_write_space+0x9a/0x220 [ 75.180543][ T2016] tcp_check_space+0x31/0x110 [ 75.185593][ T2016] tcp_rcv_established+0x27e/0x730 [ 75.191033][ T2016] tcp_v4_do_rcv+0x17c/0x2f0 [ 75.195607][ T2016] __release_sock+0x54/0xd0 [ 75.200180][ T2016] release_sock+0x26/0xa0 [ 75.204751][ T2016] rds_send_xmit+0x5cc/0xa00 [ 75.209312][ T2016] rds_sendmsg+0xea1/0x1100 [ 75.213785][ T2016] ? aa_sk_perm+0x5e/0x310 [ 75.218793][ T2016] __sock_sendmsg+0x2e/0x40 [ 75.223647][ T2016] ____sys_sendmsg+0x234/0x250 [ 75.229185][ T2016] ? import_iovec+0x17/0x20 [ 75.234771][ T2016] ? sendmsg_copy_msghdr+0x77/0xa0 [ 75.239877][ T2016] ___sys_sendmsg+0x6e/0xb0 [ 75.245349][ T2016] ? lock_acquire+0xbb/0x2a0 [ 75.250129][ T2016] ? ksys_dup3+0x160/0x160 [ 75.254799][ T2016] ? find_held_lock+0x2b/0x80 [ 75.259573][ T2016] ? __fget_files+0xb9/0x190 [ 75.264313][ T2016] ? __fget_files+0xd1/0x190 [ 75.268866][ T2016] __sys_sendmsg+0x54/0xa0 [ 75.273383][ T2016] ? lockdep_hardirqs_on_prepare+0xcd/0xf0 [ 75.279349][ T2016] do_syscall_64+0x33/0x80 [ 75.283728][ T2016] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 75.289765][ T2016] RIP: 0033:0x7f2e84b05959 [ 75.294299][ T2016] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 [ 75.314997][ T2016] RSP: 002b:00007f2e846880c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 75.323579][ T2016] RAX: ffffffffffffffda RBX: 00007f2e84c24f80 RCX: 00007f2e84b05959 [ 75.331804][ T2016] RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000003 [ 75.340094][ T2016] RBP: 00007f2e84b61c88 R08: 0000000000000000 R09: 0000000000000000 [ 75.348034][ T2016] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 75.356196][ T2016] R13: 0000000000000006 R14: 00007f2e84c24f80 R15: 00007ffe0c937d38 [ 75.364316][ T2016] 2024/08/20 19:20:24 executed programs: 24 2024/08/20 19:20:29 executed programs: 30