Warning: Permanently added '10.128.10.63' (ED25519) to the list of known hosts. 2023/07/23 02:22:50 ignoring optional flag "sandboxArg"="0" 2023/07/23 02:22:50 parsed 1 programs 2023/07/23 02:22:50 executed programs: 0 2023/07/23 02:22:55 executed programs: 4 2023/07/23 02:23:00 executed programs: 10 2023/07/23 02:23:05 executed programs: 16 2023/07/23 02:23:10 executed programs: 23 2023/07/23 02:23:15 executed programs: 29 2023/07/23 02:23:20 executed programs: 36 2023/07/23 02:23:25 executed programs: 42 2023/07/23 02:23:31 executed programs: 49 2023/07/23 02:23:36 executed programs: 55 2023/07/23 02:23:41 executed programs: 62 2023/07/23 02:23:46 executed programs: 68 2023/07/23 02:23:51 executed programs: 75 2023/07/23 02:23:56 executed programs: 81 2023/07/23 02:24:01 executed programs: 88 [ 125.430807][ T3079] [ 125.433141][ T3079] ====================================================== [ 125.440559][ T3079] WARNING: possible circular locking dependency detected [ 125.447551][ T3079] 6.5.0-rc2-syzkaller #0 Not tainted [ 125.452801][ T3079] ------------------------------------------------------ [ 125.459799][ T3079] syz-executor.0/3079 is trying to acquire lock: [ 125.466088][ T3079] ffff88810d784ea0 (&rs->rs_recv_lock){....}-{2:2}, at: rds_wake_sk_sleep+0x1a/0x60 [ 125.475793][ T3079] [ 125.475793][ T3079] but task is already holding lock: [ 125.483143][ T3079] ffff8881023add00 (&rm->m_rs_lock){....}-{2:2}, at: rds_send_remove_from_sock+0x5b/0x2f0 [ 125.493007][ T3079] [ 125.493007][ T3079] which lock already depends on the new lock. [ 125.493007][ T3079] [ 125.503896][ T3079] [ 125.503896][ T3079] the existing dependency chain (in reverse order) is: [ 125.512970][ T3079] [ 125.512970][ T3079] -> #1 (&rm->m_rs_lock){....}-{2:2}: [ 125.520563][ T3079] _raw_spin_lock_irqsave+0x3a/0x50 [ 125.526332][ T3079] rds_message_put+0x86/0x3f0 [ 125.532000][ T3079] rds_clear_recv_queue+0x9f/0xd0 [ 125.537509][ T3079] rds_release+0x5a/0x140 [ 125.542321][ T3079] __sock_release+0x32/0xa0 [ 125.547392][ T3079] sock_close+0x13/0x20 [ 125.552030][ T3079] __fput+0xeb/0x290 [ 125.556493][ T3079] task_work_run+0x55/0x80 [ 125.561392][ T3079] exit_to_user_mode_prepare+0x1a2/0x1b0 [ 125.567683][ T3079] syscall_exit_to_user_mode+0x1d/0x50 [ 125.573625][ T3079] do_syscall_64+0x44/0x80 [ 125.578535][ T3079] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 125.584913][ T3079] [ 125.584913][ T3079] -> #0 (&rs->rs_recv_lock){....}-{2:2}: [ 125.592691][ T3079] __lock_acquire+0x12e6/0x1d00 [ 125.598026][ T3079] lock_acquire+0xcd/0x2d0 [ 125.603185][ T3079] _raw_read_lock_irqsave+0x46/0x90 [ 125.608954][ T3079] rds_wake_sk_sleep+0x1a/0x60 [ 125.614202][ T3079] rds_send_remove_from_sock+0x8b/0x2f0 [ 125.620229][ T3079] rds_send_path_drop_acked+0x11b/0x140 [ 125.626264][ T3079] rds_tcp_write_space+0xbc/0x240 [ 125.631766][ T3079] tcp_check_space+0x39/0x150 [ 125.636922][ T3079] tcp_rcv_established+0x27b/0x780 [ 125.642517][ T3079] tcp_v4_do_rcv+0x18a/0x300 [ 125.647860][ T3079] __release_sock+0x58/0xd0 [ 125.652846][ T3079] release_sock+0x2a/0xa0 [ 125.657656][ T3079] rds_send_xmit+0x513/0xa40 [ 125.662726][ T3079] rds_sendmsg+0xf93/0x11e0 [ 125.667796][ T3079] sock_sendmsg+0x37/0x70 [ 125.672607][ T3079] ____sys_sendmsg+0x25f/0x290 [ 125.677882][ T3079] ___sys_sendmsg+0x95/0xe0 [ 125.682885][ T3079] __sys_sendmsg+0x75/0xc0 [ 125.687792][ T3079] do_syscall_64+0x38/0x80 [ 125.692722][ T3079] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 125.699215][ T3079] [ 125.699215][ T3079] other info that might help us debug this: [ 125.699215][ T3079] [ 125.709419][ T3079] Possible unsafe locking scenario: [ 125.709419][ T3079] [ 125.717012][ T3079] CPU0 CPU1 [ 125.722344][ T3079] ---- ---- [ 125.727676][ T3079] lock(&rm->m_rs_lock); [ 125.731970][ T3079] lock(&rs->rs_recv_lock); [ 125.739040][ T3079] lock(&rm->m_rs_lock); [ 125.745845][ T3079] rlock(&rs->rs_recv_lock); [ 125.750489][ T3079] [ 125.750489][ T3079] *** DEADLOCK *** [ 125.750489][ T3079] [ 125.758866][ T3079] 3 locks held by syz-executor.0/3079: [ 125.764391][ T3079] #0: ffff8881067c9830 (k-sk_lock-AF_INET){+.+.}-{0:0}, at: tcp_sock_set_cork+0x12/0x40 [ 125.774193][ T3079] #1: ffff8881067c9ab8 (k-clock-AF_INET){++.-}-{2:2}, at: rds_tcp_write_space+0x20/0x240 [ 125.784054][ T3079] #2: ffff8881023add00 (&rm->m_rs_lock){....}-{2:2}, at: rds_send_remove_from_sock+0x5b/0x2f0 [ 125.794439][ T3079] [ 125.794439][ T3079] stack backtrace: [ 125.800295][ T3079] CPU: 1 PID: 3079 Comm: syz-executor.0 Not tainted 6.5.0-rc2-syzkaller #0 [ 125.809539][ T3079] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 125.819561][ T3079] Call Trace: [ 125.822835][ T3079] [ 125.825739][ T3079] dump_stack_lvl+0x5c/0xb0 [ 125.830214][ T3079] check_noncircular+0x116/0x130 [ 125.835151][ T3079] __lock_acquire+0x12e6/0x1d00 [ 125.839963][ T3079] lock_acquire+0xcd/0x2d0 [ 125.844346][ T3079] ? rds_wake_sk_sleep+0x1a/0x60 [ 125.849247][ T3079] _raw_read_lock_irqsave+0x46/0x90 [ 125.854426][ T3079] ? rds_wake_sk_sleep+0x1a/0x60 [ 125.859342][ T3079] rds_wake_sk_sleep+0x1a/0x60 [ 125.864067][ T3079] rds_send_remove_from_sock+0x8b/0x2f0 [ 125.869571][ T3079] ? _raw_spin_unlock_irqrestore+0x4e/0x70 [ 125.875620][ T3079] ? rds_tcp_recv_exit+0x10/0x10 [ 125.880518][ T3079] ? rds_tcp_recv_exit+0x10/0x10 [ 125.885422][ T3079] rds_send_path_drop_acked+0x11b/0x140 [ 125.890928][ T3079] ? sk_stream_wait_memory+0x350/0x350 [ 125.896369][ T3079] rds_tcp_write_space+0xbc/0x240 [ 125.901366][ T3079] tcp_check_space+0x39/0x150 [ 125.906022][ T3079] tcp_rcv_established+0x27b/0x780 [ 125.911103][ T3079] tcp_v4_do_rcv+0x18a/0x300 [ 125.915924][ T3079] __release_sock+0x58/0xd0 [ 125.920393][ T3079] release_sock+0x2a/0xa0 [ 125.924694][ T3079] rds_send_xmit+0x513/0xa40 [ 125.929262][ T3079] rds_sendmsg+0xf93/0x11e0 [ 125.933908][ T3079] ? sock_sendmsg+0x37/0x70 [ 125.938379][ T3079] sock_sendmsg+0x37/0x70 [ 125.942762][ T3079] ____sys_sendmsg+0x25f/0x290 [ 125.947660][ T3079] ? copy_msghdr_from_user+0x78/0xb0 [ 125.953101][ T3079] ___sys_sendmsg+0x95/0xe0 [ 125.957572][ T3079] __sys_sendmsg+0x75/0xc0 [ 125.961950][ T3079] do_syscall_64+0x38/0x80 [ 125.966421][ T3079] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 125.972276][ T3079] RIP: 0033:0x7f1846a7c959 [ 125.976739][ T3079] 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 [ 125.996396][ T3079] RSP: 002b:00007f184781c0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 126.004777][ T3079] RAX: ffffffffffffffda RBX: 00007f1846b9c120 RCX: 00007f1846a7c959 [ 126.012714][ T3079] RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000004 [ 126.020650][ T3079] RBP: 00007f1846ad8c88 R08: 0000000000000000 R09: 0000000000000000 [ 126.028588][ T3079] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 126.036532][ T3079] R13: 000000000000006e R14: 00007f1846b9c120 R15: 00007ffcd20e0ec8 [ 126.044556][ T3079] 2023/07/23 02:24:07 executed programs: 94 2023/07/23 02:24:12 executed programs: 101