INFO: task syz.9.10649:16100 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.9.10649     state:D stack:25128 pid:16100 tgid:16079 ppid:12198  task_flags:0x440140 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 xlog_grant_head_wait+0x453/0xa20
 xlog_grant_head_check+0x286/0x420
 xfs_log_reserve+0x2cc/0x780
 xfs_trans_alloc+0x29c/0x980
 xfs_trans_alloc_inode+0x13c/0x4a0
 xfs_attr_set+0x7fa/0x1210
 xfs_xattr_set+0x14d/0x250
 __vfs_setxattr+0x43c/0x480
 __vfs_setxattr_noperm+0x12d/0x660
 vfs_setxattr+0x16b/0x2f0
 filename_setxattr+0x274/0x600
 path_setxattrat+0x364/0x3a0
 __x64_sys_lsetxattr+0xbf/0xe0
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd6d978ebe9
RSP: 002b:00007fd6da59e038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd
RAX: ffffffffffffffda RBX: 00007fd6d99c6360 RCX: 00007fd6d978ebe9
RDX: 00002000000002c0 RSI: 00002000000000c0 RDI: 0000200000000100
RBP: 00007fd6d9811e19 R08: 0000000000000002 R09: 0000000000000000
R10: 000000000000fe37 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd6d99c63f8 R14: 00007fd6d99c6360 R15: 00007fff41421cd8
 </TASK>
INFO: task syz.9.10649:16103 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.9.10649     state:D stack:27360 pid:16103 tgid:16079 ppid:12198  task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_write_slowpath+0x872/0xfe0
 down_write+0x1ab/0x1f0
 vfs_unlink+0xf2/0x650
 do_unlinkat+0x345/0x560
 __x64_sys_unlinkat+0xd3/0xf0
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd6d978ebe9
RSP: 002b:00007fd6da57d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 00007fd6d99c6450 RCX: 00007fd6d978ebe9
RDX: 0000000000000000 RSI: 0000200000000000 RDI: ffffffffffffff9c
RBP: 00007fd6d9811e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd6d99c64e8 R14: 00007fd6d99c6450 R15: 00007fff41421cd8
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e139f20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5671:
 #0: ffff88810cbc80a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900029062f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
3 locks held by kworker/u8:3/5876:
 #0: ffff88801b2ff148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000336fbc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f52c3b0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x800
3 locks held by kworker/1:4/15294:
 #0: ffff88801a481548 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900048c7bc0 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff888123c65240 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x26b/0x3180
3 locks held by syz.9.10649/16100:
 #0: ffff888024684428 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90
 #1: ffff888113205b30 (&sb->s_type->i_mutex_key#25){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0
 #2: ffff888024684618 (sb_internal#3){.+.+}-{0:0}, at: xfs_trans_alloc+0xd7/0x980
3 locks held by syz.9.10649/16103:
 #0: ffff888024684428 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90
 #1: ffff888125781b30 (&inode->i_sb->s_type->i_mutex_dir_key/1){+.+.}-{4:4}, at: do_unlinkat+0x1c7/0x560
 #2: ffff888113205b30 (&sb->s_type->i_mutex_key#25){++++}-{4:4}, at: vfs_unlink+0xf2/0x650
2 locks held by kworker/0:9/16585:
 #0: ffff88802f9f6148 ((wq_completion)xfs-sync/loop9){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000320fbc0 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
2 locks held by dhcpcd-run-hook/21557:

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

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 34 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) 
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+0x189/0x250
 nmi_cpu_backtrace+0x39e/0x3d0
 nmi_trigger_cpumask_backtrace+0x17a/0x300
 watchdog+0xf93/0xfe0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 21558 Comm: cmp Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:__sanitizer_cov_trace_cmp8+0x37/0x90
Code: 08 c0 a0 92 65 8b 15 b8 0f e1 10 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 57 83 b9 3c 16 00 00 00 74 4e 8b 91 18 16 00 00 <83> fa 03 75 43 48 8b 91 20 16 00 00 44 8b 89 1c 16 00 00 49 c1 e1
RSP: 0018:ffffc900047bf150 EFLAGS: 00000246
RAX: ffffffff8b71e320 RBX: ffff888023969a48 RCX: ffff888112a7b980
RDX: 0000000000000000 RSI: 00007f60b8066fff RDI: 00007f60b8066000
RBP: 00007f60b8066000 R08: ffff888112a7b980 R09: 0000000000000003
R10: 0000000000000003 R11: 0000000000000000 R12: 00007f60b8066fff
R13: ffff888023969a48 R14: fffffffffffffff5 R15: 0000000000000008
FS:  0000000000000000(0000) GS:ffff8881a3c14000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f60b82f01d0 CR3: 000000012f76c000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 mas_wr_walk_descend+0x330/0x880
 mas_wr_store_type+0x163/0x1a30
 mas_preallocate+0x23d/0x550
 __split_vma+0x2fa/0xa00
 vms_gather_munmap_vmas+0x4c6/0x12e0
 mmap_region+0x71e/0x2100
 do_mmap+0xc45/0x10d0
 vm_mmap_pgoff+0x2a6/0x4d0
 ksys_mmap_pgoff+0x51f/0x760
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f60b8314b74
Code: 63 08 44 89 e8 5b 41 5c 41 5d c3 41 89 ca 41 f7 c1 ff 0f 00 00 74 0c c7 05 f5 46 01 00 16 00 00 00 eb 17 b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 0c f7 d8 89 05 dc 46 01 00 48 83 c8 ff c3 0f
RSP: 002b:00007ffc6a1619e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007ffc6a161a60 RCX: 00007f60b8314b74
RDX: 0000000000000001 RSI: 0000000000007000 RDI: 00007f60b805f000
RBP: 00007ffc6a161dc0 R08: 0000000000000003 R09: 000000000001b000
R10: 0000000000000812 R11: 0000000000000246 R12: 00007f60b82eff00
R13: 00007ffc6a161e48 R14: 000000000001a43e R15: 0000000000000000
 </TASK>
