INFO: task syz.4.4785:1782
INFO: task syz.4.4785:17820 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.4.4785      state:D stack:27272 pid:17820 tgid:17813 ppid:14717  task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7c1/0x1550
 nfsd4_write_time+0xb1/0x6c0
 nfsctl_transaction_write+0x10f/0x160
 vfs_write+0x296/0xba0
 ksys_write+0x150/0x270
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f62fdd9e159
RSP: 002b:00007f62fec33028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f62fe026090 RCX: 00007f62fdd9e159
RDX: 0000000000000003 RSI: 0000200000000700 RDI: 0000000000000005
RBP: 00007f62fde3506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f62fe026128 R14: 00007f62fe026090 R15: 00007ffee4fc36f8
 </TASK>

Showing all locks held in the system:
locks held by khungtaskd/34: 1, last CPU#1:
 #0: ffffffff8ed5c760 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by getty/6915: 2, on CPU#1:
 #0: ffff888116d3d0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc90008d552e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
locks held by kworker/1:6/14890: 6, on CPU#1:
 #0: ffff888105f40540 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90006c3fc40 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff88810d4831d8 (&dev->mutex){....}-{4:4}, at: hub_event+0x184/0x4d30
 #3: ffff88810d480568 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_event+0x20a1/0x4d30
 #4: ffff88810da76460 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_event+0x20c9/0x4d30
 #5: ffffffff8fafad68 (ehci_cf_port_reset_rwsem){.+.+}-{4:4}, at: hub_port_reset+0x14d/0x1810
locks held by syz.4.4785/17816: 3, on CPU#1:
 #0: ffff88810b7adaf0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x246/0x320
 #1: ffff8881a2f54460 (sb_writers#35){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #2: ffffffff8f09e9c0 (nfsd_mutex){+.+.}-{4:4}, at: write_ports+0xb5/0xd10
locks held by syz.4.4785/17820: 3, on CPU#1:
 #0: ffff88810a9014f0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x246/0x320
 #1: ffff8881a2f54460 (sb_writers#35){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #2: ffffffff8f09e9c0 (nfsd_mutex){+.+.}-{4:4}, at: nfsd4_write_time+0xb1/0x6c0
locks held by pr/ttyS0/18876: 2, last CPU#0:
 #0: ffffffff8ec36338 (console_srcu){....}-{0:0}, at: console_srcu_read_lock+0x30/0x60
 #1: ffffffff9ad35098 (&port_lock_key){-.-.}-{3:3}, at: univ8250_console_device_lock+0x67/0xc0
locks held by syz.7.5349/19371: 3, on CPU#1:
 #0: ffff8881bca2a0f0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x246/0x320
 #1: ffff88810bfee460 (sb_writers#35){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #2: ffffffff8f09e9c0 (nfsd_mutex){+.+.}-{4:4}, at: write_threads+0x3b1/0x610
locks held by kworker/0:1/19635: 2, last CPU#0:
 #0: ffff888100069d40 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc900060afc40 ((work_completion)(&(&tbl->gc_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
locks held by syz.9.5886/20834: 2, last CPU#1:
 #0: ffff8881012fa460 (sb_writers#5){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #1: ffff8881b92b0288 (&sb->s_type->i_mutex_key#15){++++}-{4:4}, at: shmem_file_write_iter+0x7f/0x120

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

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 34 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>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 18876 Comm: pr/ttyS0 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
RIP: 0010:io_serial_out+0x7c/0xc0
Code: 68 55 fc 44 89 f9 d3 e5 49 83 c6 40 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 cc 68 c5 fc 41 03 2e 89 d8 89 ea ee <5b> 41 5c 41 5e 41 5f 5d c3 cc cc cc cc cc 44 89 f9 80 e1 07 38 c1
RSP: 0018:ffffc9000ff2f908 EFLAGS: 00000002
RAX: 000000000000003a RBX: 000000000000003a RCX: 0000000000000000
RDX: 00000000000003f8 RSI: 0000000000000000 RDI: 0000000000000020
RBP: 00000000000003f8 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: ffffffff85725c20 R12: dffffc0000000000
R13: 1ffff110231e0c05 R14: ffffffff9ad350c0 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88818d6d6000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31f1bff8 CR3: 000000000eb48000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 serial8250_console_wait_putchar+0x51/0xa0
 uart_console_write+0xbc/0x120
 serial8250_console_write+0xbd2/0x1200
 nbcon_emit_next_record+0xef5/0x1a90
 nbcon_kthread_func+0x679/0x880
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
