INFO: task syz.3.561:8746 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.561       state:D stack:24088 pid:8746  tgid:8745  ppid:8498   task_flags:0x400140 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_write_slowpath+0x872/0xfe0
 down_write_nested+0x1b5/0x200
 filename_create+0x1f8/0x3c0
 do_mkdirat+0xa0/0x590
 __x64_sys_mkdirat+0x87/0xa0
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb99878d417
RSP: 002b:00007fb99968be68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007fb99968bef0 RCX: 00007fb99878d417
RDX: 00000000000001ff RSI: 0000200000002080 RDI: 00000000ffffff9c
RBP: 0000200000002040 R08: 0000000000000000 R09: 0000000000000000
R10: 0000200000002040 R11: 0000000000000246 R12: 0000200000002080
R13: 00007fb99968beb0 R14: 0000000000000000 R15: 0000200000000000
 </TASK>
INFO: task syz.3.561:8748 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.561       state:D stack:27920 pid:8748  tgid:8745  ppid:8498   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 hfsplus_find_init+0x15a/0x1d0
 hfsplus_lookup+0x19c/0x890
 lookup_one_qstr_excl+0x131/0x360
 filename_create+0x224/0x3c0
 do_mkdirat+0xa0/0x590
 __x64_sys_mkdirat+0x87/0xa0
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb99878d417
RSP: 002b:00007fb999649e68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007fb999649ef0 RCX: 00007fb99878d417
RDX: 00000000000001ff RSI: 0000200000002080 RDI: 00000000ffffff9c
RBP: 0000200000002040 R08: 0000000000000000 R09: 0000000000000000
R10: 0000200000002040 R11: 0000000000000246 R12: 0000200000002080
R13: 00007fb999649eb0 R14: 0000000000000000 R15: 0000200000000000
 </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
4 locks held by kworker/u9:7/4698:
 #0: ffff88801af0f148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90021127bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff888133f3a0e0 (&type->s_umount_key#80){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0
 #3: ffff888133f3e0b0 (&tree->tree_lock){+.+.}-{4:4}, at: hfsplus_find_init+0x15a/0x1d0
2 locks held by getty/5677:
 #0: ffff888108fe10a0 (&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
2 locks held by syz.3.561/8746:
 #0: ffff888133f3a428 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90
 #1: ffff8881071cc8f8 (&type->i_mutex_dir_key#16/1){+.+.}-{4:4}, at: filename_create+0x1f8/0x3c0
6 locks held by syz.3.561/8747:
3 locks held by syz.3.561/8748:
 #0: ffff888133f3a428 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90
 #1: 
ffff8881071cc8f8
 (
&type->i_mutex_dir_key
#16
/1
){+.+.}-{4:4}
, at: filename_create+0x1f8/0x3c0
 #2: ffff888133f3e0b0 (&tree->tree_lock){+.+.}-{4:4}, at: hfsplus_find_init+0x15a/0x1d0
3 locks held by syz-executor/9130:
 #0: ffff88810a5a80e0 (&type->s_umount_key#52){++++}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffff888037200278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xf8/0x900
 #2: ffffffff8e13f9b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730
1 lock held by syz.7.734/9675:
 #0: ffffffff8e99e128
 (
tty_mutex
){+.+.}-{4:4}, at: tty_release_struct+0xae/0xd0

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

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: 8747 Comm: syz.3.561 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:io_serial_out+0x7c/0xc0
Code: 40 70 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 bc b1 d3 fc 41 03 2e 89 d8 89 ea ee <5b> 41 5c 41 5e 41 5f 5d e9 17 9d 2d 06 cc 44 89 f9 80 e1 07 38 c1
RSP: 0018:ffffc90002f4ea90 EFLAGS: 00000006
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 00000000000003f9 RSI: 0000000000000000 RDI: 0000000000000020
RBP: 00000000000003f9 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: ffffffff854f6e40 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffffffff99df5420 R15: 0000000000000000
FS:  00007fb99966b6c0(0000) GS:ffff8881a3c15000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555569b1f608 CR3: 0000000133070000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 serial8250_console_write+0x5f2/0x1ba0
 console_flush_all+0x728/0xc40
 console_unlock+0xc4/0x270
 vprintk_emit+0x5b7/0x7a0
 _printk+0xcf/0x120
 hfsplus_bnode_dump+0x322/0x450
 hfsplus_brec_remove+0x480/0x550
 __hfsplus_delete_attr+0x1d4/0x360
 hfsplus_delete_attr+0x231/0x2d0
 __hfsplus_setxattr+0x396/0x1fe0
 hfsplus_setxattr+0x11e/0x180
 hfsplus_trusted_setxattr+0x40/0x60
 __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:0x7fb99878eba9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fb99966b038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd
RAX: ffffffffffffffda RBX: 00007fb9989d6090 RCX: 00007fb99878eba9
RDX: 00002000000001c0 RSI: 0000200000000180 RDI: 00002000000001c0
RBP: 00007fb998811e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000361 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb9989d6128 R14: 00007fb9989d6090 R15: 00007ffefa99f5f8
 </TASK>
