Warning: Permanently added '10.128.1.3' (ECDSA) to the list of known hosts. executing program [ 68.789565][ T3549] loop0: detected capacity change from 0 to 1024 [ 68.797537][ T3549] ======================================================= [ 68.797537][ T3549] WARNING: The mand mount option has been deprecated and [ 68.797537][ T3549] and is ignored by this kernel. Remove the mand [ 68.797537][ T3549] option from the mount to silence this warning. [ 68.797537][ T3549] ======================================================= [ 68.885741][ T11] [ 68.893065][ T11] ============================================ [ 68.899479][ T11] WARNING: possible recursive locking detected [ 68.905633][ T11] 6.1.30-syzkaller #0 Not tainted [ 68.910651][ T11] -------------------------------------------- [ 68.916797][ T11] kworker/u4:1/11 is trying to acquire lock: [ 68.922866][ T11] ffff88807b65c0b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfsplus_find_init+0x146/0x1c0 [ 68.932727][ T11] [ 68.932727][ T11] but task is already holding lock: [ 68.940086][ T11] ffff88807b65c0b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfsplus_find_init+0x146/0x1c0 [ 68.949767][ T11] [ 68.949767][ T11] other info that might help us debug this: [ 68.957830][ T11] Possible unsafe locking scenario: [ 68.957830][ T11] [ 68.965273][ T11] CPU0 [ 68.968551][ T11] ---- [ 68.971829][ T11] lock(&tree->tree_lock/1); [ 68.976515][ T11] lock(&tree->tree_lock/1); [ 68.981202][ T11] [ 68.981202][ T11] *** DEADLOCK *** [ 68.981202][ T11] [ 68.989340][ T11] May be due to missing lock nesting notation [ 68.989340][ T11] [ 68.997654][ T11] 5 locks held by kworker/u4:1/11: [ 69.002756][ T11] #0: ffff888015686938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x77a/0x11f0 [ 69.013383][ T11] #1: ffffc90000107d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7bd/0x11f0 [ 69.025392][ T11] #2: ffff88807deea988 (&hip->extents_lock){+.+.}-{3:3}, at: hfsplus_ext_write_extent+0x8a/0x1f0 [ 69.036019][ T11] #3: ffff88807b65c0b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfsplus_find_init+0x146/0x1c0 [ 69.046121][ T11] #4: ffff88807dee8108 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x1d2/0x1b10 [ 69.057608][ T11] [ 69.057608][ T11] stack backtrace: [ 69.063493][ T11] CPU: 0 PID: 11 Comm: kworker/u4:1 Not tainted 6.1.30-syzkaller #0 [ 69.071471][ T11] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 69.081528][ T11] Workqueue: writeback wb_workfn (flush-7:0) [ 69.087531][ T11] Call Trace: [ 69.090812][ T11] [ 69.093746][ T11] dump_stack_lvl+0x1e3/0x2cb [ 69.098440][ T11] ? nf_tcp_handle_invalid+0x642/0x642 [ 69.103996][ T11] ? panic+0x75d/0x75d [ 69.108089][ T11] validate_chain+0x4726/0x58e0 [ 69.112949][ T11] ? reacquire_held_locks+0x660/0x660 [ 69.118327][ T11] ? mark_lock+0x9a/0x340 [ 69.122661][ T11] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 69.128648][ T11] ? mark_lock+0x9a/0x340 [ 69.132989][ T11] __lock_acquire+0x125b/0x1f80 [ 69.137847][ T11] lock_acquire+0x1f8/0x5a0 [ 69.142348][ T11] ? hfsplus_find_init+0x146/0x1c0 [ 69.147549][ T11] ? read_lock_is_recursive+0x10/0x10 [ 69.152919][ T11] ? hfsplus_bmap_reserve+0x101/0x4e0 [ 69.158289][ T11] ? __hfsplus_ext_write_extent+0x2a4/0x5b0 [ 69.164212][ T11] ? __might_sleep+0xb0/0xb0 [ 69.168806][ T11] ? wb_writeback+0x49d/0xe10 [ 69.173485][ T11] ? wb_workfn+0x427/0x1020 [ 69.178007][ T11] ? process_one_work+0x8aa/0x11f0 [ 69.183125][ T11] ? worker_thread+0xa5f/0x1210 [ 69.187981][ T11] ? kthread+0x26e/0x300 [ 69.192226][ T11] ? ret_from_fork+0x1f/0x30 [ 69.196839][ T11] __mutex_lock_common+0x1d4/0x2520 [ 69.202219][ T11] ? hfsplus_find_init+0x146/0x1c0 [ 69.207340][ T11] ? hfsplus_find_init+0x146/0x1c0 [ 69.212452][ T11] ? mutex_lock_io_nested+0x60/0x60 [ 69.217657][ T11] ? hfsplus_find_init+0x81/0x1c0 [ 69.222701][ T11] ? rcu_is_watching+0x11/0xb0 [ 69.227476][ T11] ? hfsplus_find_init+0x81/0x1c0 [ 69.232499][ T11] ? __kmalloc+0xe2/0x230 [ 69.236828][ T11] mutex_lock_nested+0x17/0x20 [ 69.241596][ T11] hfsplus_find_init+0x146/0x1c0 [ 69.246539][ T11] hfsplus_file_extend+0x40a/0x1b10 [ 69.251753][ T11] ? hfsplus_get_block+0x14e0/0x14e0 [ 69.257051][ T11] ? rcu_is_watching+0x11/0xb0 [ 69.261824][ T11] ? trace_contention_end+0x61/0x170 [ 69.267116][ T11] ? __mutex_lock_common+0x429/0x2520 [ 69.272519][ T11] ? hfsplus_brec_find+0x199/0x570 [ 69.277638][ T11] hfsplus_bmap_reserve+0x101/0x4e0 [ 69.282846][ T11] __hfsplus_ext_write_extent+0x2a4/0x5b0 [ 69.288573][ T11] hfsplus_ext_write_extent+0x166/0x1f0 [ 69.294137][ T11] ? hfsplus_ext_cmp_key+0x2f0/0x2f0 [ 69.299441][ T11] ? do_raw_spin_lock+0x14a/0x370 [ 69.304475][ T11] hfsplus_write_inode+0x1e/0x5c0 [ 69.309514][ T11] __writeback_single_inode+0x67d/0x11e0 [ 69.315153][ T11] writeback_sb_inodes+0xc21/0x1ac0 [ 69.320369][ T11] ? queue_io+0x630/0x630 [ 69.324704][ T11] ? __writeback_inodes_wb+0x400/0x400 [ 69.330168][ T11] ? queue_io+0x42a/0x630 [ 69.334526][ T11] wb_writeback+0x49d/0xe10 [ 69.339055][ T11] ? rcu_lock_release+0x20/0x20 [ 69.343914][ T11] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 69.349903][ T11] ? do_raw_spin_unlock+0x137/0x8a0 [ 69.355134][ T11] wb_workfn+0x427/0x1020 [ 69.359499][ T11] ? inode_wait_for_writeback+0x280/0x280 [ 69.365242][ T11] ? read_lock_is_recursive+0x10/0x10 [ 69.370618][ T11] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 69.376612][ T11] ? print_irqtrace_events+0x210/0x210 [ 69.382170][ T11] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 69.388250][ T11] ? do_raw_spin_unlock+0x137/0x8a0 [ 69.393457][ T11] process_one_work+0x8aa/0x11f0 [ 69.398428][ T11] ? worker_detach_from_pool+0x260/0x260 [ 69.404093][ T11] ? _raw_spin_lock_irqsave+0x120/0x120 [ 69.409662][ T11] ? kthread_data+0x4e/0xc0 [ 69.414168][ T11] ? wq_worker_running+0x97/0x190 [ 69.419285][ T11] worker_thread+0xa5f/0x1210 [ 69.423975][ T11] kthread+0x26e/0x300 [ 69.428040][ T11] ? rcu_lock_release+0x20/0x20 [ 69.432889][ T11] ? kthread_blkcg+0xd0/0xd0 [ 69.437515][ T11] ret_from_fork+0x1f/0x30 [ 69.441957][ T11]