INFO: task kworker/u9:7:30077 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u9:7    state:D stack:24008 pid:30077 tgid:30077 ppid:2      task_flags:0x4208060 flags:0x00080000
Workqueue: writeback wb_workfn (flush-7:0)
Call Trace:
 <TASK>
 __schedule+0x17d9/0x56c0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7bf/0x1550
 hfsplus_find_init+0x168/0x2d0
 hfsplus_cat_write_inode+0x229/0x9c0
 __writeback_single_inode+0x6ac/0xf90
 writeback_sb_inodes+0x9de/0x1b00
 __writeback_inodes_wb+0x114/0x240
 wb_writeback+0x42f/0xad0
 wb_workfn+0xc92/0x10f0
 process_scheduled_works+0xa8e/0x14e0
 worker_thread+0xa47/0xfb0
 kthread+0x388/0x470
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>

Showing all locks held in the system:
3 locks held by kworker/1:0/24:
 #0: 
ffff88810006b140 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #1: ffffc900001e7c40 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #2: ffff88819fe7b250 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x1fd/0x3b0
1 lock held by khungtaskd/35:
 #0: ffffffff8eb59c60 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
1 lock held by syslogd/5032:
 #0: ffff88812103b160 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2d/0x160
1 lock held by dhcpcd/5346:
 #0: 
ffffffff90027f40
 (
rtnl_mutex
){+.+.}-{4:4}
, at: rtnl_newlink+0x8a3/0x1bd0
2 locks held by getty/5429:
 #0: ffff8881604df0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900033a82e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
3 locks held by kworker/u8:2/5436:
 #0: 
ffff88810d7d7140
 ((wq_completion)ipv6_addrconf
){+.+.}-{0:0}
, at: process_scheduled_works+0xa20/0x14e0
 #1: 
ffffc9000404fc40
 (
(work_completion)(&(&ifa->dad_work)->work)
){+.+.}-{0:0}
, at: process_scheduled_works+0xa20/0x14e0
 #2: 
ffffffff90027f40
 (
rtnl_mutex
){+.+.}-{4:4}
, at: addrconf_dad_work+0x116/0x15c0
6 locks held by kworker/u8:1/17469:
 #0: 
ffff8881012d5940
 (
(wq_completion)netns
){+.+.}-{0:0}
, at: process_scheduled_works+0xa20/0x14e0
 #1: 
ffffc90003effc40
 (
net_cleanup_work
){+.+.}-{0:0}
, at: process_scheduled_works+0xa20/0x14e0
 #2: ffffffff900193a8 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf5/0x810
 #3: 
ffff888104ebe128
 (
&dev->mutex
){....}-{4:4}
, at: devlink_pernet_pre_exit+0x129/0x420
 #4: 
ffff888104ebc258
 (
&devlink->lock_key
#98){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0x142/0x420
 #5: 
ffffffff90027f40
 (
rtnl_mutex
){+.+.}-{4:4}
, at: register_netdevice_notifier_net+0x1a/0xa0
4 locks held by kworker/u9:7/30077:
 #0: 
ffff88816269f940
 (
(wq_completion)writeback
){+.+.}-{0:0}
, at: process_scheduled_works+0xa20/0x14e0
 #1: 
ffffc900042afc40
 (
(work_completion)(&(&wb->dwork)->work)
){+.+.}-{0:0}
, at: process_scheduled_works+0xa20/0x14e0
 #2: 
ffff8881138de0d8
 (
&type->s_umount_key
#57
){++++}-{4:4}
, at: super_trylock_shared+0x20/0xf0
 #3: 
ffff8880210e00a8
 (
&tree->tree_lock){+.+.}-{4:4}, at: hfsplus_find_init+0x168/0x2d0
6 locks held by syz.0.3737/545:
4 locks held by kworker/u10:8/2386:
 #0: 
ffff8881000ac140
 (
(wq_completion)events_unbound
){+.+.}-{0:0}
, at: process_scheduled_works+0xa20/0x14e0
 #1: 
ffffc900064c7c40
 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #2: ffffffff90027f40
 (
rtnl_mutex
){+.+.}-{4:4}
, at: linkwatch_event+0xe/0x60
 #3: 
ffffffff8eb5ff68 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2d0/0x770
7 locks held by syz-executor/3261:
 #0: 
ffff888171bdc450
 (
sb_writers
#7
){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #1: ffff8881bf51f080 (&of->mutex){+.+.}-{4:4}
, at: kernfs_fop_write_iter+0x1d8/0x540
 #2: 
ffff88810c55f5a8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540
 #3: ffffffff8f8a3c20 (nsim_bus_dev_list_lock
){+.+.}-{4:4}
, at: new_device_store+0x13c/0x710
 #4: ffff8881be437128 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x450
 #5: 
ffff888169d5b258 (&devlink->lock_key#103){+.+.}-{4:4}
, at: nsim_drv_probe+0xfc/0xbf0
 #6: ffffffff90027f40 (rtnl_mutex
){+.+.}-{4:4}
, at: rtnl_net_dev_lock+0x257/0x2f0
2 locks held by syz-executor/3346:
 #0: ffffffff8f793ce8 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250
 #1: 
ffffffff90027f40 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8a3/0x1bd0

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

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 35 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+0xe8/0x150
 nmi_cpu_backtrace+0x274/0x2d0
 nmi_trigger_cpumask_backtrace+0x17a/0x380
 sys_info+0x135/0x170
 watchdog+0xfd7/0x1030
 kthread+0x388/0x470
 ret_from_fork+0x514/0xb70
 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: 545 Comm: syz.0.3737 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:__rcu_read_unlock+0x32/0xe0
Code: 41 55 41 54 53 49 bf 00 00 00 00 00 fc ff df 65 48 8b 3d 09 4a c0 11 48 8d 9f c4 04 00 00 49 89 dc 49 c1 ec 03 43 0f b6 04 3c <84> c0 75 4f ff 0b 75 1d 4c 8d b7 c8 04 00 00 4c 89 f0 48 c1 e8 03
RSP: 0018:ffffc90000a088f0 EFLAGS: 00000a03
RAX: 0000000000000000 RBX: ffff88816cb8c044 RCX: 0000000000000101
RDX: 0000000000000007 RSI: ffffffff8e4ae89f RDI: ffff88816cb8bb80
RBP: 1ffffffff21f9201 R08: ffffc90000a08d70 R09: 0000000000000000
R10: ffffc90000a08a18 R11: fffff52000141145 R12: 1ffff1102d971808
R13: ffffffff8177827f R14: ffffc90000a089c8 R15: dffffc0000000000
FS:  00007f3e898256c0(0000) GS:ffff8882a8f52000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056052c42ca18 CR3: 000000010e0a6000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 unwind_next_frame+0x1baf/0x2550
 arch_stack_walk+0x11b/0x150
 stack_trace_save+0xa9/0x100
 kasan_save_track+0x3e/0x80
 kasan_save_free_info+0x40/0x50
 __kasan_slab_free+0x5c/0x80
 slab_free_after_rcu_debug+0x12a/0x220
 rcu_core+0x78b/0x10a0
 handle_softirqs+0x225/0x840
 __irq_exit_rcu+0xca/0x220
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:console_flush_all+0x7d2/0xaf0
Code: ff ff e8 21 2a 21 00 90 0f 0b 90 e9 9c fc ff ff e8 13 2a 21 00 e8 2e fe 2a 0a 48 85 db 74 c0 e8 04 2a 21 00 fb 48 8b 5c 24 18 <48> 8b 44 24 28 42 80 3c 20 00 4d 8d 77 58 74 08 4c 89 f7 e8 96 c6
RSP: 0018:ffffc90003f1ea60 EFLAGS: 00000246
RAX: ffffffff81a5d75c RBX: ffffc90003f1ebc0 RCX: 0000000000080000
RDX: ffffc90025001000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: ffffc90003f1eb70 R08: ffffffff90574b37 R09: 1ffffffff20ae966
R10: dffffc0000000000 R11: fffffbfff20ae967 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000000 R15: ffffffff8f46efe0
 console_unlock+0xd1/0x1c0
 vprintk_emit+0x485/0x560
 _printk+0xdd/0x130
 hfsplus_bnode_dump+0x189/0xa40
 hfsplus_brec_remove+0x5ea/0x6d0
 __hfsplus_delete_attr+0x1de/0x420
 hfsplus_delete_attr+0x191/0x320
 __hfsplus_setxattr+0x806/0x2800
 hfsplus_setxattr+0x124/0x340
 hfsplus_security_setxattr+0x40/0x60
 __vfs_removexattr+0x41c/0x450
 cap_inode_killpriv+0x24/0x50
 security_inode_killpriv+0x8f/0x270
 setattr_prepare+0x249/0xb50
 hfsplus_setattr+0x50/0x260
 notify_change+0xbba/0xea0
 do_truncate+0x1c2/0x250
 path_openat+0x2fed/0x3830
 do_file_open+0x23e/0x4a0
 do_sys_openat2+0x115/0x200
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3e8899e0d9
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:00007f3e89825028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f3e88c26090 RCX: 00007f3e8899e0d9
RDX: 0000000000109342 RSI: 0000200000000040 RDI: ffffffffffffff9c
RBP: 00007f3e88a35024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3e88c26128 R14: 00007f3e88c26090 R15: 00007ffc0b70e668
 </TASK>
