INFO: task syz.1.14497:7751 blocked for more than 144 seconds.
      Tainted: G             L      syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.14497     state:D stack:26832 pid:7751  tgid:7750  ppid:6787   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __ww_mutex_lock+0x13a7/0x3350
 ww_mutex_lock+0x3f/0x1b0
 modeset_lock+0x2b4/0x630
 drm_atomic_get_plane_state+0x1ec/0x720
 drm_client_modeset_commit_atomic+0x227/0x7e0
 drm_client_modeset_commit_locked+0xcb/0x4d0
 drm_fb_helper_pan_display+0x3e9/0xbe0
 fb_pan_display+0x3a3/0x6a0
 bit_update_start+0x4c/0x1e0
 fbcon_switch+0x130e/0x20b0
 csi_J+0x6e6/0xe80
 do_con_write+0x41ae/0x5500
 con_write+0x27/0x290
 n_tty_write+0x5e5/0x11e0
 file_tty_write+0x50d/0x9f0
 vfs_write+0x612/0xba0
 ksys_write+0x150/0x270
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd0b279e159
RSP: 002b:00007fd0b35af028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd0b2a25fa0 RCX: 00007fd0b279e159
RDX: 0000000000001006 RSI: 0000200000001040 RDI: 0000000000000004
RBP: 00007fd0b283506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd0b2a26038 R14: 00007fd0b2a25fa0 R15: 00007ffd0272fbe8
 </TASK>

Showing all locks held in the system:
locks held by kworker/0:0/9: 2, last CPU#0:
 #0: ffff8881bcb74540 ((wq_completion)wg-crypt-wg0#15){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc900000e7c40 ((work_completion)(&peer->transmit_packet_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
locks held by pr/ttyS0/16: 1, last CPU#0:
 #0: ffffffff8ec362b8 (console_srcu){....}-{0:0}, at: console_srcu_read_lock+0x30/0x60
locks held by kworker/1:1/33: 2, last CPU#0:
 #0: ffff888100069d40 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90000a87c40 ((work_completion)(&(&tbl->gc_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
locks held by khungtaskd/35: 1, last CPU#0:
 #0: ffffffff8ed5c6e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by getty/5419: 2, on CPU#1:
 #0: ffff888117ee00a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc9000346e2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
locks held by sshd/5548: 2, last CPU#0:
 #0: ffff8881b838f440 (&sb->s_type->i_mutex_key#13){+.+.}-{4:4}, at: __sock_release+0x7a/0x1f0
 #1: ffff88810bb25d60 (sk_lock-AF_INET){+.+.}-{0:0}, at: tcp_close+0x1d/0x110
locks held by kworker/u9:47/22181: 3, last CPU#0:
 #0: ffff8881000ac140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc9000855fc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff888036953258 (&devlink->lock_key#18){+.+.}-{4:4}, at: nsim_dev_trap_report_work+0x57/0xb40
locks held by kworker/0:7/1885: 6, last CPU#0:
 #0: ffff88816076f940 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc9000fa87c40 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff88810cb521d8 (&dev->mutex){....}-{4:4}, at: hub_event+0x184/0x4d30
 #3: ffff88810cb57568 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_event+0x20a1/0x4d30
 #4: ffff88810cac7460 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_event+0x20c9/0x4d30
 #5: ffffffff8fafa888 (ehci_cf_port_reset_rwsem){.+.+}-{4:4}, at: hub_port_reset+0x14d/0x1810
locks held by kworker/1:6/2951: 4, last CPU#0:
 #0: ffff88810006b140 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc900017b7c40 ((work_completion)(&helper->damage_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffc900017b7770 (crtc_ww_class_acquire){+.+.}-{0:0}, at: drm_atomic_helper_dirtyfb+0x106/0xfd0
 #3: ffffc900017b7798 (crtc_ww_class_mutex){+.+.}-{4:4}, at: drm_atomic_helper_dirtyfb+0x106/0xfd0
locks held by syz.1.14497/7751: 10, on CPU#0:
 #0: ffff88810a8e10a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffff88810a8e1128 (&tty->atomic_write_lock){+.+.}-{4:4}, at: file_tty_write+0x1e2/0x9f0
 #2: ffff88810a8e12c8 (&tty->termios_rwsem){++++}-{4:4}, at: n_tty_write+0x1f5/0x11e0
 #3: ffffc9000748b370 (&ldata->output_lock){+.+.}-{4:4}, at: n_tty_write+0x59b/0x11e0
 #4: ffffffff8ed4ea20 (console_lock){+.+.}-{0:0}, at: do_con_write+0x12e/0x5500
 #5: ffff888108fe1a70 (&helper->lock){+.+.}-{4:4}, at: drm_fb_helper_pan_display+0xbe/0xbe0
 #6: ffff888108f60128 (&dev->master_mutex){+.+.}-{4:4}, at: drm_master_internal_acquire+0x20/0x80
 #7: ffff888108fe1890 (&client->modeset_mutex){+.+.}-{4:4}, at: drm_client_modeset_commit_locked+0x4c/0x4d0
 #8: ffffc9002055f150 (crtc_ww_class_acquire){+.+.}-{0:0}, at: drm_client_modeset_commit_atomic+0x11a/0x7e0
 #9: ffffc9002055f178 (crtc_ww_class_mutex){+.+.}-{4:4}, at: drm_client_modeset_commit_atomic+0x11a/0x7e0
locks held by syz.0.14516/7844: 1, last CPU#0:
 #0: ffff88810a8e10a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
locks held by syz-executor/8225: 1, last CPU#0:
 #0: ffff88802fe36460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90

=============================================

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 35 Comm: khungtaskd Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150
 nmi_cpu_backtrace+0x274/0x2d0
 nmi_trigger_cpumask_backtrace+0x17d/0x390
 sys_info+0x135/0x170
 watchdog+0xfd7/0x1030
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
