Warning: Permanently added '10.128.0.125' (ED25519) to the list of known hosts. executing program [ 32.383805][ T6253] sp0: Synchronizing with TNC [ 32.385460][ T6253] ------------[ cut here ]------------ [ 32.385554][ T6253] [ 32.385557][ T6253] ====================================================== [ 32.385561][ T6253] WARNING: possible circular locking dependency detected [ 32.385566][ T6253] 6.10.0-rc2-syzkaller-g8867bbd4a056 #0 Tainted: G W [ 32.385573][ T6253] ------------------------------------------------------ [ 32.385576][ T6253] syz-executor286/6253 is trying to acquire lock: [ 32.385582][ T6253] ffff80008f1bcea0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x88/0xec [ 32.385614][ T6253] [ 32.385614][ T6253] but task is already holding lock: [ 32.385617][ T6253] ffff800093bc1c58 (&port_lock_key){....}-{2:2}, at: uart_write+0x114/0x2ec [ 32.385643][ T6253] [ 32.385643][ T6253] which lock already depends on the new lock. [ 32.385643][ T6253] [ 32.385646][ T6253] [ 32.385646][ T6253] the existing dependency chain (in reverse order) is: [ 32.385650][ T6253] [ 32.385650][ T6253] -> #1 (&port_lock_key){....}-{2:2}: [ 32.385664][ T6253] _raw_spin_lock_irqsave+0x5c/0x7c [ 32.385676][ T6253] pl011_console_write+0x148/0x724 [ 32.385687][ T6253] console_flush_all+0x5cc/0xb74 [ 32.385696][ T6253] console_unlock+0xec/0x3d4 [ 32.385705][ T6253] vprintk_emit+0x1ec/0x350 [ 32.385713][ T6253] vprintk_default+0xa0/0xe4 [ 32.385722][ T6253] vprintk+0x200/0x2d4 [ 32.385731][ T6253] _printk+0xdc/0x128 [ 32.385743][ T6253] register_console+0x700/0xa8c [ 32.385752][ T6253] serial_core_register_port+0x1428/0x1bf4 [ 32.385764][ T6253] serial_ctrl_register_port+0x28/0x38 [ 32.385773][ T6253] uart_add_one_port+0x28/0x38 [ 32.385782][ T6253] pl011_register_port+0x1b4/0x44c [ 32.385792][ T6253] sbsa_uart_probe+0x488/0x608 [ 32.385802][ T6253] platform_probe+0x148/0x1c0 [ 32.385812][ T6253] really_probe+0x38c/0x8fc [ 32.385823][ T6253] __driver_probe_device+0x194/0x374 [ 32.385835][ T6253] driver_probe_device+0x78/0x330 [ 32.385846][ T6253] __device_attach_driver+0x2a8/0x4f4 [ 32.385857][ T6253] bus_for_each_drv+0x228/0x2bc [ 32.385867][ T6253] __device_attach+0x2b4/0x434 [ 32.385878][ T6253] device_initial_probe+0x24/0x34 [ 32.385889][ T6253] bus_probe_device+0x178/0x240 [ 32.385899][ T6253] device_add+0x728/0xa6c [ 32.385908][ T6253] platform_device_add+0x3e8/0x6e8 [ 32.385917][ T6253] platform_device_register_full+0x4ec/0x604 [ 32.385927][ T6253] acpi_create_platform_device+0x5bc/0x744 [ 32.385938][ T6253] acpi_default_enumeration+0x6c/0xdc [ 32.385949][ T6253] acpi_bus_attach+0x8b8/0xaa8 [ 32.385961][ T6253] acpi_dev_for_one_check+0xa0/0xb4 [ 32.385971][ T6253] device_for_each_child+0xec/0x174 [ 32.385981][ T6253] acpi_dev_for_each_child+0xc4/0x108 [ 32.385991][ T6253] acpi_bus_attach+0x358/0xaa8 [ 32.386002][ T6253] acpi_dev_for_one_check+0xa0/0xb4 [ 32.386013][ T6253] device_for_each_child+0xec/0x174 [ 32.386022][ T6253] acpi_dev_for_each_child+0xc4/0x108 [ 32.386032][ T6253] acpi_bus_attach+0x358/0xaa8 [ 32.386043][ T6253] acpi_bus_scan+0x118/0x4f0 [ 32.386054][ T6253] acpi_scan_init+0x214/0x6b0 [ 32.386064][ T6253] acpi_init+0x190/0x254 [ 32.386072][ T6253] do_one_initcall+0x254/0x9e4 [ 32.386081][ T6253] do_initcall_level+0x154/0x214 [ 32.386092][ T6253] do_initcalls+0x58/0xac [ 32.386101][ T6253] do_basic_setup+0x8c/0xa0 [ 32.386122][ T6253] kernel_init_freeable+0x324/0x478 [ 32.386131][ T6253] kernel_init+0x24/0x2a0 [ 32.386143][ T6253] ret_from_fork+0x10/0x20 [ 32.386152][ T6253] [ 32.386152][ T6253] -> #0 (console_owner){....}-{0:0}: [ 32.386166][ T6253] __lock_acquire+0x3384/0x763c [ 32.386178][ T6253] lock_acquire+0x248/0x73c [ 32.386188][ T6253] console_lock_spinning_enable+0xb4/0xec [ 32.386198][ T6253] console_flush_all+0x58c/0xb74 [ 32.386207][ T6253] console_unlock+0xec/0x3d4 [ 32.386216][ T6253] vprintk_emit+0x1ec/0x350 [ 32.386224][ T6253] vprintk_default+0xa0/0xe4 [ 32.386233][ T6253] vprintk+0x200/0x2d4 [ 32.386242][ T6253] _printk+0xdc/0x128 [ 32.386252][ T6253] report_bug+0x3b8/0x5b0 [ 32.386262][ T6253] bug_handler+0x50/0x1fc [ 32.386271][ T6253] brk_handler+0x17c/0x2e0 [ 32.386280][ T6253] do_debug_exception+0x1e4/0x398 [ 32.386291][ T6253] el1_dbg+0x64/0x80 [ 32.386301][ T6253] el1h_64_sync_handler+0x40/0xac [ 32.386310][ T6253] el1h_64_sync+0x64/0x68 [ 32.386318][ T6253] uart_write+0x280/0x2ec [ 32.386329][ T6253] sixpack_open+0x5d8/0x8b0 [ 32.386341][ T6253] tty_ldisc_open+0x9c/0x14c [ 32.386353][ T6253] tty_set_ldisc+0x2f8/0x4e0 [ 32.386364][ T6253] tiocsetd+0x100/0x13c [ 32.386373][ T6253] tty_ioctl+0xba0/0xd8c [ 32.386383][ T6253] __arm64_sys_ioctl+0x14c/0x1c8 [ 32.386393][ T6253] invoke_syscall+0x98/0x2b8 [ 32.386402][ T6253] el0_svc_common+0x130/0x23c [ 32.386410][ T6253] do_el0_svc+0x48/0x58 [ 32.386417][ T6253] el0_svc+0x54/0x168 [ 32.386427][ T6253] el0t_64_sync_handler+0x84/0xfc [ 32.386437][ T6253] el0t_64_sync+0x190/0x194 [ 32.386445][ T6253] [ 32.386445][ T6253] other info that might help us debug this: [ 32.386445][ T6253] [ 32.386448][ T6253] Possible unsafe locking scenario: [ 32.386448][ T6253] [ 32.386451][ T6253] CPU0 CPU1 [ 32.386454][ T6253] ---- ---- [ 32.386457][ T6253] lock(&port_lock_key); [ 32.386464][ T6253] lock(console_owner); [ 32.386471][ T6253] lock(&port_lock_key); [ 32.386478][ T6253] lock(console_owner); [ 32.386485][ T6253] [ 32.386485][ T6253] *** DEADLOCK *** [ 32.386485][ T6253] [ 32.386487][ T6253] 5 locks held by syz-executor286/6253: [ 32.386494][ T6253] #0: ffff0000ce5671c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_lock+0x78/0xc8 [ 32.386518][ T6253] #1: ffff0000ce5670a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_write+0x3c/0x4c [ 32.386542][ T6253] #2: ffff800093bc1c58 (&port_lock_key){....}-{2:2}, at: uart_write+0x114/0x2ec [ 32.386567][ T6253] #3: ffff80008f0a47c0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x1d0/0x350 [ 32.386591][ T6253] #4: ffff80008f0a43f0 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire+0x10/0x4c [ 32.386615][ T6253] [ 32.386615][ T6253] stack backtrace: [ 32.386619][ T6253] CPU: 1 PID: 6253 Comm: syz-executor286 Tainted: G W 6.10.0-rc2-syzkaller-g8867bbd4a056 #0 [ 32.386631][ T6253] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 32.386638][ T6253] Call trace: [ 32.386641][ T6253] dump_backtrace+0x1b8/0x1e4 [ 32.386650][ T6253] show_stack+0x2c/0x3c [ 32.386658][ T6253] dump_stack_lvl+0xe4/0x150 [ 32.386667][ T6253] dump_stack+0x1c/0x28 [ 32.386676][ T6253] print_circular_bug+0x150/0x1b8 [ 32.386684][ T6253] check_noncircular+0x310/0x404 [ 32.386692][ T6253] __lock_acquire+0x3384/0x763c [ 32.386703][ T6253] lock_acquire+0x248/0x73c [ 32.386714][ T6253] console_lock_spinning_enable+0xb4/0xec [ 32.386724][ T6253] console_flush_all+0x58c/0xb74 [ 32.386733][ T6253] console_unlock+0xec/0x3d4 [ 32.386741][ T6253] vprintk_emit+0x1ec/0x350 [ 32.386749][ T6253] vprintk_default+0xa0/0xe4 [ 32.386757][ T6253] vprintk+0x200/0x2d4 [ 32.386766][ T6253] _printk+0xdc/0x128 [ 32.386776][ T6253] report_bug+0x3b8/0x5b0 [ 32.386786][ T6253] bug_handler+0x50/0x1fc [ 32.386794][ T6253] brk_handler+0x17c/0x2e0 [ 32.386803][ T6253] do_debug_exception+0x1e4/0x398 [ 32.386814][ T6253] el1_dbg+0x64/0x80 [ 32.386823][ T6253] el1h_64_sync_handler+0x40/0xac [ 32.386832][ T6253] el1h_64_sync+0x64/0x68 [ 32.386840][ T6253] uart_write+0x280/0x2ec [ 32.386851][ T6253] sixpack_open+0x5d8/0x8b0 [ 32.386861][ T6253] tty_ldisc_open+0x9c/0x14c [ 32.386872][ T6253] tty_set_ldisc+0x2f8/0x4e0 [ 32.386883][ T6253] tiocsetd+0x100/0x13c [ 32.386892][ T6253] tty_ioctl+0xba0/0xd8c [ 32.386901][ T6253] __arm64_sys_ioctl+0x14c/0x1c8 [ 32.386910][ T6253] invoke_syscall+0x98/0x2b8 [ 32.386918][ T6253] el0_svc_common+0x130/0x23c [ 32.386925][ T6253] do_el0_svc+0x48/0x58 [ 32.386933][ T6253] el0_svc+0x54/0x168 [ 32.386942][ T6253] el0t_64_sync_handler+0x84/0xfc [ 32.386952][ T6253] el0t_64_sync+0x190/0x194 [ 32.585884][ T6253] WARNING: CPU: 1 PID: 6253 at drivers/tty/serial/serial_core.c:625 uart_write+0x280/0x2ec [ 32.588393][ T6253] Modules linked in: [ 32.589365][ T6253] CPU: 1 PID: 6253 Comm: syz-executor286 Tainted: G W 6.10.0-rc2-syzkaller-g8867bbd4a056 #0 [ 32.592228][ T6253] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 32.594707][ T6253] pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 32.596644][ T6253] pc : uart_write+0x280/0x2ec [ 32.597830][ T6253] lr : uart_write+0x278/0x2ec [ 32.598989][ T6253] sp : ffff800099527ad0 [ 32.600008][ T6253] x29: ffff800099527ad0 x28: 1ffff000132a4f68 x27: dfff800000000000 [ 32.601975][ T6253] x26: 0000000000000001 x25: dfff800000000000 x24: ffff0000c8ac0f48 [ 32.603989][ T6253] x23: 0000000000000000 x22: ffff800093bc1c40 x21: ffff800099527b60 [ 32.605988][ T6253] x20: 0000000000000001 x19: ffff0000c8ac0be8 x18: ffff800099527780 [ 32.607993][ T6253] x17: 000000000000c796 x16: ffff8000803514ec x15: ffff7000132a4f40 [ 32.610036][ T6253] x14: 1ffff000132a4f40 x13: 0000000000000004 x12: ffffffffffffffff [ 32.612048][ T6253] x11: ffff7000132a4f40 x10: 0000000000ff0100 x9 : 0000000000000000 [ 32.614066][ T6253] x8 : ffff0000daf79e40 x7 : 0000000000000000 x6 : 0000000000000000 [ 32.616056][ T6253] x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff80008035161c [ 32.618126][ T6253] x2 : 0000000000000001 x1 : 0000000000000000 x0 : ffff800093bc1c40 [ 32.620179][ T6253] Call trace: [ 32.621017][ T6253] uart_write+0x280/0x2ec [ 32.622148][ T6253] sixpack_open+0x5d8/0x8b0 [ 32.623283][ T6253] tty_ldisc_open+0x9c/0x14c [ 32.624455][ T6253] tty_set_ldisc+0x2f8/0x4e0 [ 32.625593][ T6253] tiocsetd+0x100/0x13c [ 32.626631][ T6253] tty_ioctl+0xba0/0xd8c [ 32.627683][ T6253] __arm64_sys_ioctl+0x14c/0x1c8 [ 32.628912][ T6253] invoke_syscall+0x98/0x2b8 [ 32.630031][ T6253] el0_svc_common+0x130/0x23c [ 32.631498][ T6253] do_el0_svc+0x48/0x58 [ 32.632669][ T6253] el0_svc+0x54/0x168 [ 32.633720][ T6253] el0t_64_sync_handler+0x84/0xfc [ 32.634954][ T6253] el0t_64_sync+0x190/0x194 [ 32.636058][ T6253] irq event stamp: 10528 [ 32.637120][ T6253] hardirqs last enabled at (10527): [] console_unlock+0x17c/0x3d4 [ 32.639452][ T6253] hardirqs last disabled at (10528): [] _raw_spin_lock_irqsave+0x2c/0x7c [ 32.642215][ T6253] softirqs last enabled at (10418): [] neigh_parms_alloc+0x330/0x464 [ 32.644637][ T6253] softirqs last disabled at (10416): [] neigh_parms_alloc+0x284/0x464 [ 32.647055][ T6253] ---[ end trace 0000000000000000 ]---