INFO: task syz.4.15911:9503 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.15911     state:D stack:24616 pid:9503  tgid:9502  ppid:8816   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7c1/0x1550
 write_ports+0xb5/0xd10
 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:0x7f260599e159
RSP: 002b:00007f260693d028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f2605c25fa0 RCX: 00007f260599e159
RDX: 0000000000000001 RSI: 0000200000000240 RDI: 0000000000000006
RBP: 00007f2605a35024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2605c26038 R14: 00007f2605c25fa0 R15: 00007ffc59a9cc28
 </TASK>

Showing all locks held in the system:
locks held by khungtaskd/34: 1, last CPU#1:
 #0: ffffffff8ed5c6e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by getty/5421: 2, on CPU#0:
 #0: ffff88817a65a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900031282e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
locks held by kworker/0:0H/13986: 2, last CPU#0:
 #0: ffff88810006ad40 ((wq_completion)events_highpri){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc9002013fc40 ((work_completion)(&vmidi->output_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
locks held by syz.7.15857/9310: 3, on CPU#1:
 #0: ffff88816d2ed8f0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x246/0x320
 #1: ffff888179f46460 (sb_writers#54){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #2: ffffffff8f09e300 (nfsd_mutex){+.+.}-{4:4}, at: write_ports+0xb5/0xd10
locks held by syz.4.15911/9503: 3, on CPU#0:
 #0: ffff88811fc4b4f0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x246/0x320
 #1: ffff888177e5a460 (sb_writers#54){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #2: ffffffff8f09e300 (nfsd_mutex){+.+.}-{4:4}, at: write_ports+0xb5/0xd10
locks held by udevd/9552: 1, on CPU#1:
 #0: ffff88816b1a7350 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xde/0xd70
locks held by syz.8.16360/11045: 2, on CPU#0:
 #0: ffff8881077d80e8 (&type->s_umount_key#138){++++}-{4:4}, at: deactivate_super+0xac/0xe0
 #1: ffffffff8f09e300 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x4e/0xd0
locks held by syz.2.16745/12976: 4, last CPU#1:
 #0: ffff88810e5aa460 (sb_writers#5){.+.+}-{0:0}, at: vfs_coredump+0x3766/0x4530
 #1: ffff88810e50a9f8 (&mm->mmap_lock){++++}-{4:4}, at: dump_user_range+0x1c5/0x12c0
 #2: ffffffff8ee8f880 (fs_reclaim){+.+.}-{0:0}, at: prepare_alloc_pages+0x149/0x600
 #3: ffffffff8eea5540 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: fs_reclaim_acquire+0x7c/0x100
locks held by syz.9.16754/13021: 3, last CPU#1:
 #0: ffff8881012fa460 (sb_writers#5){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #1: ffff888104294ba8 (&sb->s_type->i_mutex_key#15){++++}-{4:4}, at: shmem_file_write_iter+0x7f/0x120
 #2: ffffffff8ee8f880 (fs_reclaim){+.+.}-{0:0}, at: prepare_alloc_pages+0x149/0x600
locks held by syz.2.16760/13048: 5, last CPU#1:
 #0: ffff88816b9bcef0
 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x246/0x320
 #1: ffff88817b576460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #2: ffff8881abe60880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540
 #3: ffff88816b8591e8 (kn->active#97){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540
 #4: ffffffff905fa700 (uevent_sock_mutex){+.+.}-{4:4}, at: kobject_uevent_net_broadcast+0x27e/0x560
locks held by syz.2.16760/13050: 2, on CPU#1:
 #0: ffff88816aba9430 (&lo->lo_mutex){+.+.}-{4:4}, at: loop_configure+0x35d/0xdc0
 #1: ffffffff905fa700 (uevent_sock_mutex){+.+.}-{4:4}, at: kobject_uevent_net_broadcast+0x27e/0x560

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

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 34 Comm: khungtaskd Tainted: G             L      syzkaller #0 PREEMPT(lazy) 
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: 13049 Comm: syz.2.16760 Tainted: G             L      syzkaller #0 PREEMPT(lazy) 
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:native_apic_msr_write+0x39/0x50
Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 cc cc cc cc cc 89 f6 31 d2 e9 26 0d a6 03 66 0f 1f 44 00
RSP: 0018:ffffc90000007eb0 EFLAGS: 00000046
RAX: 000000000000c3a4 RBX: ffff888121023c80 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 000000000000c3a4 RDI: 0000000000000838
RBP: ffffc90000007f80 R08: f700000000000000 R09: 0000000000080000
R10: 0000000000000000 R11: ffffffff81754510 R12: 000000000000c3a4
R13: dffffc0000000000 R14: 000000000fffed8b R15: 0000000000000020
FS:  00007fb74a7a46c0(0000) GS:ffff88818d6d8000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000005000 CR3: 000000002a874000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 lapic_next_event+0x11/0x20
 clockevents_program_event+0x385/0x630
 __hrtimer_rearm_deferred+0x36c/0x4b0
 __irq_exit_rcu+0x150/0x220
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:finish_task_switch+0x413/0xc60
Code: 04 00 00 41 c7 84 24 20 0e 00 00 00 00 00 00 0f 1f 44 00 00 49 83 c4 48 4c 89 e7 e8 87 30 51 0a e8 e2 00 3a 00 fb 4c 8b 65 c8 <49> 8d bc 24 10 17 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0
RSP: 0018:ffffc900052a76c0 EFLAGS: 00000206
RAX: 0000000000093deb RBX: ffff88812103c8e0 RCX: 8000000000000001
RDX: 0000000000000000 RSI: ffffffff8e474e51 RDI: ffffffff8c6d9480
RBP: ffffc900052a7710 R08: ffffffff907a157f R09: 1ffffffff20f42af
R10: dffffc0000000000 R11: fffffbfff20f42b0 R12: ffff88811fcdda00
R13: ffff88811fcdda00 R14: dffffc0000000000 R15: 1ffff1102420791c
 __schedule+0x17e3/0x58f0
 schedule+0x164/0x2b0
 schedule_timeout+0x152/0x2c0
 snd_rawmidi_write+0x3b4/0xbc0
 vfs_writev+0x4bb/0x990
 do_writev+0x154/0x2e0
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb74999e159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fb74a7a4028 EFLAGS: 00000246 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 00007fb749c26090 RCX: 00007fb74999e159
RDX: 0000000000000002 RSI: 0000200000000840 RDI: 0000000000000008
RBP: 00007fb749a35024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb749c26128 R14: 00007fb749c26090 R15: 00007ffdfb6f85c8
 </TASK>
