INFO: task syz.3.1083:7491 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.1083 state:D stack:27472 pid: 7491 ppid: 4193 flags:0x00004004 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 __down_common+0x289/0x3b0 kernel/locking/semaphore.c:228 down+0x7e/0xd0 kernel/locking/semaphore.c:63 console_lock+0x29/0x70 kernel/printk/printk.c:2557 vcs_open+0x59/0xc0 drivers/tty/vt/vc_screen.c:763 chrdev_open+0x585/0x5f0 fs/char_dev.c:414 do_dentry_open+0x7f7/0xf90 fs/open.c:826 do_open fs/namei.c:3616 [inline] path_openat+0x2718/0x2fb0 fs/namei.c:3750 do_filp_open+0x1df/0x400 fs/namei.c:3777 do_sys_openat2+0x14b/0x500 fs/open.c:1255 do_sys_open fs/open.c:1271 [inline] __do_sys_openat fs/open.c:1287 [inline] __se_sys_openat fs/open.c:1282 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1282 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:0x7fc4876960d9 RSP: 002b:00007fc4858ee028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fc48791dfa0 RCX: 00007fc4876960d9 RDX: 0000000000000001 RSI: 0000200000000000 RDI: ffffffffffffff9c RBP: 00007fc48772d024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc48791e038 R14: 00007fc48791dfa0 R15: 00007ffd35f7f588 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: 3 locks held by kworker/0:2/1108: 2 locks held by getty/3945: #0: ffff88807f049098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002cf62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x594/0x1a50 drivers/tty/n_tty.c:2158 2 locks held by kworker/0:5/4228: 2 locks held by syz.1.1060/7428: 1 lock held by syz.2.1206/7868: #0: ffffffff8c9fdd08 (vc_sel.lock){+.+.}-{3:3}, at: set_selection_kernel+0x32/0x17a0 drivers/tty/vt/selection.c:357 1 lock held by syz.6.1176/8014: #0: ffffffff8c9fdd08 (vc_sel.lock){+.+.}-{3:3}, at: set_selection_kernel+0x32/0x17a0 drivers/tty/vt/selection.c:357 2 locks held by syz.4.1452/8591: #0: ffffffff8c9f6268 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2064 [inline] #0: ffffffff8c9f6268 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x20a/0xcd0 drivers/tty/tty_io.c:2148 #1: ffff8880217251c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_init_dev+0x6f/0x470 drivers/tty/tty_io.c:1430 1 lock held by syz.7.1453/8596: #0: ffffffff8c9f6268 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2064 [inline] #0: ffffffff8c9f6268 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x20a/0xcd0 drivers/tty/tty_io.c:2148 1 lock held by syz.0.1511/8757: #0: ffffffff8c9f6268 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2064 [inline] #0: ffffffff8c9f6268 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x20a/0xcd0 drivers/tty/tty_io.c:2148 1 lock held by syz.5.1520/8787: #0: ffffffff8c9f6268 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0xd2/0x2c0 drivers/tty/pty.c:823 1 lock held by syz.8.1598/9130: #0: ffffffff8c9f6268 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0xd2/0x2c0 drivers/tty/pty.c:823 1 lock held by syz.9.1602/9144: #0: ffffffff8c9f6268 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2064 [inline] #0: ffffffff8c9f6268 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x20a/0xcd0 drivers/tty/tty_io.c:2148 1 lock held by syz.2.1616/9195: #0: ffffffff8c9f6268 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2064 [inline] #0: ffffffff8c9f6268 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x20a/0xcd0 drivers/tty/tty_io.c:2148 1 lock held by syz.1.1644/9315: #0: ffffffff8c9f6268 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0xd2/0x2c0 drivers/tty/pty.c:823 1 lock held by syz-executor/9602: 2 locks held by syz.6.1726/9606: 1 lock held by syz.7.1717/9608: ============================================= 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