INFO: task syz.6.1811:10871 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.6.1811 state:D stack:28808 pid:10871 tgid:10864 ppid:9893 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]
set_selection_kernel+0x37/0x17c0 drivers/tty/vt/selection.c:378
set_selection_user+0xf8/0x150 drivers/tty/vt/selection.c:207
vt_ioctl+0x83b/0x20d0 drivers/tty/vt/vt_ioctl.c:753
tty_ioctl+0x920/0xdd0 drivers/tty/tty_io.c:2792
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:0x7fa0ac99de99
RSP: 002b:00007fa0ad849028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fa0acc26090 RCX: 00007fa0ac99de99
RDX: 0000200000001900 RSI: 000000000000541c RDI: 0000000000000004
RBP: 00007fa0aca33eaf R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa0acc26128 R14: 00007fa0acc26090 R15: 00007ffc00b8ead8
Showing all locks held in the system:
2 locks held by kworker/u8:0/12:
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
2 locks held by getty/5376:
#0: ffff888036b410a0 (&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:
3 locks held by syz.6.1811/10866:
1 lock held by syz.6.1811/10871:
#0: ffffffff8f4607e0 (vc_sel.lock){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:253 [inline]
#0: ffffffff8f4607e0 (vc_sel.lock){+.+.}-{4:4}, at: set_selection_kernel+0x37/0x17c0 drivers/tty/vt/selection.c:378
1 lock held by syz.4.1912/11161:
#0: ffffffff8f4607e0 (vc_sel.lock){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:253 [inline]
#0: ffffffff8f4607e0 (vc_sel.lock){+.+.}-{4:4}, at: set_selection_kernel+0x37/0x17c0 drivers/tty/vt/selection.c:378
1 lock held by syz.4.1912/11164:
#0: ffffffff8f4607e0 (vc_sel.lock){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:253 [inline]
#0: ffffffff8f4607e0 (vc_sel.lock){+.+.}-{4:4}, at: set_selection_kernel+0x37/0x17c0 drivers/tty/vt/selection.c:378
4 locks held by syz.8.2325/12319:
#0: ffff88807c53d0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffff88807c53d128 (&tty->atomic_write_lock){+.+.}-{4:4}, at: tty_write_lock drivers/tty/tty_io.c:939 [inline]
#1: ffff88807c53d128 (&tty->atomic_write_lock){+.+.}-{4:4}, at: iterate_tty_write drivers/tty/tty_io.c:958 [inline]
#1: ffff88807c53d128 (&tty->atomic_write_lock){+.+.}-{4:4}, at: file_tty_write+0x1e4/0x9c0 drivers/tty/tty_io.c:1081
#2: ffff88807c53d2c8 (&tty->termios_rwsem){++++}-{4:4}, at: class_rwsem_read_constructor include/linux/rwsem.h:259 [inline]
#2: ffff88807c53d2c8 (&tty->termios_rwsem){++++}-{4:4}, at: n_tty_write+0x1f5/0x11e0 drivers/tty/n_tty.c:2349
#3: ffffc90003831370 (&ldata->output_lock){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:253 [inline]
#3: ffffc90003831370 (&ldata->output_lock){+.+.}-{4:4}, at: n_tty_write+0x59b/0x11e0 drivers/tty/n_tty.c:2387
11 locks held by syz-executor/12521:
1 lock held by syz.7.2471/12801:
#0: ffffffff8f4607e0 (vc_sel.lock){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:253 [inline]
#0: ffffffff8f4607e0 (vc_sel.lock){+.+.}-{4:4}, at: set_selection_kernel+0x37/0x17c0 drivers/tty/vt/selection.c:378
1 lock held by syz.7.2471/12802:
#0: ffffffff8f4607e0 (vc_sel.lock){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:253 [inline]
#0: ffffffff8f4607e0 (vc_sel.lock){+.+.}-{4:4}, at: set_selection_kernel+0x37/0x17c0 drivers/tty/vt/selection.c:378
1 lock held by syz.9.2495/12878:
#0: ffff88801b0503b8 (&mm->mmap_lock){++++}-{4:4}, at: mmap_write_lock_killable include/linux/mmap_lock.h:554 [inline]
#0: ffff88801b0503b8 (&mm->mmap_lock){++++}-{4:4}, at: vm_mmap_pgoff+0x1dd/0x4e0 mm/util.c:579
2 locks held by syz.9.2495/12882:
2 locks held by syz.2.2498/12892:
#0: ffffffff9009e228 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1217
#1: ffffffff9002d8c0 (rtnl_mutex){+.+.}-{4:4}, at: nl80211_pre_doit+0x5e/0x890 net/wireless/nl80211.c:19299
2 locks held by rm/12894:
3 locks held by syz.5.2500/12897:
#0: ffffffff9009e228 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1217
#1: ffff88807fa496e8 (nlk_cb_mutex-GENERIC){+.+.}-{4:4}, at: __netlink_dump_start+0xf4/0x7b0 net/netlink/af_netlink.c:2410
#2: ffffffff9002d8c0 (rtnl_mutex){+.+.}-{4:4}, at: ethnl_default_dump_one+0x308/0xd50 net/ethtool/netlink.c:612
=============================================
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