Warning: Permanently added '10.128.10.55' (ED25519) to the list of known hosts. 2023/12/17 03:50:26 ignoring optional flag "sandboxArg"="0" 2023/12/17 03:50:26 parsed 1 programs 2023/12/17 03:50:26 executed programs: 0 2023/12/17 03:50:31 executed programs: 5 2023/12/17 03:50:36 executed programs: 13 2023/12/17 03:50:41 executed programs: 22 2023/12/17 03:50:47 executed programs: 29 2023/12/17 03:50:52 executed programs: 36 2023/12/17 03:50:57 executed programs: 44 2023/12/17 03:51:02 executed programs: 50 2023/12/17 03:51:07 executed programs: 56 2023/12/17 03:51:12 executed programs: 64 2023/12/17 03:51:17 executed programs: 73 2023/12/17 03:51:22 executed programs: 81 2023/12/17 03:51:27 executed programs: 88 2023/12/17 03:51:32 executed programs: 94 2023/12/17 03:51:37 executed programs: 101 2023/12/17 03:51:42 executed programs: 107 2023/12/17 03:51:47 executed programs: 116 2023/12/17 03:51:52 executed programs: 123 2023/12/17 03:51:57 executed programs: 129 [ 138.046062][ T2619] [ 138.048514][ T2619] ====================================================== [ 138.055623][ T2619] WARNING: possible circular locking dependency detected [ 138.062698][ T2619] 5.15.143-syzkaller #0 Not tainted [ 138.067856][ T2619] ------------------------------------------------------ [ 138.075280][ T2619] syz-executor.0/2619 is trying to acquire lock: [ 138.081877][ T2619] ffff888107598618 (&rs->rs_recv_lock){....}-{2:2}, at: rds_wake_sk_sleep+0x16/0x60 [ 138.091234][ T2619] [ 138.091234][ T2619] but task is already holding lock: [ 138.098573][ T2619] ffff88810773d900 (&rm->m_rs_lock){....}-{2:2}, at: rds_send_remove_from_sock+0xd8/0x330 [ 138.108436][ T2619] [ 138.108436][ T2619] which lock already depends on the new lock. [ 138.108436][ T2619] [ 138.118841][ T2619] [ 138.118841][ T2619] the existing dependency chain (in reverse order) is: [ 138.127836][ T2619] [ 138.127836][ T2619] -> #1 (&rm->m_rs_lock){....}-{2:2}: [ 138.135427][ T2619] _raw_spin_lock_irqsave+0x36/0x50 [ 138.141213][ T2619] rds_message_put+0x82/0x3c0 [ 138.146380][ T2619] rds_clear_recv_queue+0x9b/0xd0 [ 138.151888][ T2619] rds_release+0x56/0x140 [ 138.156794][ T2619] __sock_release+0x32/0xa0 [ 138.161797][ T2619] sock_close+0xf/0x20 [ 138.166356][ T2619] __fput+0x8d/0x250 [ 138.170740][ T2619] task_work_run+0x54/0x80 [ 138.175733][ T2619] exit_to_user_mode_prepare+0x1bc/0x1c0 [ 138.181853][ T2619] syscall_exit_to_user_mode+0x19/0x60 [ 138.187800][ T2619] do_syscall_64+0x42/0x80 [ 138.192788][ T2619] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 138.199168][ T2619] [ 138.199168][ T2619] -> #0 (&rs->rs_recv_lock){....}-{2:2}: [ 138.206963][ T2619] __lock_acquire+0x10b6/0x1a40 [ 138.212297][ T2619] lock_acquire+0xbb/0x2a0 [ 138.217197][ T2619] _raw_read_lock_irqsave+0x42/0x90 [ 138.222881][ T2619] rds_wake_sk_sleep+0x16/0x60 [ 138.228129][ T2619] rds_send_remove_from_sock+0x103/0x330 [ 138.234245][ T2619] rds_send_path_drop_acked+0x121/0x150 [ 138.240279][ T2619] rds_tcp_write_space+0x9a/0x220 [ 138.245801][ T2619] tcp_check_space+0x31/0x110 [ 138.250975][ T2619] tcp_rcv_established+0x27e/0x730 [ 138.256579][ T2619] tcp_v4_do_rcv+0x17c/0x2f0 [ 138.261654][ T2619] __release_sock+0x54/0xd0 [ 138.266659][ T2619] release_sock+0x26/0xa0 [ 138.271471][ T2619] rds_send_xmit+0x5cc/0xa00 [ 138.276648][ T2619] rds_sendmsg+0xedb/0x1110 [ 138.281720][ T2619] __sock_sendmsg+0x2e/0x40 [ 138.286707][ T2619] ____sys_sendmsg+0x234/0x250 [ 138.291958][ T2619] ___sys_sendmsg+0x6e/0xb0 [ 138.296943][ T2619] __sys_sendmsg+0x54/0xa0 [ 138.301841][ T2619] do_syscall_64+0x35/0x80 [ 138.306739][ T2619] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 138.313115][ T2619] [ 138.313115][ T2619] other info that might help us debug this: [ 138.313115][ T2619] [ 138.323308][ T2619] Possible unsafe locking scenario: [ 138.323308][ T2619] [ 138.330726][ T2619] CPU0 CPU1 [ 138.336093][ T2619] ---- ---- [ 138.341432][ T2619] lock(&rm->m_rs_lock); [ 138.345738][ T2619] lock(&rs->rs_recv_lock); [ 138.352806][ T2619] lock(&rm->m_rs_lock); [ 138.359619][ T2619] lock(&rs->rs_recv_lock); [ 138.364168][ T2619] [ 138.364168][ T2619] *** DEADLOCK *** [ 138.364168][ T2619] [ 138.372279][ T2619] 3 locks held by syz-executor.0/2619: [ 138.377713][ T2619] #0: ffff88810a440ca0 (k-sk_lock-AF_INET){+.+.}-{0:0}, at: tcp_sock_set_cork+0xe/0x40 [ 138.387502][ T2619] #1: ffff88810a440f58 (k-clock-AF_INET){++.-}-{2:2}, at: rds_tcp_write_space+0x1a/0x220 [ 138.397373][ T2619] #2: ffff88810773d900 (&rm->m_rs_lock){....}-{2:2}, at: rds_send_remove_from_sock+0xd8/0x330 [ 138.407796][ T2619] [ 138.407796][ T2619] stack backtrace: [ 138.413736][ T2619] CPU: 0 PID: 2619 Comm: syz-executor.0 Not tainted 5.15.143-syzkaller #0 [ 138.422460][ T2619] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 [ 138.432576][ T2619] Call Trace: [ 138.435845][ T2619] [ 138.438775][ T2619] dump_stack_lvl+0x57/0x7d [ 138.443250][ T2619] check_noncircular+0xcc/0xe0 [ 138.447977][ T2619] ? register_lock_class+0x41/0x630 [ 138.453153][ T2619] __lock_acquire+0x10b6/0x1a40 [ 138.457964][ T2619] lock_acquire+0xbb/0x2a0 [ 138.462338][ T2619] ? rds_wake_sk_sleep+0x16/0x60 [ 138.467238][ T2619] ? rds_send_remove_from_sock+0xd8/0x330 [ 138.473001][ T2619] _raw_read_lock_irqsave+0x42/0x90 [ 138.478164][ T2619] ? rds_wake_sk_sleep+0x16/0x60 [ 138.483066][ T2619] rds_wake_sk_sleep+0x16/0x60 [ 138.487982][ T2619] rds_send_remove_from_sock+0x103/0x330 [ 138.493750][ T2619] ? lockdep_hardirqs_on_prepare+0x9d/0xf0 [ 138.499514][ T2619] ? _raw_spin_unlock_irqrestore+0x44/0x60 [ 138.505456][ T2619] ? rds_tcp_recv_exit+0x10/0x10 [ 138.510355][ T2619] rds_send_path_drop_acked+0x121/0x150 [ 138.515951][ T2619] ? sk_stream_wait_memory+0x370/0x370 [ 138.521374][ T2619] rds_tcp_write_space+0x9a/0x220 [ 138.526378][ T2619] tcp_check_space+0x31/0x110 [ 138.531121][ T2619] tcp_rcv_established+0x27e/0x730 [ 138.536200][ T2619] tcp_v4_do_rcv+0x17c/0x2f0 [ 138.540750][ T2619] __release_sock+0x54/0xd0 [ 138.545214][ T2619] release_sock+0x26/0xa0 [ 138.549504][ T2619] rds_send_xmit+0x5cc/0xa00 [ 138.554053][ T2619] rds_sendmsg+0xedb/0x1110 [ 138.558520][ T2619] ? aa_sk_perm+0x5e/0x310 [ 138.562898][ T2619] __sock_sendmsg+0x2e/0x40 [ 138.567360][ T2619] ____sys_sendmsg+0x234/0x250 [ 138.572086][ T2619] ? import_iovec+0x17/0x20 [ 138.576567][ T2619] ? sendmsg_copy_msghdr+0x77/0xa0 [ 138.581901][ T2619] ___sys_sendmsg+0x6e/0xb0 [ 138.586474][ T2619] ? lock_acquire+0xbb/0x2a0 [ 138.591050][ T2619] ? ksys_dup3+0x160/0x160 [ 138.595460][ T2619] ? find_held_lock+0x2b/0x80 [ 138.600119][ T2619] ? __fget_files+0xb9/0x190 [ 138.604673][ T2619] ? __fget_files+0xd1/0x190 [ 138.609340][ T2619] __sys_sendmsg+0x54/0xa0 [ 138.614256][ T2619] ? lockdep_hardirqs_on_prepare+0xcd/0xf0 [ 138.620032][ T2619] do_syscall_64+0x35/0x80 [ 138.624415][ T2619] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 138.630499][ T2619] RIP: 0033:0x7fcfbd4de959 [ 138.634984][ T2619] 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 [ 138.657957][ T2619] RSP: 002b:00007fcfbd01f0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 138.666340][ T2619] RAX: ffffffffffffffda RBX: 00007fcfbd5fe120 RCX: 00007fcfbd4de959 [ 138.674385][ T2619] RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000004 [ 138.682413][ T2619] RBP: 00007fcfbd53ac88 R08: 0000000000000000 R09: 0000000000000000 [ 138.690699][ T2619] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 138.698647][ T2619] R13: 000000000000006e R14: 00007fcfbd5fe120 R15: 00007fff65f60188 [ 138.706592][ T2619] 2023/12/17 03:52:03 executed programs: 138 2023/12/17 03:52:08 executed programs: 144