INFO: task syz.2.541:8060 blocked for more than 143 seconds.
Tainted: G L syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.541 state:D stack:28808 pid:8060 tgid:8048 ppid:5631 task_flags:0x400140 flags:0x00080002
Call Trace:
context_switch kernel/sched/core.c:5510 [inline]
__schedule+0x17d9/0x56c0 kernel/sched/core.c:7234
__schedule_loop kernel/sched/core.c:7311 [inline]
schedule+0x164/0x2b0 kernel/sched/core.c:7326
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7383
__mutex_lock_common kernel/locking/mutex.c:726 [inline]
__mutex_lock+0x7bf/0x1550 kernel/locking/mutex.c:821
class_mutex_constructor include/linux/mutex.h:253 [inline]
commit_echoes drivers/tty/n_tty.c:736 [inline]
n_tty_receive_char+0x5f9/0xbd0 drivers/tty/n_tty.c:1413
n_tty_receive_buf_standard+0x754/0x6a50 drivers/tty/n_tty.c:1582
__receive_buf drivers/tty/n_tty.c:1616 [inline]
n_tty_receive_buf_common+0xb33/0x13d0 drivers/tty/n_tty.c:1715
tiocsti+0x218/0x2a0 drivers/tty/tty_io.c:2290
tty_ioctl+0x626/0xdd0 drivers/tty/tty_io.c:2706
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:597 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f325b19e0d9
RSP: 002b:00007f325c0c0028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f325b426180 RCX: 00007f325b19e0d9
RDX: 0000200000000a40 RSI: 0000000000005412 RDI: 0000000000000006
RBP: 00007f325b235024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f325b426218 R14: 00007f325b426180 R15: 00007fffe12d3ad8
Showing all locks held in the system:
1 lock held by khungtaskd/32:
#0: ffffffff8eb59c60 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline]
#0: ffffffff8eb59c60 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:840 [inline]
#0: ffffffff8eb59c60 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
1 lock held by khugepaged/39:
3 locks held by kworker/u8:4/60:
3 locks held by kworker/u8:7/1095:
2 locks held by kworker/0:1H/3212:
1 lock held by udevd/4988:
2 locks held by getty/5378:
#0: ffff8880361800a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900032332e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360 drivers/tty/n_tty.c:2211
4 locks held by syz-executor/5624:
4 locks held by syz-executor/5635:
2 locks held by udevd/5773:
3 locks held by kworker/u8:13/6015:
3 locks held by syz-executor/6080:
6 locks held by syz.1.451/7748:
1 lock held by syz.2.541/8049:
4 locks held by syz.2.541/8060:
#0: ffff888067e750a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffff88801b07a0b8 (&buf->lock){+.+.}-{4:4}, at: tiocsti+0x1bd/0x2a0 drivers/tty/tty_io.c:2288
#2: ffff888067e752c8 (&tty->termios_rwsem){++++}-{4:4}, at: class_rwsem_read_constructor include/linux/rwsem.h:259 [inline]
#2: ffff888067e752c8 (&tty->termios_rwsem){++++}-{4:4}, at: n_tty_receive_buf_common+0x84/0x13d0 drivers/tty/n_tty.c:1678
#3: ffffc90003443370 (&ldata->output_lock){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:253 [inline]
#3: ffffc90003443370 (&ldata->output_lock){+.+.}-{4:4}, at: commit_echoes drivers/tty/n_tty.c:736 [inline]
#3: ffffc90003443370 (&ldata->output_lock){+.+.}-{4:4}, at: n_tty_receive_char+0x5f9/0xbd0 drivers/tty/n_tty.c:1413
2 locks held by kworker/u8:5/8928:
2 locks held by syz.9.872/9422:
2 locks held by syz.9.872/9425:
2 locks held by cmp/9432:
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 32 Comm: khungtaskd Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
nmi_cpu_backtrace+0x274/0x2d0 lib/nmi_backtrace.c:122
nmi_trigger_cpumask_backtrace+0x17a/0x380 lib/nmi_backtrace.c:65
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
__sys_info lib/sys_info.c:157 [inline]
sys_info+0x135/0x170 lib/sys_info.c:165
check_hung_uninterruptible_tasks kernel/hung_task.c:353 [inline]
watchdog+0xfd7/0x1030 kernel/hung_task.c:561
kthread+0x388/0x470 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245