INFO: task syz.7.3006:21924 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.7.3006      state:D stack:28232 pid:21924 tgid:21920 ppid:21264  task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7c1/0x1550
 drm_master_open+0x6e/0x170
 drm_open_helper+0x33b/0x470
 drm_open+0x1c8/0x340
 drm_stub_open+0x207/0x250
 chrdev_open+0x4d9/0x600
 do_dentry_open+0x816/0x1380
 vfs_open+0x3b/0x340
 path_openat+0x1443/0x1d60
 do_file_open+0x23e/0x4a0
 do_sys_openat2+0x115/0x200
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fdf0735e9ce
RSP: 002b:00007fdf08268b28 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fdf082696c0 RCX: 00007fdf0735e9ce
RDX: 0000000000000000 RSI: 00007fdf08268c00 RDI: ffffffffffffff9c
RBP: 00007fdf08268c00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: cccccccccccccccd
R13: 00007fdf07626128 R14: 00007fdf07626090 R15: 00007ffdfe12cf48
 </TASK>

Showing all locks held in the system:
locks held by khungtaskd/36: 1, last CPU#0:
 #0: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by getty/5424: 2, on CPU#0:
 #0: ffff888114e860a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900034762e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
locks held by kworker/0:7/8523: 3, on CPU#0:
 #0: ffff88810006b140 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90004f57c40 ((work_completion)(&helper->damage_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff8881033aba70 (&helper->lock){+.+.}-{4:4}, at: drm_fb_helper_damage_work+0x15b/0xf20
locks held by kworker/u9:58/13991: 2, last CPU#0:
 #0: ffff8881000ac140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc9000839fc40 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
locks held by syz.6.2909/21180: 6, last CPU#0:
 #0: ffff88816a0cc260 (&dev->clientlist_mutex){+.+.}-{4:4}, at: drm_client_dev_restore+0xb1/0x290
 #1: ffff8881033aba70 (&helper->lock){+.+.}-{4:4}, at: __drm_fb_helper_restore_fbdev_mode_unlocked+0x7b/0x1c0
 #2: ffff88816a0cc128 (&dev->master_mutex){+.+.}-{4:4}, at: drm_master_internal_acquire+0x20/0x80
 #3: ffff8881033ab890 (&client->modeset_mutex){+.+.}-{4:4}, at: drm_client_modeset_commit_locked+0x4c/0x4d0
 #4: ffffc9000745f710 (crtc_ww_class_acquire){+.+.}-{0:0}, at: drm_client_modeset_commit_atomic+0x11a/0x7e0
 #5: ffffc9000745f738 (crtc_ww_class_mutex){+.+.}-{4:4}, at: drm_client_modeset_commit_atomic+0x11a/0x7e0
locks held by syz.7.3006/21924: 1, on CPU#0:
 #0: ffff88816a0cc128 (&dev->master_mutex){+.+.}-{4:4}, at: drm_master_open+0x6e/0x170
locks held by kworker/0:6/23138: 2, on CPU#0:
 #0: ffff88810006b140 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc9000742fc40 (console_work){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
locks held by syz.0.3261/23325: 2, on CPU#0:
 #0: ffffffff8ed4ec40 (console_lock){+.+.}-{0:0}, at: tioclinux+0x2fa/0x520
 #1: ffff8881033aba70 (&helper->lock){+.+.}-{4:4}, at: drm_fb_helper_blank+0xeb/0x140
locks held by kworker/u9:6/23401: 2, on CPU#0:
 #0: ffff8881000ac140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90003bcfc40 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
locks held by syz.8.3301/23531: 1, on CPU#0:
 #0: ffffffff8f67a4a0 (tty_mutex){+.+.}-{4:4}, at: tty_release_struct+0xae/0xd0
locks held by syz.8.3301/23533: 2, on CPU#0:
 #0: ffffffff8f67a4a0 (tty_mutex){+.+.}-{4:4}, at: tty_open+0x204/0xcc0
 #1: ffff888022ead1b0 (&tty->legacy_mutex){+.+.}-{4:4}, at: tty_init_dev+0x74/0x4d0
locks held by syz.5.3311/23678: 1, on CPU#0:
 #0: ffffffff8f67a4a0 (tty_mutex){+.+.}-{4:4}, at: tty_open+0x204/0xcc0
locks held by syz.1.3312/23776: 1, on CPU#0:
 #0: ffffffff8f67a4a0 (tty_mutex){+.+.}-{4:4}, at: tty_open+0x204/0xcc0
locks held by modprobe/23872: 1, last CPU#0:
 #0: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: path_init+0x124/0x1330

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

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 36 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>
