Warning: Permanently added '10.128.1.42' (ED25519) to the list of known hosts. executing program [ 57.476986][ T4161] FAULT_INJECTION: forcing a failure. [ 57.476986][ T4161] name failslab, interval 1, probability 0, space 0, times 1 [ 57.477093][ T4161] [ 57.477097][ T4161] ====================================================== [ 57.477101][ T4161] WARNING: possible circular locking dependency detected [ 57.477106][ T4161] 5.15.173-syzkaller #0 Not tainted [ 57.477112][ T4161] ------------------------------------------------------ [ 57.477116][ T4161] syz-executor348/4161 is trying to acquire lock: [ 57.477122][ T4161] ffffffff8c9147e0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x2c/0x60 [ 57.477173][ T4161] [ 57.477173][ T4161] but task is already holding lock: [ 57.477176][ T4161] ffff88807468b958 (&port->lock){-.-.}-{2:2}, at: tty_insert_flip_string_and_push_buffer+0x3a/0x390 [ 57.477209][ T4161] [ 57.477209][ T4161] which lock already depends on the new lock. [ 57.477209][ T4161] [ 57.477212][ T4161] [ 57.477212][ T4161] the existing dependency chain (in reverse order) is: [ 57.477216][ T4161] [ 57.477216][ T4161] -> #2 (&port->lock){-.-.}-{2:2}: [ 57.477231][ T4161] lock_acquire+0x1db/0x4f0 [ 57.477243][ T4161] _raw_spin_lock_irqsave+0xd1/0x120 [ 57.477262][ T4161] tty_port_default_wakeup+0x21/0x100 [ 57.477276][ T4161] serial8250_tx_chars+0x60d/0x800 [ 57.477291][ T4161] serial8250_handle_irq+0x505/0x600 [ 57.477306][ T4161] serial8250_default_handle_irq+0xc8/0x1e0 [ 57.477318][ T4161] serial8250_interrupt+0xa1/0x1e0 [ 57.477332][ T4161] __handle_irq_event_percpu+0x292/0xa70 [ 57.477346][ T4161] handle_irq_event+0xff/0x2b0 [ 57.477359][ T4161] handle_edge_irq+0x245/0xbf0 [ 57.477371][ T4161] __common_interrupt+0xd7/0x1f0 [ 57.477384][ T4161] common_interrupt+0xae/0xd0 [ 57.477398][ T4161] asm_common_interrupt+0x22/0x40 [ 57.477412][ T4161] _raw_spin_unlock_irqrestore+0xd4/0x130 [ 57.477427][ T4161] uart_write+0x6af/0x930 [ 57.477439][ T4161] n_tty_write+0xd7e/0x1280 [ 57.477450][ T4161] file_tty_write+0x561/0x920 [ 57.477462][ T4161] vfs_write+0xacd/0xe50 [ 57.477475][ T4161] ksys_write+0x1a2/0x2c0 [ 57.477488][ T4161] do_syscall_64+0x3b/0xb0 [ 57.477500][ T4161] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 57.477515][ T4161] [ 57.477515][ T4161] -> #1 (&port_lock_key){-.-.}-{2:2}: [ 57.477531][ T4161] lock_acquire+0x1db/0x4f0 [ 57.477542][ T4161] _raw_spin_lock_irqsave+0xd1/0x120 [ 57.477556][ T4161] serial8250_console_write+0x19d/0x1180 [ 57.477571][ T4161] console_unlock+0xced/0x12b0 [ 57.477583][ T4161] vprintk_emit+0xbf/0x150 [ 57.477594][ T4161] _printk+0xd1/0x120 [ 57.477609][ T4161] register_console+0x65a/0x940 [ 57.477621][ T4161] univ8250_console_init+0x41/0x50 [ 57.477635][ T4161] console_init+0x18c/0x660 [ 57.477650][ T4161] start_kernel+0x301/0x540 [ 57.477662][ T4161] secondary_startup_64_no_verify+0xb1/0xbb [ 57.477677][ T4161] [ 57.477677][ T4161] -> #0 (console_owner){....}-{0:0}: [ 57.477693][ T4161] validate_chain+0x1649/0x5930 [ 57.477706][ T4161] __lock_acquire+0x1295/0x1ff0 [ 57.477717][ T4161] lock_acquire+0x1db/0x4f0 [ 57.477728][ T4161] console_lock_spinning_enable+0x51/0x60 [ 57.477741][ T4161] console_unlock+0xa47/0x12b0 [ 57.477753][ T4161] vprintk_emit+0xbf/0x150 [ 57.477764][ T4161] _printk+0xd1/0x120 [ 57.477777][ T4161] should_fail+0x36c/0x4c0 [ 57.477792][ T4161] should_failslab+0x5/0x20 [ 57.477807][ T4161] slab_pre_alloc_hook+0x53/0xc0 [ 57.477821][ T4161] __kmalloc+0x6e/0x300 [ 57.477833][ T4161] __tty_buffer_request_room+0x1ef/0x500 [ 57.477847][ T4161] tty_insert_flip_string_and_push_buffer+0x7c/0x390 [ 57.477862][ T4161] ppp_async_push+0x306/0x1b70 [ 57.477876][ T4161] ppp_async_send+0xd8/0x100 [ 57.477888][ T4161] __ppp_channel_push+0xff/0x1d0 [ 57.477900][ T4161] ppp_channel_push+0x196/0x220 [ 57.477912][ T4161] ppp_write+0x291/0x390 [ 57.477923][ T4161] vfs_write+0x30c/0xe50 [ 57.477935][ T4161] ksys_write+0x1a2/0x2c0 [ 57.477946][ T4161] do_syscall_64+0x3b/0xb0 [ 57.477958][ T4161] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 57.477972][ T4161] [ 57.477972][ T4161] other info that might help us debug this: [ 57.477972][ T4161] [ 57.477975][ T4161] Chain exists of: [ 57.477975][ T4161] console_owner --> &port_lock_key --> &port->lock [ 57.477975][ T4161] [ 57.477993][ T4161] Possible unsafe locking scenario: [ 57.477993][ T4161] [ 57.477996][ T4161] CPU0 CPU1 [ 57.477999][ T4161] ---- ---- [ 57.478001][ T4161] lock(&port->lock); [ 57.478008][ T4161] lock(&port_lock_key); [ 57.478016][ T4161] lock(&port->lock); [ 57.478024][ T4161] lock(console_owner); [ 57.478036][ T4161] [ 57.478036][ T4161] *** DEADLOCK *** [ 57.478036][ T4161] [ 57.478038][ T4161] 5 locks held by syz-executor348/4161: [ 57.478046][ T4161] #0: ffff88807468ca40 (&pch->upl){.+..}-{2:2}, at: ppp_channel_push+0x2c/0x220 [ 57.478078][ T4161] #1: ffff88807468c9e0 (&pch->downl){+...}-{2:2}, at: __ppp_channel_push+0x31/0x1d0 [ 57.478109][ T4161] #2: ffff888025c98030 (&ap->xmit_lock){+...}-{2:2}, at: ppp_async_push+0x9b/0x1b70 [ 57.478140][ T4161] #3: ffff88807468b958 (&port->lock){-.-.}-{2:2}, at: tty_insert_flip_string_and_push_buffer+0x3a/0x390 [ 57.478174][ T4161] #4: ffffffff8c7fc520 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0xa6/0x150 [ 57.478203][ T4161] [ 57.478203][ T4161] stack backtrace: [ 57.478214][ T4161] CPU: 0 PID: 4161 Comm: syz-executor348 Not tainted 5.15.173-syzkaller #0 [ 57.478228][ T4161] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 57.478239][ T4161] Call Trace: [ 57.478243][ T4161] [ 57.478249][ T4161] dump_stack_lvl+0x1e3/0x2d0 [ 57.478265][ T4161] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 57.478283][ T4161] ? print_circular_bug+0x12b/0x1a0 [ 57.478297][ T4161] check_noncircular+0x2f8/0x3b0 [ 57.478313][ T4161] ? add_chain_block+0x850/0x850 [ 57.478327][ T4161] ? lockdep_lock+0x11f/0x2a0 [ 57.478348][ T4161] validate_chain+0x1649/0x5930 [ 57.478376][ T4161] ? reacquire_held_locks+0x660/0x660 [ 57.478394][ T4161] ? format_decode+0x72f/0x1f10 [ 57.478414][ T4161] ? vsnprintf+0x1c70/0x1c70 [ 57.478431][ T4161] ? memcpy+0x3c/0x60 [ 57.478452][ T4161] ? mark_lock+0x98/0x340 [ 57.478465][ T4161] __lock_acquire+0x1295/0x1ff0 [ 57.478502][ T4161] lock_acquire+0x1db/0x4f0 [ 57.478514][ T4161] ? console_lock_spinning_enable+0x2c/0x60 [ 57.478532][ T4161] ? read_lock_is_recursive+0x10/0x10 [ 57.478546][ T4161] ? console_lock_spinning_enable+0x2c/0x60 [ 57.478561][ T4161] ? __lock_acquire+0x1ff0/0x1ff0 [ 57.478574][ T4161] ? do_raw_spin_lock+0x14a/0x370 [ 57.478594][ T4161] console_lock_spinning_enable+0x51/0x60 [ 57.478608][ T4161] ? console_lock_spinning_enable+0x2c/0x60 [ 57.478623][ T4161] console_unlock+0xa47/0x12b0 [ 57.478640][ T4161] ? console_trylock_spinning+0x3f0/0x3f0 [ 57.478656][ T4161] ? __down_trylock_console_sem+0x1f2/0x250 [ 57.478670][ T4161] ? vprintk_emit+0xa6/0x150 [ 57.478683][ T4161] ? printk_parse_prefix+0x2c0/0x2c0 [ 57.478697][ T4161] ? vprintk_emit+0xa6/0x150 [ 57.478710][ T4161] ? console_trylock+0x70/0x70 [ 57.478724][ T4161] ? do_raw_spin_unlock+0x137/0x8b0 [ 57.478742][ T4161] ? vprintk_emit+0x150/0x150 [ 57.478757][ T4161] ? mark_lock+0x98/0x340 [ 57.478772][ T4161] vprintk_emit+0xbf/0x150 [ 57.478789][ T4161] _printk+0xd1/0x120 [ 57.478811][ T4161] ? panic+0x860/0x860 [ 57.478829][ T4161] ? read_lock_is_recursive+0x10/0x10 [ 57.478843][ T4161] should_fail+0x36c/0x4c0 [ 57.478861][ T4161] should_failslab+0x5/0x20 [ 57.478876][ T4161] slab_pre_alloc_hook+0x53/0xc0 [ 57.478892][ T4161] __kmalloc+0x6e/0x300 [ 57.478905][ T4161] ? __tty_buffer_request_room+0x1ef/0x500 [ 57.478923][ T4161] __tty_buffer_request_room+0x1ef/0x500 [ 57.478941][ T4161] tty_insert_flip_string_and_push_buffer+0x7c/0x390 [ 57.478961][ T4161] ? pty_cleanup+0x40/0x40 [ 57.478977][ T4161] ppp_async_push+0x306/0x1b70 [ 57.479001][ T4161] ppp_async_send+0xd8/0x100 [ 57.479017][ T4161] __ppp_channel_push+0xff/0x1d0 [ 57.479043][ T4161] ppp_channel_push+0x196/0x220 [ 57.479061][ T4161] ppp_write+0x291/0x390 [ 57.479074][ T4161] ? ppp_read+0x7d0/0x7d0 [ 57.479089][ T4161] vfs_write+0x30c/0xe50 [ 57.479106][ T4161] ? file_end_write+0x250/0x250 [ 57.479123][ T4161] ? read_lock_is_recursive+0x10/0x10 [ 57.479137][ T4161] ? __context_tracking_exit+0x4c/0x80 [ 57.479155][ T4161] ? __lock_acquire+0x1ff0/0x1ff0 [ 57.479169][ T4161] ? __fdget_pos+0x1e9/0x380 [ 57.479187][ T4161] ksys_write+0x1a2/0x2c0 [ 57.479201][ T4161] ? print_irqtrace_events+0x210/0x210 [ 57.479216][ T4161] ? __ia32_sys_read+0x80/0x80 [ 57.479230][ T4161] ? syscall_enter_from_user_mode+0x2e/0x240 [ 57.479247][ T4161] ? lockdep_hardirqs_on+0x94/0x130 [ 57.479263][ T4161] ? syscall_enter_from_user_mode+0x2e/0x240 [ 57.479281][ T4161] do_syscall_64+0x3b/0xb0 [ 57.479294][ T4161] ? clear_bhb_loop+0x15/0x70 [ 57.479308][ T4161] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 57.479325][ T4161] RIP: 0033:0x7efc53ac8529 [ 57.479343][ T4161] Code: 48 83 c4 28 c3 e8 17 1a 00 00 0f 1f 80 00 00 00 00 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 b8 ff ff ff f7 d8 64 89 01 48 [ 57.479354][ T4161] RSP: 002b:00007ffcdca99cc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 57.479369][ T4161] RAX: ffffffffffffffda RBX: 00007ffcdca99cd0 RCX: 00007efc53ac8529 [ 57.479379][ T4161] RDX: 0000000000000009 RSI: 00000000200002c0 RDI: 0000000000000005 [ 57.479388][ T4161] RBP: 0000000000000001 R08: 00007ffcdca99a67 R09: 00007efc53b30034 [ 57.479397][ T4161] R10: 0000000000000001 R11: 0000000000000246 R12: 00007efc53b34618 [ 57.479406][ T4161] R13: 00007ffcdca99ea8 R14: 0000000000000001 R15: 0000000000000001 [ 57.479420][ T4161] [ 58.433256][ T4161] CPU: 0 PID: 4161 Comm: syz-executor348 Not tainted 5.15.173-syzkaller #0 [ 58.441830][ T4161] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 58.451871][ T4161] Call Trace: [ 58.455138][ T4161] [ 58.458057][ T4161] dump_stack_lvl+0x1e3/0x2d0 [ 58.462730][ T4161] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 58.468359][ T4161] ? panic+0x860/0x860 [ 58.472435][ T4161] ? read_lock_is_recursive+0x10/0x10 [ 58.477911][ T4161] should_fail+0x38a/0x4c0 [ 58.482339][ T4161] should_failslab+0x5/0x20 [ 58.486833][ T4161] slab_pre_alloc_hook+0x53/0xc0 [ 58.491760][ T4161] __kmalloc+0x6e/0x300 [ 58.495926][ T4161] ? __tty_buffer_request_room+0x1ef/0x500 [ 58.501740][ T4161] __tty_buffer_request_room+0x1ef/0x500 [ 58.507365][ T4161] tty_insert_flip_string_and_push_buffer+0x7c/0x390 [ 58.514031][ T4161] ? pty_cleanup+0x40/0x40 [ 58.518440][ T4161] ppp_async_push+0x306/0x1b70 [ 58.523249][ T4161] ppp_async_send+0xd8/0x100 [ 58.527832][ T4161] __ppp_channel_push+0xff/0x1d0 [ 58.532758][ T4161] ppp_channel_push+0x196/0x220 [ 58.537595][ T4161] ppp_write+0x291/0x390 [ 58.541879][ T4161] ? ppp_read+0x7d0/0x7d0 [ 58.546197][ T4161] vfs_write+0x30c/0xe50 [ 58.550429][ T4161] ? file_end_write+0x250/0x250 [ 58.555282][ T4161] ? read_lock_is_recursive+0x10/0x10 [ 58.560646][ T4161] ? __context_tracking_exit+0x4c/0x80 [ 58.566094][ T4161] ? __lock_acquire+0x1ff0/0x1ff0 [ 58.571111][ T4161] ? __fdget_pos+0x1e9/0x380 [ 58.575709][ T4161] ksys_write+0x1a2/0x2c0 [ 58.580039][ T4161] ? print_irqtrace_events+0x210/0x210 [ 58.585489][ T4161] ? __ia32_sys_read+0x80/0x80 [ 58.590255][ T4161] ? syscall_enter_from_user_mode+0x2e/0x240 [ 58.596245][ T4161] ? lockdep_hardirqs_on+0x94/0x130 [ 58.601432][ T4161] ? syscall_enter_from_user_mode+0x2e/0x240 [ 58.607400][ T4161] do_syscall_64+0x3b/0xb0 [ 58.611804][ T4161] ? clear_bhb_loop+0x15/0x70 [ 58.616465][ T4161] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 58.622347][ T4161] RIP: 0033:0x7efc53ac8529 [ 58.626752][ T4161] Code: 48 83 c4 28 c3 e8 17 1a 00 00 0f 1f 80 00 00 00 00 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 b8 ff ff ff f7 d8 64 89 01 48 [ 58.646344][ T4161] RSP: 002b:00007ffcdca99cc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 58.654747][ T4161] RAX: ffffffffffffffda RBX: 00007ffcdca99cd0 RCX: 00007efc53ac8529 [ 58.662826][ T4161] RDX: 0000000000000009 RSI: 00000000200002c0 RDI: 0000000000000005 [ 58.670913][ T4161] RBP: 0000000000000001 R08: 00007ffcdca99a67 R09: 00007efc53b30034 [ 58.678885][ T4161] R10: 0000000000000001 R11: 0000000000000246 R12: