Warning: Permanently added '10.128.1.191' (ED25519) to the list of known hosts. 2024/07/28 05:43:06 ignoring optional flag "sandboxArg"="0" 2024/07/28 05:43:06 parsed 1 programs 2024/07/28 05:43:06 executed programs: 0 2024/07/28 05:43:12 executed programs: 4 2024/07/28 05:43:17 executed programs: 11 2024/07/28 05:43:22 executed programs: 17 2024/07/28 05:43:27 executed programs: 25 2024/07/28 05:43:32 executed programs: 31 2024/07/28 05:43:37 executed programs: 38 2024/07/28 05:43:42 executed programs: 45 2024/07/28 05:43:47 executed programs: 52 2024/07/28 05:43:52 executed programs: 60 2024/07/28 05:43:57 executed programs: 66 2024/07/28 05:44:02 executed programs: 72 2024/07/28 05:44:07 executed programs: 79 2024/07/28 05:44:12 executed programs: 87 2024/07/28 05:44:17 executed programs: 93 2024/07/28 05:44:23 executed programs: 99 2024/07/28 05:44:28 executed programs: 105 2024/07/28 05:44:33 executed programs: 114 2024/07/28 05:44:38 executed programs: 122 2024/07/28 05:44:43 executed programs: 128 2024/07/28 05:44:48 executed programs: 134 2024/07/28 05:44:53 executed programs: 142 2024/07/28 05:44:58 executed programs: 148 2024/07/28 05:45:03 executed programs: 154 2024/07/28 05:45:08 executed programs: 160 2024/07/28 05:45:13 executed programs: 167 2024/07/28 05:45:18 executed programs: 176 2024/07/28 05:45:23 executed programs: 182 2024/07/28 05:45:29 executed programs: 189 2024/07/28 05:45:34 executed programs: 195 2024/07/28 05:45:39 executed programs: 201 2024/07/28 05:45:44 executed programs: 209 2024/07/28 05:45:49 executed programs: 216 2024/07/28 05:45:54 executed programs: 223 2024/07/28 05:45:59 executed programs: 229 2024/07/28 05:46:04 executed programs: 236 2024/07/28 05:46:09 executed programs: 243 2024/07/28 05:46:14 executed programs: 250 2024/07/28 05:46:19 executed programs: 257 [ 255.740994][ T3118] [ 255.743582][ T3118] ====================================================== [ 255.750572][ T3118] WARNING: possible circular locking dependency detected [ 255.757651][ T3118] 6.1.102-syzkaller #0 Not tainted [ 255.762733][ T3118] ------------------------------------------------------ [ 255.769716][ T3118] syz-executor.0/3118 is trying to acquire lock: [ 255.776128][ T3118] ffff88810aa114a0 (&rs->rs_recv_lock){...-}-{2:2}, at: rds_wake_sk_sleep+0x17/0x50 [ 255.785563][ T3118] [ 255.785563][ T3118] but task is already holding lock: [ 255.793172][ T3118] ffff88814009e500 (&rm->m_rs_lock){..-.}-{2:2}, at: rds_send_remove_from_sock+0x6b/0x300 [ 255.803030][ T3118] [ 255.803030][ T3118] which lock already depends on the new lock. [ 255.803030][ T3118] [ 255.813394][ T3118] [ 255.813394][ T3118] the existing dependency chain (in reverse order) is: [ 255.822644][ T3118] [ 255.822644][ T3118] -> #1 (&rm->m_rs_lock){..-.}-{2:2}: [ 255.830232][ T3118] _raw_spin_lock_irqsave+0x5d/0x90 [ 255.836000][ T3118] rds_message_put+0x69/0x3b0 [ 255.841176][ T3118] rds_clear_recv_queue+0xab/0xe0 [ 255.846701][ T3118] rds_release+0x50/0x130 [ 255.851632][ T3118] sock_close+0x42/0xd0 [ 255.856374][ T3118] __fput+0x7a/0x220 [ 255.860949][ T3118] task_work_run+0x79/0xa0 [ 255.865855][ T3118] exit_to_user_mode_loop+0xd2/0xe0 [ 255.871540][ T3118] exit_to_user_mode_prepare+0x9a/0xe0 [ 255.877570][ T3118] syscall_exit_to_user_mode+0x5e/0x210 [ 255.883599][ T3118] do_syscall_64+0x47/0x80 [ 255.888497][ T3118] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 255.894961][ T3118] [ 255.894961][ T3118] -> #0 (&rs->rs_recv_lock){...-}-{2:2}: [ 255.902853][ T3118] __lock_acquire+0x146d/0x2830 [ 255.908190][ T3118] lock_acquire+0xe3/0x270 [ 255.913275][ T3118] _raw_read_lock_irqsave+0x65/0xa0 [ 255.918972][ T3118] rds_wake_sk_sleep+0x17/0x50 [ 255.924497][ T3118] rds_send_remove_from_sock+0x9e/0x300 [ 255.930649][ T3118] rds_send_path_drop_acked+0x78/0x130 [ 255.936590][ T3118] rds_tcp_write_space+0xb0/0x210 [ 255.942109][ T3118] tcp_check_space+0x17d/0x200 [ 255.947354][ T3118] tcp_rcv_established+0x4e6/0x620 [ 255.953031][ T3118] tcp_v4_do_rcv+0xdb/0x2c0 [ 255.958022][ T3118] __release_sock+0x92/0x120 [ 255.963125][ T3118] release_sock+0x27/0xa0 [ 255.967971][ T3118] rds_send_xmit+0x683/0x970 [ 255.973226][ T3118] rds_sendmsg+0x961/0xad0 [ 255.978213][ T3118] ____sys_sendmsg+0x189/0x220 [ 255.983544][ T3118] ___sys_sendmsg+0x28f/0x2d0 [ 255.988700][ T3118] __se_sys_sendmsg+0xf4/0x130 [ 255.993944][ T3118] do_syscall_64+0x3b/0x80 [ 255.998841][ T3118] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 256.005261][ T3118] [ 256.005261][ T3118] other info that might help us debug this: [ 256.005261][ T3118] [ 256.015539][ T3118] Possible unsafe locking scenario: [ 256.015539][ T3118] [ 256.022949][ T3118] CPU0 CPU1 [ 256.028465][ T3118] ---- ---- [ 256.033794][ T3118] lock(&rm->m_rs_lock); [ 256.038089][ T3118] lock(&rs->rs_recv_lock); [ 256.045196][ T3118] lock(&rm->m_rs_lock); [ 256.052090][ T3118] lock(&rs->rs_recv_lock); [ 256.056648][ T3118] [ 256.056648][ T3118] *** DEADLOCK *** [ 256.056648][ T3118] [ 256.064770][ T3118] 3 locks held by syz-executor.0/3118: [ 256.070193][ T3118] #0: ffff888101f14630 (k-sk_lock-AF_INET){+.+.}-{0:0}, at: tcp_sock_set_cork+0xe/0x90 [ 256.080058][ T3118] #1: ffff888101f148b8 (k-clock-AF_INET){++.-}-{2:2}, at: rds_tcp_write_space+0x1c/0x210 [ 256.090002][ T3118] #2: ffff88814009e500 (&rm->m_rs_lock){..-.}-{2:2}, at: rds_send_remove_from_sock+0x6b/0x300 [ 256.100563][ T3118] [ 256.100563][ T3118] stack backtrace: [ 256.106608][ T3118] CPU: 0 PID: 3118 Comm: syz-executor.0 Not tainted 6.1.102-syzkaller #0 [ 256.115110][ T3118] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 [ 256.125137][ T3118] Call Trace: [ 256.128385][ T3118] [ 256.131283][ T3118] dump_stack_lvl+0x89/0xd7 [ 256.135837][ T3118] print_circular_bug+0x2c5/0x300 [ 256.140824][ T3118] check_noncircular+0x106/0x110 [ 256.145755][ T3118] __lock_acquire+0x146d/0x2830 [ 256.150685][ T3118] ? debug_check_no_obj_freed+0xd0/0x240 [ 256.156489][ T3118] ? rds_wake_sk_sleep+0x17/0x50 [ 256.161389][ T3118] lock_acquire+0xe3/0x270 [ 256.165970][ T3118] ? rds_wake_sk_sleep+0x17/0x50 [ 256.170966][ T3118] _raw_read_lock_irqsave+0x65/0xa0 [ 256.176151][ T3118] ? rds_wake_sk_sleep+0x17/0x50 [ 256.181318][ T3118] rds_wake_sk_sleep+0x17/0x50 [ 256.186276][ T3118] rds_send_remove_from_sock+0x9e/0x300 [ 256.192097][ T3118] ? lockdep_hardirqs_on+0x94/0xf0 [ 256.197172][ T3118] ? rds_tcp_write_space+0x210/0x210 [ 256.202420][ T3118] rds_send_path_drop_acked+0x78/0x130 [ 256.207849][ T3118] ? datagram_poll+0xe0/0xe0 [ 256.212580][ T3118] rds_tcp_write_space+0xb0/0x210 [ 256.217568][ T3118] tcp_check_space+0x17d/0x200 [ 256.222380][ T3118] tcp_rcv_established+0x4e6/0x620 [ 256.227537][ T3118] tcp_v4_do_rcv+0xdb/0x2c0 [ 256.232004][ T3118] __release_sock+0x92/0x120 [ 256.236559][ T3118] release_sock+0x27/0xa0 [ 256.241052][ T3118] rds_send_xmit+0x683/0x970 [ 256.245702][ T3118] rds_sendmsg+0x961/0xad0 [ 256.250615][ T3118] ? aa_sk_perm+0x215/0x290 [ 256.255082][ T3118] ____sys_sendmsg+0x189/0x220 [ 256.260070][ T3118] ___sys_sendmsg+0x28f/0x2d0 [ 256.265074][ T3118] __se_sys_sendmsg+0xf4/0x130 [ 256.269885][ T3118] do_syscall_64+0x3b/0x80 [ 256.274441][ T3118] ? clear_bhb_loop+0x45/0xa0 [ 256.279611][ T3118] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 256.285744][ T3118] RIP: 0033:0x7f87dac7c959 [ 256.290659][ T3118] 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 [ 256.311802][ T3118] RSP: 002b:00007f87dbaa70c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 256.320443][ T3118] RAX: ffffffffffffffda RBX: 00007f87dad9bf80 RCX: 00007f87dac7c959 [ 256.328821][ T3118] RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000003 [ 256.337754][ T3118] RBP: 00007f87dacd8c88 R08: 0000000000000000 R09: 0000000000000000 [ 256.346568][ T3118] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 256.354610][ T3118] R13: 0000000000000006 R14: 00007f87dad9bf80 R15: 00007ffde101c918 [ 256.362683][ T3118] 2024/07/28 05:46:25 executed programs: 265 2024/07/28 05:46:30 executed programs: 271