Warning: Permanently added '10.128.1.18' (ED25519) to the list of known hosts. executing program [ 35.423191][ T6254] sp0: Synchronizing with TNC [ 35.425053][ T6254] ------------[ cut here ]------------ [ 35.425141][ T6254] [ 35.425144][ T6254] ====================================================== [ 35.425148][ T6254] WARNING: possible circular locking dependency detected [ 35.425153][ T6254] 6.10.0-rc2-syzkaller-g8867bbd4a056 #0 Tainted: G W [ 35.425159][ T6254] ------------------------------------------------------ [ 35.425162][ T6254] syz-executor196/6254 is trying to acquire lock: [ 35.425168][ T6254] ffff80008f1bcea0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x88/0xec [ 35.425199][ T6254] [ 35.425199][ T6254] but task is already holding lock: [ 35.425203][ T6254] ffff800093bc1c58 (&port_lock_key){....}-{2:2}, at: uart_write+0x114/0x2ec [ 35.425229][ T6254] [ 35.425229][ T6254] which lock already depends on the new lock. [ 35.425229][ T6254] [ 35.425232][ T6254] [ 35.425232][ T6254] the existing dependency chain (in reverse order) is: [ 35.425236][ T6254] [ 35.425236][ T6254] -> #1 (&port_lock_key){....}-{2:2}: [ 35.425250][ T6254] _raw_spin_lock_irqsave+0x5c/0x7c [ 35.425278][ T6254] pl011_console_write+0x148/0x724 [ 35.425290][ T6254] console_flush_all+0x5cc/0xb74 [ 35.425299][ T6254] console_unlock+0xec/0x3d4 [ 35.425307][ T6254] vprintk_emit+0x1ec/0x350 [ 35.425316][ T6254] vprintk_default+0xa0/0xe4 [ 35.425324][ T6254] vprintk+0x200/0x2d4 [ 35.425333][ T6254] _printk+0xdc/0x128 [ 35.425345][ T6254] register_console+0x700/0xa8c [ 35.425354][ T6254] serial_core_register_port+0x1428/0x1bf4 [ 35.425366][ T6254] serial_ctrl_register_port+0x28/0x38 [ 35.425376][ T6254] uart_add_one_port+0x28/0x38 [ 35.425385][ T6254] pl011_register_port+0x1b4/0x44c [ 35.425395][ T6254] sbsa_uart_probe+0x488/0x608 [ 35.425404][ T6254] platform_probe+0x148/0x1c0 [ 35.425415][ T6254] really_probe+0x38c/0x8fc [ 35.425426][ T6254] __driver_probe_device+0x194/0x374 [ 35.425437][ T6254] driver_probe_device+0x78/0x330 [ 35.425448][ T6254] __device_attach_driver+0x2a8/0x4f4 [ 35.425460][ T6254] bus_for_each_drv+0x228/0x2bc [ 35.425470][ T6254] __device_attach+0x2b4/0x434 [ 35.425481][ T6254] device_initial_probe+0x24/0x34 [ 35.425492][ T6254] bus_probe_device+0x178/0x240 [ 35.425502][ T6254] device_add+0x728/0xa6c [ 35.425511][ T6254] platform_device_add+0x3e8/0x6e8 [ 35.425519][ T6254] platform_device_register_full+0x4ec/0x604 [ 35.425529][ T6254] acpi_create_platform_device+0x5bc/0x744 [ 35.425540][ T6254] acpi_default_enumeration+0x6c/0xdc [ 35.425552][ T6254] acpi_bus_attach+0x8b8/0xaa8 [ 35.425563][ T6254] acpi_dev_for_one_check+0xa0/0xb4 [ 35.425574][ T6254] device_for_each_child+0xec/0x174 [ 35.425584][ T6254] acpi_dev_for_each_child+0xc4/0x108 [ 35.425594][ T6254] acpi_bus_attach+0x358/0xaa8 [ 35.425605][ T6254] acpi_dev_for_one_check+0xa0/0xb4 [ 35.425615][ T6254] device_for_each_child+0xec/0x174 [ 35.425625][ T6254] acpi_dev_for_each_child+0xc4/0x108 [ 35.425635][ T6254] acpi_bus_attach+0x358/0xaa8 [ 35.425646][ T6254] acpi_bus_scan+0x118/0x4f0 [ 35.425657][ T6254] acpi_scan_init+0x214/0x6b0 [ 35.425667][ T6254] acpi_init+0x190/0x254 [ 35.425675][ T6254] do_one_initcall+0x254/0x9e4 [ 35.425685][ T6254] do_initcall_level+0x154/0x214 [ 35.425696][ T6254] do_initcalls+0x58/0xac [ 35.425705][ T6254] do_basic_setup+0x8c/0xa0 [ 35.425714][ T6254] kernel_init_freeable+0x324/0x478 [ 35.425723][ T6254] kernel_init+0x24/0x2a0 [ 35.425735][ T6254] ret_from_fork+0x10/0x20 [ 35.425744][ T6254] [ 35.425744][ T6254] -> #0 (console_owner){....}-{0:0}: [ 35.425758][ T6254] __lock_acquire+0x3384/0x763c [ 35.425770][ T6254] lock_acquire+0x248/0x73c [ 35.425780][ T6254] console_lock_spinning_enable+0xb4/0xec [ 35.425790][ T6254] console_flush_all+0x58c/0xb74 [ 35.425800][ T6254] console_unlock+0xec/0x3d4 [ 35.425808][ T6254] vprintk_emit+0x1ec/0x350 [ 35.425816][ T6254] vprintk_default+0xa0/0xe4 [ 35.425825][ T6254] vprintk+0x200/0x2d4 [ 35.425834][ T6254] _printk+0xdc/0x128 [ 35.425844][ T6254] report_bug+0x3b8/0x5b0 [ 35.425855][ T6254] bug_handler+0x50/0x1fc [ 35.425864][ T6254] brk_handler+0x17c/0x2e0 [ 35.425873][ T6254] do_debug_exception+0x1e4/0x398 [ 35.425884][ T6254] el1_dbg+0x64/0x80 [ 35.425893][ T6254] el1h_64_sync_handler+0x40/0xac [ 35.425903][ T6254] el1h_64_sync+0x64/0x68 [ 35.425911][ T6254] uart_write+0x280/0x2ec [ 35.425922][ T6254] sixpack_open+0x5d8/0x8b0 [ 35.425934][ T6254] tty_ldisc_open+0x9c/0x14c [ 35.425946][ T6254] tty_set_ldisc+0x2f8/0x4e0 [ 35.425957][ T6254] tiocsetd+0x100/0x13c [ 35.425967][ T6254] tty_ioctl+0xba0/0xd8c [ 35.425976][ T6254] __arm64_sys_ioctl+0x14c/0x1c8 [ 35.425986][ T6254] invoke_syscall+0x98/0x2b8 [ 35.425995][ T6254] el0_svc_common+0x130/0x23c [ 35.426003][ T6254] do_el0_svc+0x48/0x58 [ 35.426010][ T6254] el0_svc+0x54/0x168 [ 35.426020][ T6254] el0t_64_sync_handler+0x84/0xfc [ 35.426030][ T6254] el0t_64_sync+0x190/0x194 [ 35.426038][ T6254] [ 35.426038][ T6254] other info that might help us debug this: [ 35.426038][ T6254] [ 35.426041][ T6254] Possible unsafe locking scenario: [ 35.426041][ T6254] [ 35.426044][ T6254] CPU0 CPU1 [ 35.426047][ T6254] ---- ---- [ 35.426050][ T6254] lock(&port_lock_key); [ 35.426057][ T6254] lock(console_owner); [ 35.426064][ T6254] lock(&port_lock_key); [ 35.426071][ T6254] lock(console_owner); [ 35.426078][ T6254] [ 35.426078][ T6254] *** DEADLOCK *** [ 35.426078][ T6254] [ 35.426080][ T6254] 5 locks held by syz-executor196/6254: [ 35.426087][ T6254] #0: ffff0000d4a131c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_lock+0x78/0xc8 [ 35.426110][ T6254] #1: ffff0000d4a130a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_write+0x3c/0x4c [ 35.426134][ T6254] #2: ffff800093bc1c58 (&port_lock_key){....}-{2:2}, at: uart_write+0x114/0x2ec [ 35.426160][ T6254] #3: ffff80008f0a47c0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x1d0/0x350 [ 35.426183][ T6254] #4: ffff80008f0a43f0 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire+0x10/0x4c [ 35.426208][ T6254] [ 35.426208][ T6254] stack backtrace: [ 35.426212][ T6254] CPU: 0 PID: 6254 Comm: syz-executor196 Tainted: G W 6.10.0-rc2-syzkaller-g8867bbd4a056 #0 [ 35.426224][ T6254] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 35.426230][ T6254] Call trace: [ 35.426233][ T6254] dump_backtrace+0x1b8/0x1e4 [ 35.426242][ T6254] show_stack+0x2c/0x3c [ 35.426250][ T6254] dump_stack_lvl+0xe4/0x150 [ 35.426268][ T6254] dump_stack+0x1c/0x28 [ 35.426278][ T6254] print_circular_bug+0x150/0x1b8 [ 35.426286][ T6254] check_noncircular+0x310/0x404 [ 35.426295][ T6254] __lock_acquire+0x3384/0x763c [ 35.426306][ T6254] lock_acquire+0x248/0x73c [ 35.426316][ T6254] console_lock_spinning_enable+0xb4/0xec [ 35.426326][ T6254] console_flush_all+0x58c/0xb74 [ 35.426335][ T6254] console_unlock+0xec/0x3d4 [ 35.426343][ T6254] vprintk_emit+0x1ec/0x350 [ 35.426351][ T6254] vprintk_default+0xa0/0xe4 [ 35.426360][ T6254] vprintk+0x200/0x2d4 [ 35.426369][ T6254] _printk+0xdc/0x128 [ 35.426379][ T6254] report_bug+0x3b8/0x5b0 [ 35.426388][ T6254] bug_handler+0x50/0x1fc [ 35.426397][ T6254] brk_handler+0x17c/0x2e0 [ 35.426405][ T6254] do_debug_exception+0x1e4/0x398 [ 35.426416][ T6254] el1_dbg+0x64/0x80 [ 35.426425][ T6254] el1h_64_sync_handler+0x40/0xac [ 35.426435][ T6254] el1h_64_sync+0x64/0x68 [ 35.426443][ T6254] uart_write+0x280/0x2ec [ 35.426454][ T6254] sixpack_open+0x5d8/0x8b0 [ 35.426464][ T6254] tty_ldisc_open+0x9c/0x14c [ 35.426475][ T6254] tty_set_ldisc+0x2f8/0x4e0 [ 35.426486][ T6254] tiocsetd+0x100/0x13c [ 35.426495][ T6254] tty_ioctl+0xba0/0xd8c [ 35.426504][ T6254] __arm64_sys_ioctl+0x14c/0x1c8 [ 35.426513][ T6254] invoke_syscall+0x98/0x2b8 [ 35.426521][ T6254] el0_svc_common+0x130/0x23c [ 35.426529][ T6254] do_el0_svc+0x48/0x58 [ 35.426536][ T6254] el0_svc+0x54/0x168 [ 35.426545][ T6254] el0t_64_sync_handler+0x84/0xfc [ 35.426555][ T6254] el0t_64_sync+0x190/0x194 [ 35.631191][ T6254] WARNING: CPU: 0 PID: 6254 at drivers/tty/serial/serial_core.c:625 uart_write+0x280/0x2ec [ 35.633812][ T6254] Modules linked in: [ 35.634818][ T6254] CPU: 0 PID: 6254 Comm: syz-executor196 Tainted: G W 6.10.0-rc2-syzkaller-g8867bbd4a056 #0 [ 35.637782][ T6254] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 35.640444][ T6254] pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 35.642531][ T6254] pc : uart_write+0x280/0x2ec [ 35.643760][ T6254] lr : uart_write+0x278/0x2ec [ 35.644994][ T6254] sp : ffff8000a0807ad0 [ 35.646072][ T6254] x29: ffff8000a0807ad0 x28: 1ffff00014100f68 x27: dfff800000000000 [ 35.648155][ T6254] x26: 0000000000000001 x25: dfff800000000000 x24: ffff0000c9160f48 [ 35.650297][ T6254] x23: 0000000000000000 x22: ffff800093bc1c40 x21: ffff8000a0807b60 [ 35.652346][ T6254] x20: 0000000000000001 x19: ffff0000c9160be8 x18: ffff8000a0807780 [ 35.654411][ T6254] x17: 000000000000cbfe x16: ffff8000803514ec x15: ffff700014100f40 [ 35.656435][ T6254] x14: 1ffff00014100f40 x13: 0000000000000004 x12: ffffffffffffffff [ 35.657938][ T6254] x11: ffff700014100f40 x10: 0000000000ff0100 x9 : 0000000000000000 [ 35.659506][ T6254] x8 : ffff0000d654bc80 x7 : 0000000000000000 x6 : 0000000000000000 [ 35.661020][ T6254] x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff80008035161c [ 35.663018][ T6254] x2 : 0000000000000001 x1 : 0000000000000000 x0 : ffff800093bc1c40 [ 35.665112][ T6254] Call trace: [ 35.665982][ T6254] uart_write+0x280/0x2ec [ 35.667121][ T6254] sixpack_open+0x5d8/0x8b0 [ 35.668271][ T6254] tty_ldisc_open+0x9c/0x14c [ 35.669448][ T6254] tty_set_ldisc+0x2f8/0x4e0 [ 35.670672][ T6254] tiocsetd+0x100/0x13c [ 35.671745][ T6254] tty_ioctl+0xba0/0xd8c [ 35.672839][ T6254] __arm64_sys_ioctl+0x14c/0x1c8 [ 35.674145][ T6254] invoke_syscall+0x98/0x2b8 [ 35.675301][ T6254] el0_svc_common+0x130/0x23c [ 35.676486][ T6254] do_el0_svc+0x48/0x58 [ 35.677556][ T6254] el0_svc+0x54/0x168 [ 35.678582][ T6254] el0t_64_sync_handler+0x84/0xfc [ 35.679871][ T6254] el0t_64_sync+0x190/0x194 [ 35.681009][ T6254] irq event stamp: 10516 [ 35.682115][ T6254] hardirqs last enabled at (10515): [] console_unlock+0x17c/0x3d4 [ 35.684546][ T6254] hardirqs last disabled at (10516): [] _raw_spin_lock_irqsave+0x2c/0x7c [ 35.687142][ T6254] softirqs last enabled at (10398): [] neigh_parms_alloc+0x330/0x464 [ 35.689657][ T6254] softirqs last disabled at (10396): [] neigh_parms_alloc+0x284/0x464 [ 35.692158][ T6254] ---[ end trace 0000000000000000 ]---