Warning: Permanently added '10.128.1.6' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 74.344265][ T8455] ------------[ cut here ]------------ [ 74.352045][ T8455] WARNING: CPU: 1 PID: 8455 at fs/io_uring.c:1494 io_poll_double_wake+0x516/0x770 [ 74.361561][ T8455] Modules linked in: [ 74.365728][ T8455] CPU: 1 PID: 8455 Comm: syz-executor676 Not tainted 5.12.0-rc7-next-20210415-syzkaller #0 [ 74.375732][ T8455] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 74.385904][ T8455] RIP: 0010:io_poll_double_wake+0x516/0x770 [ 74.391854][ T8455] Code: e8 1f 4c dc ff f0 ff 4d 5c 0f 94 c3 31 ff 89 de e8 7f 92 97 ff 84 db b8 01 00 00 00 0f 84 57 fc ff ff 89 04 24 e8 ba 8b 97 ff <0f> 0b 8b 04 24 e9 45 fc ff ff e8 ab 8b 97 ff 49 89 ec e9 83 fb ff [ 74.411598][ T8455] RSP: 0018:ffffc9000172fad8 EFLAGS: 00010093 [ 74.417975][ T8455] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 [ 74.425952][ T8455] RDX: ffff88801adbb900 RSI: ffffffff81dcec86 RDI: 0000000000000003 [ 74.433915][ T8455] RBP: ffff8880125ac8c0 R08: 0000000000000001 R09: 0000000000000001 [ 74.441876][ T8455] R10: ffffffff81dcec71 R11: 0000000000000000 R12: ffff8880125ac91c [ 74.449935][ T8455] R13: 0000000000000000 R14: ffff8880125ac8f0 R15: ffff888014ed6820 [ 74.457963][ T8455] FS: 00000000015a73c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 [ 74.467045][ T8455] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 74.473630][ T8455] CR2: 00000000004af100 CR3: 000000001eb33000 CR4: 00000000001506e0 [ 74.481615][ T8455] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 74.489574][ T8455] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 74.497756][ T8455] Call Trace: [ 74.501036][ T8455] __wake_up_common+0x147/0x650 [ 74.505903][ T8455] __wake_up_common_lock+0xd0/0x130 [ 74.511121][ T8455] ? __wake_up_common+0x650/0x650 [ 74.516142][ T8455] ? __init_ldsem+0x180/0x180 [ 74.520807][ T8455] tty_ldisc_lock+0x55/0xb0 [ 74.525477][ T8455] tty_ldisc_hangup+0x200/0x680 [ 74.530316][ T8455] __tty_hangup.part.0+0x40a/0x870 [ 74.535429][ T8455] tty_ioctl+0xf6a/0x1600 [ 74.539752][ T8455] ? tty_lookup_driver+0x550/0x550 [ 74.544952][ T8455] ? find_held_lock+0x2d/0x110 [ 74.549704][ T8455] ? __context_tracking_exit+0xb8/0xe0 [ 74.555241][ T8455] ? lock_downgrade+0x6e0/0x6e0 [ 74.560083][ T8455] ? lock_downgrade+0x6e0/0x6e0 [ 74.564920][ T8455] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 74.571248][ T8455] ? tty_lookup_driver+0x550/0x550 [ 74.576348][ T8455] __x64_sys_ioctl+0x193/0x200 [ 74.581105][ T8455] do_syscall_64+0x3a/0xb0 [ 74.585631][ T8455] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 74.591637][ T8455] RIP: 0033:0x4408a9 [ 74.595541][ T8455] Code: 1b 01 00 85 c0 b8 00 00 00 00 48 0f 44 c3 5b c3 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 c4 ff ff ff f7 d8 64 89 01 48 [ 74.615253][ T8455] RSP: 002b:00007ffeb1a62488 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 74.623861][ T8455] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004408a9 [ 74.631996][ T8455] RDX: 0000000000000000 RSI: 0000000000005437 RDI: 0000000000000005 [ 74.639956][ T8455] RBP: 00007ffeb1a624b8 R08: 000000000000000e R09: 00007ffeb1a624e0 [ 74.647913][ T8455] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffeb1a624e0 [ 74.655879][ T8455] R13: 0000000000000000 R14: 00000000004af018 R15: 0000000000400488 [ 74.663859][ T8455] Kernel panic - not syncing: panic_on_warn set ... [ 74.670427][ T8455] CPU: 1 PID: 8455 Comm: syz-executor676 Not tainted 5.12.0-rc7-next-20210415-syzkaller #0 [ 74.680532][ T8455] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 74.690703][ T8455] Call Trace: [ 74.693974][ T8455] dump_stack+0x141/0x1d7 [ 74.698313][ T8455] panic+0x306/0x73d [ 74.702351][ T8455] ? __warn_printk+0xf3/0xf3 [ 74.707070][ T8455] ? __warn.cold+0x1a/0x44 [ 74.711488][ T8455] ? io_poll_double_wake+0x516/0x770 [ 74.716865][ T8455] __warn.cold+0x35/0x44 [ 74.721119][ T8455] ? io_poll_double_wake+0x516/0x770 [ 74.726618][ T8455] report_bug+0x1bd/0x210 [ 74.730979][ T8455] handle_bug+0x3c/0x60 [ 74.735127][ T8455] exc_invalid_op+0x14/0x40 [ 74.739622][ T8455] asm_exc_invalid_op+0x12/0x20 [ 74.744461][ T8455] RIP: 0010:io_poll_double_wake+0x516/0x770 [ 74.750362][ T8455] Code: e8 1f 4c dc ff f0 ff 4d 5c 0f 94 c3 31 ff 89 de e8 7f 92 97 ff 84 db b8 01 00 00 00 0f 84 57 fc ff ff 89 04 24 e8 ba 8b 97 ff <0f> 0b 8b 04 24 e9 45 fc ff ff e8 ab 8b 97 ff 49 89 ec e9 83 fb ff [ 74.769957][ T8455] RSP: 0018:ffffc9000172fad8 EFLAGS: 00010093 [ 74.776013][ T8455] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 [ 74.783996][ T8455] RDX: ffff88801adbb900 RSI: ffffffff81dcec86 RDI: 0000000000000003 [ 74.791957][ T8455] RBP: ffff8880125ac8c0 R08: 0000000000000001 R09: 0000000000000001 [ 74.799914][ T8455] R10: ffffffff81dcec71 R11: 0000000000000000 R12: ffff8880125ac91c [ 74.807884][ T8455] R13: 0000000000000000 R14: ffff8880125ac8f0 R15: ffff888014ed6820 [ 74.815846][ T8455] ? io_poll_double_wake+0x501/0x770 [ 74.821221][ T8455] ? io_poll_double_wake+0x516/0x770 [ 74.826501][ T8455] ? io_poll_double_wake+0x516/0x770 [ 74.831778][ T8455] __wake_up_common+0x147/0x650 [ 74.836618][ T8455] __wake_up_common_lock+0xd0/0x130 [ 74.841906][ T8455] ? __wake_up_common+0x650/0x650 [ 74.846921][ T8455] ? __init_ldsem+0x180/0x180 [ 74.851585][ T8455] tty_ldisc_lock+0x55/0xb0 [ 74.856091][ T8455] tty_ldisc_hangup+0x200/0x680 [ 74.860936][ T8455] __tty_hangup.part.0+0x40a/0x870 [ 74.866036][ T8455] tty_ioctl+0xf6a/0x1600 [ 74.870351][ T8455] ? tty_lookup_driver+0x550/0x550 [ 74.875449][ T8455] ? find_held_lock+0x2d/0x110 [ 74.880201][ T8455] ? __context_tracking_exit+0xb8/0xe0 [ 74.885735][ T8455] ? lock_downgrade+0x6e0/0x6e0 [ 74.890574][ T8455] ? lock_downgrade+0x6e0/0x6e0 [ 74.895425][ T8455] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 74.901661][ T8455] ? tty_lookup_driver+0x550/0x550 [ 74.906939][ T8455] __x64_sys_ioctl+0x193/0x200 [ 74.911725][ T8455] do_syscall_64+0x3a/0xb0 [ 74.916143][ T8455] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 74.922059][ T8455] RIP: 0033:0x4408a9 [ 74.925952][ T8455] Code: 1b 01 00 85 c0 b8 00 00 00 00 48 0f 44 c3 5b c3 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 c4 ff ff ff f7 d8 64 89 01 48 [ 74.945562][ T8455] RSP: 002b:00007ffeb1a62488 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 74.953968][ T8455] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004408a9 [ 74.961957][ T8455] RDX: 0000000000000000 RSI: 0000000000005437 RDI: 0000000000000005 [ 74.969917][ T8455] RBP: 00007ffeb1a624b8 R08: 000000000000000e R09: 00007ffeb1a624e0 [ 74.978046][ T8455] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffeb1a624e0 [ 74.986116][ T8455] R13: 0000000000000000 R14: 00000000004af018 R15: 0000000000400488 [ 74.994120][ T8455] [ 74.994126][ T8455] ====================================================== [ 74.994132][ T8455] WARNING: possible circular locking dependency detected [ 74.994137][ T8455] 5.12.0-rc7-next-20210415-syzkaller #0 Not tainted [ 74.994142][ T8455] ------------------------------------------------------ [ 74.994147][ T8455] syz-executor676/8455 is trying to acquire lock: [ 74.994152][ T8455] ffffffff8be851c0 (console_owner){....}-{0:0}, at: console_unlock+0x2e6/0xc40 [ 74.994169][ T8455] [ 74.994172][ T8455] but task is already holding lock: [ 74.994176][ T8455] ffff88801cd86528 (&tty->write_wait){-.-.}-{2:2}, at: __wake_up_common_lock+0xb4/0x130 [ 74.994192][ T8455] [ 74.994195][ T8455] which lock already depends on the new lock. [ 74.994199][ T8455] [ 74.994201][ T8455] [ 74.994204][ T8455] the existing dependency chain (in reverse order) is: [ 74.994208][ T8455] [ 74.994210][ T8455] -> #2 (&tty->write_wait){-.-.}-{2:2}: [ 74.994224][ T8455] _raw_spin_lock_irqsave+0x39/0x50 [ 74.994228][ T8455] __wake_up_common_lock+0xb4/0x130 [ 74.994232][ T8455] tty_port_default_wakeup+0x26/0x40 [ 74.994236][ T8455] serial8250_tx_chars+0x487/0xa80 [ 74.994241][ T8455] serial8250_handle_irq.part.0+0x328/0x3d0 [ 74.994245][ T8455] serial8250_default_handle_irq+0xb2/0x220 [ 74.994250][ T8455] serial8250_interrupt+0xfd/0x200 [ 74.994254][ T8455] __handle_irq_event_percpu+0x303/0x8f0 [ 74.994258][ T8455] handle_irq_event+0x102/0x290 [ 74.994262][ T8455] handle_edge_irq+0x25f/0xd00 [ 74.994266][ T8455] __common_interrupt+0x9d/0x210 [ 74.994270][ T8455] common_interrupt+0x9f/0xd0 [ 74.994274][ T8455] asm_common_interrupt+0x1e/0x40 [ 74.994278][ T8455] acpi_idle_do_entry+0x1c9/0x250 [ 74.994281][ T8455] acpi_idle_enter+0x361/0x500 [ 74.994285][ T8455] cpuidle_enter_state+0x1b1/0xc80 [ 74.994289][ T8455] cpuidle_enter+0x4a/0xa0 [ 74.994293][ T8455] do_idle+0x3e8/0x590 [ 74.994296][ T8455] cpu_startup_entry+0x14/0x20 [ 74.994300][ T8455] start_kernel+0x47a/0x49b [ 74.994304][ T8455] secondary_startup_64_no_verify+0xb0/0xbb [ 74.994308][ T8455] [ 74.994310][ T8455] -> #1 (&port_lock_key){-.-.}-{2:2}: [ 74.994323][ T8455] _raw_spin_lock_irqsave+0x39/0x50 [ 74.994328][ T8455] serial8250_console_write+0x8b2/0xae0 [ 74.994332][ T8455] console_unlock+0x859/0xc40 [ 74.994335][ T8455] vprintk_emit+0x1ca/0x560 [ 74.994339][ T8455] vprintk+0x8d/0x260 [ 74.994342][ T8455] printk+0xba/0xed [ 74.994353][ T8455] register_console+0x55f/0x780 [ 74.994357][ T8455] univ8250_console_init+0x3a/0x46 [ 74.994361][ T8455] console_init+0x3c7/0x596 [ 74.994364][ T8455] start_kernel+0x30b/0x49b [ 74.994368][ T8455] secondary_startup_64_no_verify+0xb0/0xbb [ 74.994372][ T8455] [ 74.994374][ T8455] -> #0 (console_owner){....}-{0:0}: [ 74.994388][ T8455] __lock_acquire+0x2a17/0x5230 [ 74.994392][ T8455] lock_acquire+0x1ab/0x740 [ 74.994396][ T8455] console_unlock+0x359/0xc40 [ 74.994399][ T8455] vprintk_emit+0x1ca/0x560 [ 74.994403][ T8455] vprintk+0x8d/0x260 [ 74.994406][ T8455] printk+0xba/0xed [ 74.994410][ T8455] report_bug.cold+0x72/0xab [ 74.994414][ T8455] handle_bug+0x3c/0x60 [ 74.994417][ T8455] exc_invalid_op+0x14/0x40 [ 74.994421][ T8455] asm_exc_invalid_op+0x12/0x20 [ 74.994425][ T8455] io_poll_double_wake+0x516/0x770 [ 74.994429][ T8455] __wake_up_common+0x147/0x650 [ 74.994433][ T8455] __wake_up_common_lock+0xd0/0x130 [ 74.994437][ T8455] tty_ldisc_lock+0x55/0xb0 [ 74.994441][ T8455] tty_ldisc_hangup+0x200/0x680 [ 74.994445][ T8455] __tty_hangup.part.0+0x40a/0x870 [ 74.994448][ T8455] tty_ioctl+0xf6a/0x1600 [ 74.994452][ T8455] __x64_sys_ioctl+0x193/0x200 [ 74.994456][ T8455] do_syscall_64+0x3a/0xb0 [ 74.994460][ T8455] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 74.994464][ T8455] [ 74.994466][ T8455] other info that might help us debug this: [ 74.994470][ T8455] [ 74.994472][ T8455] Chain exists of: [ 74.994475][ T8455] console_owner --> &port_lock_key --> &tty->write_wait [ 74.994493][ T8455] [ 74.994496][ T8455] Possible unsafe locking scenario: [ 74.994499][ T8455] [ 74.994502][ T8455] CPU0 CPU1 [ 74.994505][ T8455] ---- ---- [ 74.994509][ T8455] lock(&tty->write_wait); [ 74.994518][ T8455] lock(&port_lock_key); [ 74.994527][ T8455] lock(&tty->write_wait); [ 74.994536][ T8455] lock(console_owner); [ 74.994544][ T8455] [ 74.994546][ T8455] *** DEADLOCK *** [ 74.994548][ T8455] [ 74.994551][ T8455] 3 locks held by syz-executor676/8455: [ 74.994554][ T8455] #0: ffff88801cd861c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_lock+0xbd/0x120 [ 74.994572][ T8455] #1: ffff88801cd86528 (&tty->write_wait){-.-.}-{2:2}, at: __wake_up_common_lock+0xb4/0x130 [ 74.994594][ T8455] #2: ffffffff8bf655a0 (console_lock){+.+.}-{0:0}, at: vprintk+0x8d/0x260 [ 74.994611][ T8455] [ 74.994613][ T8455] stack backtrace: [ 74.994636][ T8455] CPU: 1 PID: 8455 Comm: syz-executor676 Not tainted 5.12.0-rc7-next-20210415-syzkaller #0 [ 74.994643][ T8455] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 74.994648][ T8455] Call Trace: [ 74.994651][ T8455] dump_stack+0x141/0x1d7 [ 74.994655][ T8455] check_noncircular+0x25f/0x2e0 [ 74.994658][ T8455] ? stack_trace_consume_entry+0x160/0x160 [ 74.994662][ T8455] ? print_circular_bug+0x1e0/0x1e0 [ 74.994666][ T8455] ? memcpy+0x39/0x60 [ 74.994669][ T8455] ? lockdep_lock+0xc6/0x200 [ 74.994672][ T8455] ? call_rcu_zapped+0xb0/0xb0 [ 74.994676][ T8455] __lock_acquire+0x2a17/0x5230 [ 74.994680][ T8455] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 74.994684][ T8455] lock_acquire+0x1ab/0x740 [ 74.994687][ T8455] ? console_unlock+0x2e6/0xc40 [ 74.994691][ T8455] ? lock_release+0x720/0x720 [ 74.994694][ T8455] ? lock_downgrade+0x6e0/0x6e0 [ 74.994698][ T8455] ? do_raw_spin_lock+0x120/0x2b0 [ 74.994702][ T8455] ? rwlock_bug.part.0+0x90/0x90 [ 74.994708][ T8455] console_unlock+0x359/0xc40 [ 74.994712][ T8455] ? console_unlock+0x2e6/0xc40 [ 74.994716][ T8455] ? devkmsg_read+0x7d0/0x7d0 [ 74.994719][ T8455] ? lock_release+0x720/0x720 [ 74.994722][ T8455] ? vprintk+0x8d/0x260 [ 74.994725][ T8455] vprintk_emit+0x1ca/0x560 [ 74.994729][ T8455] vprintk+0x8d/0x260 [ 74.994732][ T8455] printk+0xba/0xed [ 74.994735][ T8455] ? record_print_text.cold+0x16/0x16 [ 74.994739][ T8455] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 74.994743][ T8455] ? __lock_acquire+0x16a7/0x5230 [ 74.994747][ T8455] ? __sanitizer_cov_trace_cmp8+0x1d/0x70 [ 74.994751][ T8455] ? report_bug.cold+0x66/0xab [ 74.994754][ T8455] ? io_poll_double_wake+0x516/0x770 [ 74.994758][ T8455] report_bug.cold+0x72/0xab [ 74.994761][ T8455] handle_bug+0x3c/0x60 [ 74.994764][ T8455] exc_invalid_op+0x14/0x40 [ 74.994768][ T8455] asm_exc_invalid_op+0x12/0x20 [ 74.994772][ T8455] RIP: 0010:io_poll_double_wake+0x516/0x770 [ 74.994779][ T8455] Code: e8 1f 4c dc ff f0 ff 4d 5c 0f 94 c3 31 ff 89 de e8 7f 92 97 ff 84 db b8 01 00 00 00 0f 84 57 fc ff ff 89 04 24 e8 ba 8b 97 ff <0f> 0b 8b 04 24 e9 45 fc ff ff e8 ab 8b 97 ff 49 89 ec e9 83 fb ff [ 74.994789][ T8455] RSP: 0018:ffffc9000172fad8 EFLAGS: 00010093 [ 74.994796][ T8455] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 [ 74.994802][ T8455] RDX: ffff88801adbb900 RSI: ffffffff81dcec86 RDI: 0000000000000003 [ 74.994808][ T8455] RBP: ffff8880125ac8c0 R08: 0000000000000001 R09: 0000000000000001 [ 74.994813][ T8455] R10: ffffffff81dcec71 R11: 0000000000000000 R12: ffff8880125ac91c [ 74.994822][ T8455] R13: 0000000000000000 R14: ffff8880125ac8f0 R15: ffff888014ed6820 [ 74.994827][ T8455] ? io_poll_double_wake+0x501/0x770 [ 74.994830][ T8455] ? io_poll_double_wake+0x516/0x770 [ 74.994834][ T8455] ? io_poll_double_wake+0x516/0x770 [ 74.994838][ T8455] __wake_up_common+0x147/0x650 [ 74.994842][ T8455] __wake_up_common_lock+0xd0/0x130 [ 74.994845][ T8455] ? __wake_up_common+0x650/0x650 [ 74.994849][ T8455] ? __init_ldsem+0x180/0x180 [ 74.994852][ T8455] tty_ldisc_lock+0x55/0xb0 [ 74.994856][ T8455] tty_ldisc_hangup+0x200/0x680 [ 74.994860][ T8455] __tty_hangup.part.0+0x40a/0x870 [ 74.994863][ T8455] tty_ioctl+0xf6a/0x1600 [ 74.994867][ T8455] ? tty_lookup_driver+0x550/0x550 [ 74.994870][ T8455] ? find_held_lock+0x2d/0x110 [ 74.994874][ T8455] ? __context_tracking_exit+0xb8/0xe0 [ 74.994877][ T8455] ? lock_downgrade+0x6e0/0x6e0 [ 74.994881][ T8455] ? lock_downgrade+0x6e0/0x6e0 [ 74.994885][ T8455] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 74.994889][ T8455] ? tty_lookup_driver+0x550/0x550 [ 74.994893][ T8455] __x64_sys_ioctl+0x193/0x200 [ 74.994896][ T8455] do_syscall_64+0x3a/0xb0 [ 74.994900][ T8455] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 74.994904][ T8455] RIP: 0033:0x4408a9 [ 74.994910][ T8455] Code: 1b 01 00 85 c0 b8 00 00 00 00 48 0f 44 c3 5b c3 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 c4 ff ff ff f7 d8 64 89 01 48 [ 74.994920][ T8455] RSP: 002b:00007ffeb1a62488 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 74.994929][ T8455] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004408a9 [ 74.994934][ T8455] RDX: 0000000000000000 RSI: 0000000000005437 RDI: 0000000000000005 [ 74.994940][ T8455] RBP: 00007ffeb1a624b8 R08: 000000000000000e R09: 00007ffeb1a624e0 [ 74.994945][ T8455] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffeb1a624e0 [ 74.994951][ T8455] R13: 0000000000000000 R14: 00000000004af018 R15: 0000000000400488 [ 74.996099][ T8455] Kernel Offset: disabled [ 75.934749][ T8455] Rebooting in 86400 seconds..