INFO: task getty:3947 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:getty state:D stack:22288 pid: 3947 ppid: 1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5049 [inline] __schedule+0x11c3/0x4350 kernel/sched/core.c:6395 schedule+0x11b/0x1e0 kernel/sched/core.c:6478 schedule_timeout+0xbd/0x2d0 kernel/time/timer.c:2093 do_wait_for_common+0x295/0x460 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x48/0x60 kernel/sched/completion.c:138 __flush_work+0x15a/0x210 kernel/workqueue.c:3094 __cancel_work_timer+0x3f4/0x560 kernel/workqueue.c:3181 hci_unregister_dev+0x163/0x590 net/bluetooth/hci_core.c:4061 hci_uart_tty_close+0x268/0x330 drivers/bluetooth/hci_ldisc.c:575 tty_ldisc_reinit+0xe4/0x460 drivers/tty/tty_ldisc.c:679 tty_ldisc_hangup+0x360/0x4a0 drivers/tty/tty_ldisc.c:745 __tty_hangup+0x44e/0x670 drivers/tty/tty_io.c:639 disassociate_ctty+0x38d/0x860 drivers/tty/tty_jobctrl.c:275 do_exit+0x5f9/0x2110 kernel/exit.c:888 do_group_exit+0x12c/0x2f0 kernel/exit.c:1004 __do_sys_exit_group kernel/exit.c:1015 [inline] __se_sys_exit_group kernel/exit.c:1013 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1013 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fa34fb726c5 RSP: 002b:00007ffc4b0b0a98 EFLAGS: 00000202 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007fa34fc73fe8 RCX: 00007fa34fb726c5 RDX: 00000000000000e7 RSI: ffffffffffffff88 RDI: 0000000000000001 RBP: 0000000000000001 R08: 00007ffc4b0b0a28 R09: 0000000000000000 R10: 00007ffc4b0b08c0 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fa34fc72680 R15: 00007fa34fc74000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c31ef60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:2/154: #0: ffff888016c79138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1 #1: ffffc9000127fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285 #2: ffffffff8d44d548 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251 1 lock held by udevd/3558: 2 locks held by getty/3947: #0: ffff88814caf81c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: __tty_hangup+0xc0/0x670 drivers/tty/tty_io.c:599 #1: ffff88814caf8098 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:300 [inline] #1: ffff88814caf8098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock+0x68/0xb0 drivers/tty/tty_ldisc.c:324 2 locks held by syz-executor/4187: 3 locks held by kworker/u5:1/4188: #0: ffff88807c00d938 ((wq_completion)hci5){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1 #1: ffffc90002f1fd00 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285 #2: ffff88807e0a93f0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_open+0xa4/0x12a0 net/bluetooth/hci_core.c:1464 1 lock held by syz.0.428/5846: 1 lock held by syz.4.437/5855: 5 locks held by syz.4.437/5856: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 nmi_cpu_backtrace+0x3a2/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xe1b/0xe60 kernel/hung_task.c:369 kthread+0x42e/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5846 Comm: syz.0.428 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:__bfs kernel/locking/lockdep.c:1760 [inline] RIP: 0010:__bfs_backwards kernel/locking/lockdep.c:1805 [inline] RIP: 0010:check_irq_usage kernel/locking/lockdep.c:2745 [inline] RIP: 0010:check_prev_add kernel/locking/lockdep.c:3057 [inline] RIP: 0010:check_prevs_add kernel/locking/lockdep.c:3172 [inline] RIP: 0010:validate_chain kernel/locking/lockdep.c:3788 [inline] RIP: 0010:__lock_acquire+0x338c/0x7b50 kernel/locking/lockdep.c:5012 Code: 74 08 4c 89 ef e8 54 23 61 00 4d 8b 7d 00 4c 89 64 24 20 49 39 df 48 ba 00 00 00 00 00 fc ff df 75 0d e9 a7 fb ff ff 4d 8b 3f <49> 39 df 74 45 49 8d 7f 30 48 89 f8 48 c1 e8 03 80 3c 10 00 74 0f RSP: 0018:ffffc9000371ee00 EFLAGS: 00000046 RAX: 1ffffffff2580bd5 RBX: ffffffff8fb80630 RCX: dffffc0000000000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffffff92c05ed8 RBP: ffffc9000371f030 R08: ffffc9000371efb7 R09: ffffc9000371ef80 R10: dffffc0000000000 R11: fffff520006e3df7 R12: 0000000000000111 R13: ffffffff92abce38 R14: ffffffff92abcea8 R15: ffffffff92c0b628 FS: 0000555588222500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f31c71252f8 CR3: 000000001e954000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5625 do_write_seqcount_begin_nested include/linux/seqlock.h:519 [inline] do_write_seqcount_begin include/linux/seqlock.h:545 [inline] psi_group_change+0x12c/0x1280 kernel/sched/psi.c:710 psi_task_switch+0x4c3/0x810 kernel/sched/psi.c:882 psi_sched_switch kernel/sched/stats.h:148 [inline] __schedule+0x1cc1/0x4350 kernel/sched/core.c:6390 preempt_schedule_irq+0xbb/0x160 kernel/sched/core.c:6799 irqentry_exit+0x63/0x70 kernel/entry/common.c:435 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:lock_is_held_type+0x13a/0x190 kernel/locking/lockdep.c:5673 Code: 75 40 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 46 41 f7 c5 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 3c 89 e8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc9000371f678 EFLAGS: 00000206 RAX: 95cad07c3b734500 RBX: ffff888025119dc0 RCX: 95cad07c3b734500 RDX: 0000000000000000 RSI: ffffffff8a2b3e80 RDI: ffffffff8a7a48c0 RBP: 0000000000000000 R08: ffffffff84dd27cc R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed1009c6d2e9 R12: 0000000000000002 R13: 0000000000000246 R14: ffffffff8c31efc0 R15: ffff88802511a900 lock_is_held include/linux/lockdep.h:287 [inline] ___might_sleep+0x9b/0x610 kernel/sched/core.c:9624 __mutex_lock_common+0xd3/0x2400 kernel/locking/mutex.c:573 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743 dev_pm_qos_constraints_destroy+0x4c/0x480 drivers/base/power/qos.c:262 dpm_sysfs_remove+0x63/0xc0 drivers/base/power/sysfs.c:834 device_del+0x2ab/0xa80 drivers/base/core.c:3592 unregister_netdevice_many+0x1530/0x1a40 net/core/dev.c:11187 unregister_netdevice_queue+0x2e1/0x320 net/core/dev.c:11093 unregister_netdevice include/linux/netdevice.h:3047 [inline] __tun_detach+0xdb7/0x1580 drivers/net/tun.c:686 tun_detach drivers/net/tun.c:702 [inline] tun_chr_close+0x109/0x1b0 drivers/net/tun.c:3454 __fput+0x212/0x8c0 fs/file_table.c:311 task_work_run+0x125/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:184 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:217 __syscall_exit_to_user_mode_work kernel/entry/common.c:299 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:310 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fafe19b0159 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffdcc064908 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fafe1c39da0 RCX: 00007fafe19b0159 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fafe1c39da0 R08: 00007fafe1c38038 R09: 0000000000000000 R10: 00000000003fe858 R11: 0000000000000246 R12: 000000000003b445 R13: 00007fafe1c3809c R14: 000000000003b26e R15: 00007fafe1c38090