Warning: Permanently added '10.128.0.159' (ED25519) to the list of known hosts. executing program [ 32.969363][ T6280] sp0: Synchronizing with TNC [ 32.971131][ T6280] ------------[ cut here ]------------ [ 32.971223][ T6280] [ 32.971226][ T6280] ====================================================== [ 32.971230][ T6280] WARNING: possible circular locking dependency detected [ 32.971234][ T6280] 6.10.0-rc3-syzkaller-gac2193b4b460 #0 Tainted: G W [ 32.971241][ T6280] ------------------------------------------------------ [ 32.971244][ T6280] syz-executor931/6280 is trying to acquire lock: [ 32.971250][ T6280] ffff80008f36cea0 (console_owner){-...}-{0:0}, at: console_lock_spinning_enable+0x88/0xec [ 32.971301][ T6280] [ 32.971301][ T6280] but task is already holding lock: [ 32.971305][ T6280] ffff800093dcec98 (&port_lock_key){-...}-{2:2}, at: uart_write+0x114/0x2ec [ 32.971330][ T6280] [ 32.971330][ T6280] which lock already depends on the new lock. [ 32.971330][ T6280] [ 32.971334][ T6280] [ 32.971334][ T6280] the existing dependency chain (in reverse order) is: [ 32.971337][ T6280] [ 32.971337][ T6280] -> #1 (&port_lock_key){-...}-{2:2}: [ 32.971351][ T6280] _raw_spin_lock_irqsave+0x5c/0x7c [ 32.971364][ T6280] pl011_console_write+0x148/0x724 [ 32.971375][ T6280] console_flush_all+0x570/0xafc [ 32.971384][ T6280] console_unlock+0xfc/0x3d4 [ 32.971393][ T6280] vprintk_emit+0x1e8/0x344 [ 32.971401][ T6280] vprintk_default+0xa0/0xe4 [ 32.971410][ T6280] vprintk+0x200/0x2d4 [ 32.971419][ T6280] _printk+0xdc/0x128 [ 32.971430][ T6280] register_console+0x700/0xa8c [ 32.971439][ T6280] serial_core_register_port+0x1428/0x1bf4 [ 32.971451][ T6280] serial_ctrl_register_port+0x28/0x38 [ 32.971460][ T6280] uart_add_one_port+0x28/0x38 [ 32.971469][ T6280] pl011_register_port+0x1b4/0x44c [ 32.971479][ T6280] sbsa_uart_probe+0x488/0x608 [ 32.971489][ T6280] platform_probe+0x148/0x1c0 [ 32.971499][ T6280] really_probe+0x38c/0x8fc [ 32.971511][ T6280] __driver_probe_device+0x194/0x374 [ 32.971522][ T6280] driver_probe_device+0x78/0x330 [ 32.971534][ T6280] __device_attach_driver+0x2a8/0x4f4 [ 32.971545][ T6280] bus_for_each_drv+0x228/0x2bc [ 32.971555][ T6280] __device_attach+0x2b4/0x434 [ 32.971566][ T6280] device_initial_probe+0x24/0x34 [ 32.971577][ T6280] bus_probe_device+0x178/0x240 [ 32.971588][ T6280] device_add+0x728/0xa6c [ 32.971597][ T6280] platform_device_add+0x3e8/0x6e8 [ 32.971606][ T6280] platform_device_register_full+0x4ec/0x604 [ 32.971615][ T6280] acpi_create_platform_device+0x5bc/0x744 [ 32.971626][ T6280] acpi_default_enumeration+0x6c/0xdc [ 32.971637][ T6280] acpi_bus_attach+0x8b8/0xaa8 [ 32.971648][ T6280] acpi_dev_for_one_check+0xa0/0xb4 [ 32.971658][ T6280] device_for_each_child+0xec/0x174 [ 32.971667][ T6280] acpi_dev_for_each_child+0xc4/0x108 [ 32.971677][ T6280] acpi_bus_attach+0x358/0xaa8 [ 32.971688][ T6280] acpi_dev_for_one_check+0xa0/0xb4 [ 32.971698][ T6280] device_for_each_child+0xec/0x174 [ 32.971707][ T6280] acpi_dev_for_each_child+0xc4/0x108 [ 32.971718][ T6280] acpi_bus_attach+0x358/0xaa8 [ 32.971728][ T6280] acpi_bus_scan+0x118/0x4f0 [ 32.971739][ T6280] acpi_scan_init+0x214/0x6b0 [ 32.971751][ T6280] acpi_init+0x190/0x254 [ 32.971760][ T6280] do_one_initcall+0x24c/0x9c0 [ 32.971770][ T6280] do_initcall_level+0x154/0x214 [ 32.971782][ T6280] do_initcalls+0x58/0xac [ 32.971793][ T6280] do_basic_setup+0x8c/0xa0 [ 32.971803][ T6280] kernel_init_freeable+0x324/0x478 [ 32.971814][ T6280] kernel_init+0x24/0x2a0 [ 32.971825][ T6280] ret_from_fork+0x10/0x20 [ 32.971834][ T6280] [ 32.971834][ T6280] -> #0 (console_owner){-...}-{0:0}: [ 32.971847][ T6280] __lock_acquire+0x3384/0x763c [ 32.971859][ T6280] lock_acquire+0x240/0x728 [ 32.971870][ T6280] console_lock_spinning_enable+0xb4/0xec [ 32.971880][ T6280] console_flush_all+0x53c/0xafc [ 32.971889][ T6280] console_unlock+0xfc/0x3d4 [ 32.971897][ T6280] vprintk_emit+0x1e8/0x344 [ 32.971906][ T6280] vprintk_default+0xa0/0xe4 [ 32.971914][ T6280] vprintk+0x200/0x2d4 [ 32.971923][ T6280] _printk+0xdc/0x128 [ 32.971933][ T6280] report_bug+0x3b8/0x5b0 [ 32.971943][ T6280] bug_handler+0x50/0x1fc [ 32.971952][ T6280] brk_handler+0x17c/0x2e0 [ 32.971961][ T6280] do_debug_exception+0x1e4/0x398 [ 32.971972][ T6280] el1_dbg+0x64/0x80 [ 32.971981][ T6280] el1h_64_sync_handler+0x40/0xac [ 32.971990][ T6280] el1h_64_sync+0x64/0x68 [ 32.971998][ T6280] uart_write+0x280/0x2ec [ 32.972009][ T6280] sixpack_open+0x5d8/0x8b0 [ 32.972021][ T6280] tty_ldisc_open+0x9c/0x14c [ 32.972033][ T6280] tty_set_ldisc+0x2f8/0x4e0 [ 32.972044][ T6280] tiocsetd+0x100/0x13c [ 32.972053][ T6280] tty_ioctl+0xba0/0xd8c [ 32.972062][ T6280] __arm64_sys_ioctl+0x14c/0x1c8 [ 32.972072][ T6280] invoke_syscall+0x98/0x2b8 [ 32.972087][ T6280] el0_svc_common+0x130/0x23c [ 32.972095][ T6280] do_el0_svc+0x48/0x58 [ 32.972103][ T6280] el0_svc+0x54/0x168 [ 32.972111][ T6280] el0t_64_sync_handler+0x84/0xfc [ 32.972121][ T6280] el0t_64_sync+0x190/0x194 [ 32.972129][ T6280] [ 32.972129][ T6280] other info that might help us debug this: [ 32.972129][ T6280] [ 32.972132][ T6280] Possible unsafe locking scenario: [ 32.972132][ T6280] [ 32.972135][ T6280] CPU0 CPU1 [ 32.972138][ T6280] ---- ---- [ 32.972141][ T6280] lock(&port_lock_key); [ 32.972148][ T6280] lock(console_owner); [ 32.972155][ T6280] lock(&port_lock_key); [ 32.972162][ T6280] lock(console_owner); [ 32.972168][ T6280] [ 32.972168][ T6280] *** DEADLOCK *** [ 32.972168][ T6280] [ 32.972171][ T6280] 5 locks held by syz-executor931/6280: [ 32.972177][ T6280] #0: ffff0000d087d1c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_lock+0x78/0xc8 [ 32.972201][ T6280] #1: ffff0000d087d0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_write+0x3c/0x4c [ 32.972226][ T6280] #2: ffff800093dcec98 (&port_lock_key){-...}-{2:2}, at: uart_write+0x114/0x2ec [ 32.972252][ T6280] #3: ffff80008f2547c0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x1cc/0x344 [ 32.972275][ T6280] #4: ffff80008f2543f0 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire+0x10/0x4c [ 32.972302][ T6280] [ 32.972302][ T6280] stack backtrace: [ 32.972306][ T6280] CPU: 1 PID: 6280 Comm: syz-executor931 Tainted: G W 6.10.0-rc3-syzkaller-gac2193b4b460 #0 [ 32.972318][ T6280] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 32.972325][ T6280] Call trace: [ 32.972328][ T6280] dump_backtrace+0x1b8/0x1e4 [ 32.972337][ T6280] show_stack+0x2c/0x3c [ 32.972345][ T6280] dump_stack_lvl+0xe4/0x150 [ 32.972354][ T6280] dump_stack+0x1c/0x28 [ 32.972362][ T6280] print_circular_bug+0x150/0x1b8 [ 32.972371][ T6280] check_noncircular+0x310/0x404 [ 32.972379][ T6280] __lock_acquire+0x3384/0x763c [ 32.972390][ T6280] lock_acquire+0x240/0x728 [ 32.972400][ T6280] console_lock_spinning_enable+0xb4/0xec [ 32.972410][ T6280] console_flush_all+0x53c/0xafc [ 32.972419][ T6280] console_unlock+0xfc/0x3d4 [ 32.972427][ T6280] vprintk_emit+0x1e8/0x344 [ 32.972436][ T6280] vprintk_default+0xa0/0xe4 [ 32.972444][ T6280] vprintk+0x200/0x2d4 [ 32.972453][ T6280] _printk+0xdc/0x128 [ 32.972462][ T6280] report_bug+0x3b8/0x5b0 [ 32.972471][ T6280] bug_handler+0x50/0x1fc [ 32.972480][ T6280] brk_handler+0x17c/0x2e0 [ 32.972489][ T6280] do_debug_exception+0x1e4/0x398 [ 32.972499][ T6280] el1_dbg+0x64/0x80 [ 32.972508][ T6280] el1h_64_sync_handler+0x40/0xac [ 32.972517][ T6280] el1h_64_sync+0x64/0x68 [ 32.972524][ T6280] uart_write+0x280/0x2ec [ 32.972535][ T6280] sixpack_open+0x5d8/0x8b0 [ 32.972546][ T6280] tty_ldisc_open+0x9c/0x14c [ 32.972557][ T6280] tty_set_ldisc+0x2f8/0x4e0 [ 32.972568][ T6280] tiocsetd+0x100/0x13c [ 32.972577][ T6280] tty_ioctl+0xba0/0xd8c [ 32.972586][ T6280] __arm64_sys_ioctl+0x14c/0x1c8 [ 32.972595][ T6280] invoke_syscall+0x98/0x2b8 [ 32.972603][ T6280] el0_svc_common+0x130/0x23c [ 32.972611][ T6280] do_el0_svc+0x48/0x58 [ 32.972618][ T6280] el0_svc+0x54/0x168 [ 32.972627][ T6280] el0t_64_sync_handler+0x84/0xfc [ 32.972636][ T6280] el0t_64_sync+0x190/0x194 [ 33.180059][ T6280] WARNING: CPU: 1 PID: 6280 at drivers/tty/serial/serial_core.c:625 uart_write+0x280/0x2ec [ 33.182730][ T6280] Modules linked in: [ 33.183740][ T6280] CPU: 1 PID: 6280 Comm: syz-executor931 Tainted: G W 6.10.0-rc3-syzkaller-gac2193b4b460 #0 [ 33.186831][ T6280] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 33.189494][ T6280] pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 33.191519][ T6280] pc : uart_write+0x280/0x2ec [ 33.192692][ T6280] lr : uart_write+0x278/0x2ec [ 33.193883][ T6280] sp : ffff8000a0c97ad0 [ 33.194952][ T6280] x29: ffff8000a0c97ad0 x28: 1ffff00014192f68 x27: dfff800000000000 [ 33.197057][ T6280] x26: 0000000000000001 x25: dfff800000000000 x24: ffff0000c94d8f48 [ 33.199131][ T6280] x23: 0000000000000000 x22: ffff800093dcec80 x21: ffff8000a0c97b60 [ 33.201181][ T6280] x20: 0000000000000001 x19: ffff0000c94d8be8 x18: ffff8000a0c97780 [ 33.203280][ T6280] x17: 000000000000c7a2 x16: ffff800080350d3c x15: ffff700014192f40 [ 33.205421][ T6280] x14: 1ffff00014192f40 x13: 0000000000000004 x12: ffffffffffffffff [ 33.207516][ T6280] x11: ffff700014192f40 x10: 0000000000ff0100 x9 : 0000000000000000 [ 33.209696][ T6280] x8 : ffff0000d77e5ac0 x7 : 0000000000000000 x6 : 0000000000000000 [ 33.211843][ T6280] x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff800080350e64 [ 33.213959][ T6280] x2 : 0000000000000001 x1 : 0000000000000000 x0 : ffff800093dcec80 [ 33.216082][ T6280] Call trace: [ 33.216951][ T6280] uart_write+0x280/0x2ec [ 33.218111][ T6280] sixpack_open+0x5d8/0x8b0 [ 33.219307][ T6280] tty_ldisc_open+0x9c/0x14c [ 33.220591][ T6280] tty_set_ldisc+0x2f8/0x4e0 [ 33.221804][ T6280] tiocsetd+0x100/0x13c [ 33.222914][ T6280] tty_ioctl+0xba0/0xd8c [ 33.224011][ T6280] __arm64_sys_ioctl+0x14c/0x1c8 [ 33.225279][ T6280] invoke_syscall+0x98/0x2b8 [ 33.226463][ T6280] el0_svc_common+0x130/0x23c [ 33.227680][ T6280] do_el0_svc+0x48/0x58 [ 33.228742][ T6280] el0_svc+0x54/0x168 [ 33.229813][ T6280] el0t_64_sync_handler+0x84/0xfc [ 33.231132][ T6280] el0t_64_sync+0x190/0x194 [ 33.232380][ T6280] irq event stamp: 10418 [ 33.233493][ T6280] hardirqs last enabled at (10417): [] console_unlock+0x18c/0x3d4 [ 33.235972][ T6280] hardirqs last disabled at (10418): [] _raw_spin_lock_irqsave+0x2c/0x7c [ 33.238673][ T6280] softirqs last enabled at (10308): [] neigh_parms_alloc+0x330/0x464 [ 33.241226][ T6280] softirqs last disabled at (10306): [] neigh_parms_alloc+0x284/0x464 [ 33.243773][ T6280] ---[ end trace 0000000000000000 ]---