Warning: Permanently added '10.128.0.9' (ECDSA) to the list of known hosts. [ 40.565738][ T292] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 40.567719][ T292] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 40.570790][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 40.583669][ T148] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 40.585605][ T148] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 40.588010][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready executing program [ 40.652275][ T4057] FAULT_INJECTION: forcing a failure. [ 40.652275][ T4057] name failslab, interval 1, probability 0, space 0, times 1 [ 40.652339][ T4057] [ 40.652342][ T4057] ====================================================== [ 40.652345][ T4057] WARNING: possible circular locking dependency detected [ 40.652349][ T4057] 5.15.104-syzkaller #0 Not tainted [ 40.652354][ T4057] ------------------------------------------------------ [ 40.652357][ T4057] syz-executor247/4057 is trying to acquire lock: [ 40.652362][ T4057] ffff800014a87a00 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x38/0x78 [ 40.652412][ T4057] [ 40.652412][ T4057] but task is already holding lock: [ 40.652415][ T4057] ffff0000ce7b6158 (&port->lock){....}-{2:2}, at: tty_insert_flip_string_and_push_buffer+0x48/0x324 [ 40.652440][ T4057] [ 40.652440][ T4057] which lock already depends on the new lock. [ 40.652440][ T4057] [ 40.652443][ T4057] [ 40.652443][ T4057] the existing dependency chain (in reverse order) is: [ 40.652446][ T4057] [ 40.652446][ T4057] -> #2 (&port->lock){....}-{2:2}: [ 40.652459][ T4057] _raw_spin_lock_irqsave+0xc4/0x14c [ 40.652470][ T4057] tty_port_tty_get+0x2c/0x124 [ 40.652479][ T4057] tty_port_default_wakeup+0x20/0x54 [ 40.652488][ T4057] tty_port_tty_wakeup+0x64/0x78 [ 40.652497][ T4057] uart_write_wakeup+0x4c/0x64 [ 40.652505][ T4057] pl011_tx_chars+0xd04/0x157c [ 40.652515][ T4057] pl011_start_tx+0x364/0x8b8 [ 40.652524][ T4057] uart_write+0x62c/0x8b8 [ 40.652531][ T4057] n_tty_write+0xae0/0xf38 [ 40.652540][ T4057] file_tty_write+0x44c/0x758 [ 40.652549][ T4057] redirected_tty_write+0xc4/0x10c [ 40.652558][ T4057] vfs_write+0x87c/0xb3c [ 40.652568][ T4057] ksys_write+0x15c/0x26c [ 40.652576][ T4057] __arm64_sys_write+0x7c/0x90 [ 40.652585][ T4057] invoke_syscall+0x98/0x2b8 [ 40.652596][ T4057] el0_svc_common+0x138/0x258 [ 40.652605][ T4057] do_el0_svc+0x58/0x14c [ 40.652614][ T4057] el0_svc+0x7c/0x1f0 [ 40.652623][ T4057] el0t_64_sync_handler+0x84/0xe4 [ 40.652633][ T4057] el0t_64_sync+0x1a0/0x1a4 [ 40.652641][ T4057] [ 40.652641][ T4057] -> #1 (&port_lock_key){....}-{2:2}: [ 40.652654][ T4057] _raw_spin_lock+0xb0/0x10c [ 40.652663][ T4057] pl011_console_write+0x1a0/0x774 [ 40.652672][ T4057] console_unlock+0xbac/0x1394 [ 40.652681][ T4057] register_console+0x560/0x870 [ 40.652691][ T4057] uart_add_one_port+0xe70/0x1540 [ 40.652699][ T4057] pl011_register_port+0x1a0/0x434 [ 40.652708][ T4057] sbsa_uart_probe+0x474/0x5dc [ 40.652717][ T4057] platform_probe+0x148/0x1c0 [ 40.652727][ T4057] really_probe+0x26c/0xaec [ 40.652735][ T4057] __driver_probe_device+0x1bc/0x3f8 [ 40.652743][ T4057] driver_probe_device+0x78/0x34c [ 40.652752][ T4057] __device_attach_driver+0x28c/0x4d8 [ 40.652760][ T4057] bus_for_each_drv+0x158/0x1e0 [ 40.652770][ T4057] __device_attach+0x2f0/0x480 [ 40.652778][ T4057] device_initial_probe+0x24/0x34 [ 40.652786][ T4057] bus_probe_device+0xbc/0x1c8 [ 40.652795][ T4057] device_add+0xae0/0xef4 [ 40.652804][ T4057] platform_device_add+0x3f8/0x708 [ 40.652813][ T4057] platform_device_register_full+0x508/0x618 [ 40.652823][ T4057] acpi_create_platform_device+0x4d8/0x650 [ 40.652833][ T4057] acpi_default_enumeration+0x6c/0xdc [ 40.652843][ T4057] acpi_bus_attach+0x88c/0xab4 [ 40.652853][ T4057] acpi_bus_attach+0x314/0xab4 [ 40.652862][ T4057] acpi_bus_attach+0x314/0xab4 [ 40.652871][ T4057] acpi_bus_scan+0xe4/0x20c [ 40.652880][ T4057] acpi_scan_init+0x220/0x71c [ 40.652890][ T4057] acpi_init+0x188/0x24c [ 40.652899][ T4057] do_one_initcall+0x234/0x990 [ 40.652907][ T4057] do_initcall_level+0x154/0x214 [ 40.652916][ T4057] do_initcalls+0x58/0xac [ 40.652924][ T4057] do_basic_setup+0x8c/0xa0 [ 40.652932][ T4057] kernel_init_freeable+0x470/0x650 [ 40.652941][ T4057] kernel_init+0x24/0x294 [ 40.652951][ T4057] ret_from_fork+0x10/0x20 [ 40.652959][ T4057] [ 40.652959][ T4057] -> #0 (console_owner){....}-{0:0}: [ 40.652972][ T4057] __lock_acquire+0x32cc/0x7620 [ 40.652982][ T4057] lock_acquire+0x240/0x77c [ 40.652990][ T4057] console_lock_spinning_enable+0x68/0x78 [ 40.653001][ T4057] console_unlock+0x910/0x1394 [ 40.653010][ T4057] vprintk_emit+0x13c/0x218 [ 40.653019][ T4057] vprintk_default+0xa0/0xe4 [ 40.653028][ T4057] vprintk+0x218/0x2f0 [ 40.653037][ T4057] _printk+0xdc/0x128 [ 40.653045][ T4057] should_fail+0x3e0/0x5cc [ 40.653054][ T4057] __should_failslab+0xbc/0x110 [ 40.653063][ T4057] should_failslab+0x10/0x28 [ 40.653074][ T4057] slab_pre_alloc_hook+0x64/0xe8 [ 40.653084][ T4057] __kmalloc+0xc0/0x4c8 [ 40.653092][ T4057] __tty_buffer_request_room+0x1a4/0x440 [ 40.653102][ T4057] tty_insert_flip_string_and_push_buffer+0x74/0x324 [ 40.653111][ T4057] pty_write+0xb8/0xe8 [ 40.653120][ T4057] tty_put_char+0x110/0x170 [ 40.653130][ T4057] __process_echoes+0x3f8/0xd54 [ 40.653137][ T4057] n_tty_receive_buf_common+0x591c/0x5dc0 [ 40.653146][ T4057] n_tty_receive_buf+0x40/0x54 [ 40.653154][ T4057] tiocsti+0x284/0x35c [ 40.653162][ T4057] tty_ioctl+0x354/0xdf4 [ 40.653171][ T4057] __arm64_sys_ioctl+0x14c/0x1c8 [ 40.653180][ T4057] invoke_syscall+0x98/0x2b8 [ 40.653189][ T4057] el0_svc_common+0x138/0x258 [ 40.653199][ T4057] do_el0_svc+0x58/0x14c [ 40.653208][ T4057] el0_svc+0x7c/0x1f0 [ 40.653216][ T4057] el0t_64_sync_handler+0x84/0xe4 [ 40.653225][ T4057] el0t_64_sync+0x1a0/0x1a4 [ 40.653233][ T4057] [ 40.653233][ T4057] other info that might help us debug this: [ 40.653233][ T4057] [ 40.653236][ T4057] Chain exists of: [ 40.653236][ T4057] console_owner --> &port_lock_key --> &port->lock [ 40.653236][ T4057] [ 40.653250][ T4057] Possible unsafe locking scenario: [ 40.653250][ T4057] [ 40.653252][ T4057] CPU0 CPU1 [ 40.653255][ T4057] ---- ---- [ 40.653257][ T4057] lock(&port->lock); [ 40.653263][ T4057] lock(&port_lock_key); [ 40.653269][ T4057] lock(&port->lock); [ 40.653275][ T4057] lock(console_owner); [ 40.653281][ T4057] [ 40.653281][ T4057] *** DEADLOCK *** [ 40.653281][ T4057] [ 40.653283][ T4057] 6 locks held by syz-executor247/4057: [ 40.653289][ T4057] #0: ffff0000d84cd098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 [ 40.653312][ T4057] #1: ffff0000ce7b58b8 (&port->buf.lock/1){+.+.}-{3:3}, at: tty_buffer_lock_exclusive+0x48/0x84 [ 40.653338][ T4057] #2: ffff0000d84cd2e8 (&o_tty->termios_rwsem/1){++++}-{3:3}, at: n_tty_receive_buf_common+0x78/0x5dc0 [ 40.653364][ T4057] #3: ffff800018db0378 (&ldata->output_lock){+.+.}-{3:3}, at: n_tty_receive_buf_common+0x58e8/0x5dc0 [ 40.653387][ T4057] #4: ffff0000ce7b6158 (&port->lock){....}-{2:2}, at: tty_insert_flip_string_and_push_buffer+0x48/0x324 [ 40.653419][ T4057] #5: ffff80001496f500 (console_lock){+.+.}-{0:0}, at: console_trylock_spinning+0x1c/0x280 [ 40.653444][ T4057] [ 40.653444][ T4057] stack backtrace: [ 40.653447][ T4057] CPU: 1 PID: 4057 Comm: syz-executor247 Not tainted 5.15.104-syzkaller #0 [ 40.653457][ T4057] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 [ 40.653464][ T4057] Call trace: [ 40.653466][ T4057] dump_backtrace+0x0/0x530 [ 40.653477][ T4057] show_stack+0x2c/0x3c [ 40.653486][ T4057] dump_stack_lvl+0x108/0x170 [ 40.653495][ T4057] dump_stack+0x1c/0x58 [ 40.653503][ T4057] print_circular_bug+0x150/0x1b8 [ 40.653513][ T4057] check_noncircular+0x2cc/0x378 [ 40.653522][ T4057] __lock_acquire+0x32cc/0x7620 [ 40.653531][ T4057] lock_acquire+0x240/0x77c [ 40.653540][ T4057] console_lock_spinning_enable+0x68/0x78 [ 40.653550][ T4057] console_unlock+0x910/0x1394 [ 40.653560][ T4057] vprintk_emit+0x13c/0x218 [ 40.653569][ T4057] vprintk_default+0xa0/0xe4 [ 40.653578][ T4057] vprintk+0x218/0x2f0 [ 40.653587][ T4057] _printk+0xdc/0x128 [ 40.653594][ T4057] should_fail+0x3e0/0x5cc [ 40.653602][ T4057] __should_failslab+0xbc/0x110 [ 40.653611][ T4057] should_failslab+0x10/0x28 [ 40.653620][ T4057] slab_pre_alloc_hook+0x64/0xe8 [ 40.653629][ T4057] __kmalloc+0xc0/0x4c8 [ 40.653638][ T4057] __tty_buffer_request_room+0x1a4/0x440 [ 40.653647][ T4057] tty_insert_flip_string_and_push_buffer+0x74/0x324 [ 40.653657][ T4057] pty_write+0xb8/0xe8 [ 40.653665][ T4057] tty_put_char+0x110/0x170 [ 40.653675][ T4057] __process_echoes+0x3f8/0xd54 [ 40.653683][ T4057] n_tty_receive_buf_common+0x591c/0x5dc0 [ 40.653692][ T4057] n_tty_receive_buf+0x40/0x54 [ 40.653699][ T4057] tiocsti+0x284/0x35c [ 40.653708][ T4057] tty_ioctl+0x354/0xdf4 [ 40.653717][ T4057] __arm64_sys_ioctl+0x14c/0x1c8 [ 40.653725][ T4057] invoke_syscall+0x98/0x2b8 [ 40.653735][ T4057] el0_svc_common+0x138/0x258 [ 40.653744][ T4057] do_el0_svc+0x58/0x14c [ 40.653753][ T4057] el0_svc+0x7c/0x1f0 [ 40.653761][ T4057] el0t_64_sync_handler+0x84/0xe4 [ 40.653771][ T4057] el0t_64_sync+0x1a0/0x1a4 [ 40.868242][ T4057] CPU: 1 PID: 4057 Comm: syz-executor247 Not tainted 5.15.104-syzkaller #0 [ 40.870352][ T4057] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 [ 40.872847][ T4057] Call trace: [ 40.873655][ T4057] dump_backtrace+0x0/0x530 [ 40.874839][ T4057] show_stack+0x2c/0x3c [ 40.875823][ T4057] dump_stack_lvl+0x108/0x170 [ 40.876942][ T4057] dump_stack+0x1c/0x58 [ 40.878002][ T4057] should_fail+0x400/0x5cc [ 40.879125][ T4057] __should_failslab+0xbc/0x110 [ 40.880324][ T4057] should_failslab+0x10/0x28 [ 40.881466][ T4057] slab_pre_alloc_hook+0x64/0xe8 [ 40.882683][ T4057] __kmalloc+0xc0/0x4c8 [ 40.883710][ T4057] __tty_buffer_request_room+0x1a4/0x440 [ 40.885036][ T4057] tty_insert_flip_string_and_push_buffer+0x74/0x324 [ 40.886677][ T4057] pty_write+0xb8/0xe8 [ 40.887649][ T4057] tty_put_char+0x110/0x170 [ 40.888759][ T4057] __process_echoes+0x3f8/0xd54 [ 40.889941][ T4057] n_tty_receive_buf_common+0x591c/0x5dc0 [ 40.891296][ T4057] n_tty_receive_buf+0x40/0x54 [ 40.892526][ T4057] tiocsti+0x284/0x35c [ 40.893500][ T4057] tty_ioctl+0x354/0xdf4 [ 40.894576][ T4057] __arm64_sys_ioctl+0x14c/0x1c8 [ 40.895787][ T4057] invoke_syscall+0x98/0x2b8 [ 40.896895][ T4057] el0_svc_common+0x138/0x258 [ 40.898002][ T4057] do_el0_svc+0x58/0x14c [ 40.899021][ T4057] el0_svc+0x7c/0x1f0 [ 40.900075][ T4057] el0t_64_sync_handler+0x84/0xe4 [ 40.901287][ T4057] el0t_64_sync+0x1a0/0x1a4