INFO: task syz.7.322:7429 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.322       state:D stack:23328 pid:7429  tgid:7428  ppid:7022   task_flags:0x440140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_read_slowpath+0x6ba/0x920
 down_read_nested+0x9e/0x330
 xfs_ilock+0x109/0x380
 xchk_nlinks_collect_dir+0x63/0x3b0
 xchk_nlinks_collect+0x194/0x510
 xchk_nlinks+0xc1/0x2a0
 xfs_scrub_metadata+0xbe3/0x1910
 xfs_ioc_scrubv_metadata+0x7ac/0xb70
 xfs_file_ioctl+0x916/0x1590
 __se_sys_ioctl+0xfc/0x170
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1421b9e199
RSP: 002b:00007f1422a13028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f1421e25fa0 RCX: 00007f1421b9e199
RDX: 0000200000000240 RSI: 00000000c0285840 RDI: 0000000000000006
RBP: 00007f1421c350b8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1421e26038 R14: 00007f1421e25fa0 R15: 00007ffcdb3eb9e8
 </TASK>
INFO: task syz.7.322:7501 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.322       state:D stack:26616 pid:7501  tgid:7428  ppid:7022   task_flags:0x440140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 xlog_grant_head_wait+0x441/0xa00
 xlog_grant_head_check+0x286/0x420
 xfs_log_reserve+0x2bc/0x780
 xfs_trans_alloc+0x28a/0x990
 xfs_trans_alloc_inode+0x141/0x4a0
 xfs_attr_set+0x7f3/0x13e0
 xfs_xattr_set+0x188/0x2a0
 __vfs_setxattr+0x442/0x480
 __vfs_setxattr_noperm+0x12a/0x660
 vfs_setxattr+0x163/0x360
 filename_setxattr+0x296/0x630
 path_setxattrat+0x408/0x450
 __x64_sys_setxattr+0xbc/0xe0
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1421b9e199
RSP: 002b:00007f14229f2028 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f1421e26090 RCX: 00007f1421b9e199
RDX: 0000200000000b40 RSI: 0000200000000000 RDI: 0000200000000180
RBP: 00007f1421c350b8 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000fe1c R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1421e26128 R14: 00007f1421e26090 R15: 00007ffcdb3eb9e8
 </TASK>
INFO: task syz.7.322:7507 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.322       state:D stack:28680 pid:7507  tgid:7428  ppid:7022   task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_write_slowpath+0x87d/0x1080
 down_write+0x1bc/0x200
 vfs_utimes+0x3f4/0x650
 do_utimes+0x1ba/0x2c0
 __x64_sys_utime+0x138/0x200
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1421b9e199
RSP: 002b:00007f14229d1028 EFLAGS: 00000246 ORIG_RAX: 0000000000000084
RAX: ffffffffffffffda RBX: 00007f1421e26180 RCX: 00007f1421b9e199
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000140
RBP: 00007f1421c350b8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1421e26218 R14: 00007f1421e26180 R15: 00007ffcdb3eb9e8
 </TASK>
INFO: task syz.7.322:7511 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.322       state:D stack:27136 pid:7511  tgid:7428  ppid:7022   task_flags:0x440040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 xlog_grant_head_wait+0x441/0xa00
 xlog_grant_head_check+0x286/0x420
 xfs_log_reserve+0x2bc/0x780
 xfs_trans_alloc+0x28a/0x990
 xfs_trans_alloc_icreate+0x59/0x260
 xfs_create+0x523/0xa60
 xfs_generic_create+0x410/0xb30
 xfs_vn_mkdir+0x31/0x40
 vfs_mkdir+0x40c/0x620
 filename_mkdirat+0x285/0x510
 __se_sys_mkdirat+0x35/0x150
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1421b9d007
RSP: 002b:00007f14229afe58 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f14229afee0 RCX: 00007f1421b9d007
RDX: 00000000000001ff RSI: 0000200000000280 RDI: 00000000ffffff9c
RBP: 0000200000000040 R08: 00002000000007c0 R09: 0000000000000000
R10: 0000200000000040 R11: 0000000000000246 R12: 0000200000000280
R13: 00007f14229afea0 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Showing all locks held in the system:
locks held by kworker/0:1/10: 5, last CPU#0:
 #0: ffff888104ec7540 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc900000f7c40 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff88810d43c1d8 (&dev->mutex){....}-{4:4}, at: hub_event+0x184/0x4d30
 #3: ffff888104ab11d8 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x450
 #4: ffff888104ab21a0 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x450
locks held by pr/ttyS0/16: 2, last CPU#0:
 #0: ffffffff8ec36498 (console_srcu){....}-{0:0}, at: console_srcu_read_lock+0x30/0x60
 #1: ffffffff9ad452f8 (&port_lock_key){-...}-{3:3}, at: univ8250_console_device_lock+0x67/0xc0
locks held by khungtaskd/36: 1, last CPU#1:
 #0: ffffffff8ed5c860 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by udevd/5041: 1, last CPU#0:
 #0: ffffffff8ed5c860 (rcu_read_lock){....}-{1:3}, at: sock_def_readable+0xae/0x550
locks held by getty/5420: 2, on CPU#1:
 #0: ffff888118dc30a0 (&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/1:3/5653: 3, on CPU#1:
 #0: ffff88810006b140 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90004fb7c40 ((work_completion)(&helper->damage_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff888103b9aa70 (&helper->lock){+.+.}-{4:4}, at: drm_fb_helper_damage_work+0x15b/0xf20
locks held by kworker/1:4/5667: 2, on CPU#1:
 #0: ffff8881b7bd5140 ((wq_completion)xfs-sync/loop7){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc9000621fc40 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
locks held by syz.7.322/7429: 2, on CPU#1:
 #0: ffff8881be096460 (sb_writers#28){.+.+}-{0:0}, at: mnt_want_write_file+0x60/0x200
 #1: ffff88802ac88a90 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: xfs_ilock+0x109/0x380
locks held by syz.7.322/7501: 3, on CPU#0:
 #0: ffff8881be096460 (sb_writers#28){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90
 #1: ffff88802ac88a90 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x13e/0x360
 #2: ffff8881be096650 (sb_internal#3){.+.+}-{0:0}, at: xfs_trans_alloc+0xcf/0x990
locks held by syz.7.322/7507: 2, on CPU#1:
 #0: ffff8881be096460 (sb_writers#28){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90
 #1: ffff88802ac88a90 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_utimes+0x3f4/0x650
locks held by syz.7.322/7511: 3, on CPU#1:
 #0: ffff8881be096460 (sb_writers#28){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90
 #1: ffff8881a5db1210 (&inode->i_sb->s_type->i_mutex_dir_key/1){+.+.}-{4:4}, at: filename_create+0x200/0x370
 #2: ffff8881be096650 (sb_internal#3){.+.+}-{0:0}, at: xfs_trans_alloc+0xcf/0x990
locks held by syz-executor/9619: 1, last CPU#0:
 #0: ffffffff8ed5c860 (rcu_read_lock){....}-{1:3}, at: path_init+0x124/0x1330
locks held by kworker/1:9/10128: 8, last CPU#1:
 #0: ffff88810006b140 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc9000356fc40 (console_work){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffffff8ed4ec00 (console_lock){+.+.}-{0:0}, at: console_callback+0x69/0x450
 #3: ffff888103b9aa70 (&helper->lock){+.+.}-{4:4}, at: drm_fb_helper_pan_display+0xbe/0xbe0
 #4: ffff8881694dc128 (&dev->master_mutex){+.+.}-{4:4}, at: drm_master_internal_acquire+0x20/0x80
 #5: ffff888103b9a890 (&client->modeset_mutex){+.+.}-{4:4}, at: drm_client_modeset_commit_locked+0x4c/0x4d0
 #6: ffffc9000356f450 (crtc_ww_class_acquire){+.+.}-{0:0}, at: drm_client_modeset_commit_atomic+0x11a/0x7e0
 #7: ffffc9000356f478 (crtc_ww_class_mutex){+.+.}-{4:4}, at: drm_client_modeset_commit_atomic+0x11a/0x7e0

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

NMI backtrace for cpu 1
CPU: 1 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>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 16 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: 59 54 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 ac 6e c4 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:ffffc90000157900 EFLAGS: 00000002
RAX: 0000000000000068 RBX: 0000000000000068 RCX: 0000000000000000
RDX: 00000000000003f8 RSI: 0000000000000000 RDI: 0000000000000020
RBP: 00000000000003f8 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: ffffffff8573b4a0 R12: dffffc0000000000
R13: 0000000000000068 R14: ffffffff9ad45320 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88818d6c6000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555643b44e8 CR3: 00000001bf708000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 __serial8250_console_fifo_write+0x1e6/0x3e0
 serial8250_console_write+0xa7e/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>
