Warning: Permanently added '10.128.0.66' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 51.389951][ T3499] loop0: detected capacity change from 0 to 1024 [ 51.397968][ T3499] ======================================================= [ 51.397968][ T3499] WARNING: The mand mount option has been deprecated and [ 51.397968][ T3499] and is ignored by this kernel. Remove the mand [ 51.397968][ T3499] option from the mount to silence this warning. [ 51.397968][ T3499] ======================================================= [ 51.481499][ T154] [ 51.483844][ T154] ============================================ [ 51.489979][ T154] WARNING: possible recursive locking detected [ 51.496153][ T154] 5.15.112-syzkaller #0 Not tainted [ 51.501333][ T154] -------------------------------------------- [ 51.507515][ T154] kworker/u4:2/154 is trying to acquire lock: [ 51.513559][ T154] ffff888078b6a0b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfsplus_find_init+0x146/0x1c0 [ 51.523559][ T154] [ 51.523559][ T154] but task is already holding lock: [ 51.531091][ T154] ffff888078b6a0b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfsplus_find_init+0x146/0x1c0 [ 51.540829][ T154] [ 51.540829][ T154] other info that might help us debug this: [ 51.548882][ T154] Possible unsafe locking scenario: [ 51.548882][ T154] [ 51.556711][ T154] CPU0 [ 51.559998][ T154] ---- [ 51.563268][ T154] lock(&tree->tree_lock/1); [ 51.568295][ T154] lock(&tree->tree_lock/1); [ 51.573067][ T154] [ 51.573067][ T154] *** DEADLOCK *** [ 51.573067][ T154] [ 51.581197][ T154] May be due to missing lock nesting notation [ 51.581197][ T154] [ 51.589506][ T154] 5 locks held by kworker/u4:2/154: [ 51.594716][ T154] #0: ffff888014184938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 51.605417][ T154] #1: ffffc900010bfd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 51.617331][ T154] #2: ffff8880157f2988 (&hip->extents_lock){+.+.}-{3:3}, at: hfsplus_ext_write_extent+0x8a/0x1f0 [ 51.627947][ T154] #3: ffff888078b6a0b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfsplus_find_init+0x146/0x1c0 [ 51.638023][ T154] #4: ffff8880157f0108 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x1d2/0x1b10 [ 51.649566][ T154] [ 51.649566][ T154] stack backtrace: [ 51.655430][ T154] CPU: 0 PID: 154 Comm: kworker/u4:2 Not tainted 5.15.112-syzkaller #0 [ 51.663663][ T154] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 [ 51.673698][ T154] Workqueue: writeback wb_workfn (flush-7:0) [ 51.680875][ T154] Call Trace: [ 51.687390][ T154] [ 51.690316][ T154] dump_stack_lvl+0x1e3/0x2cb [ 51.694976][ T154] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 51.700585][ T154] ? panic+0x84d/0x84d [ 51.704643][ T154] validate_chain+0x46cf/0x58b0 [ 51.709494][ T154] ? reacquire_held_locks+0x660/0x660 [ 51.714904][ T154] ? mark_lock+0x98/0x340 [ 51.719610][ T154] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 51.725680][ T154] ? print_irqtrace_events+0x210/0x210 [ 51.731221][ T154] ? mark_lock+0x98/0x340 [ 51.735557][ T154] __lock_acquire+0x1295/0x1ff0 [ 51.740410][ T154] lock_acquire+0x1db/0x4f0 [ 51.744996][ T154] ? hfsplus_find_init+0x146/0x1c0 [ 51.750133][ T154] ? read_lock_is_recursive+0x10/0x10 [ 51.755493][ T154] ? __kmalloc+0x168/0x300 [ 51.759904][ T154] ? hfsplus_file_extend+0x40a/0x1b10 [ 51.765271][ T154] ? __might_sleep+0xc0/0xc0 [ 51.769851][ T154] ? writeback_sb_inodes+0xbf0/0x1a50 [ 51.775382][ T154] ? wb_writeback+0x451/0xc50 [ 51.780194][ T154] ? wb_workfn+0x46c/0x1130 [ 51.784686][ T154] ? process_one_work+0x8a1/0x10c0 [ 51.789781][ T154] ? worker_thread+0xaca/0x1280 [ 51.794611][ T154] ? kthread+0x3f6/0x4f0 [ 51.798835][ T154] ? ret_from_fork+0x1f/0x30 [ 51.803416][ T154] __mutex_lock_common+0x1da/0x25a0 [ 51.808610][ T154] ? hfsplus_find_init+0x146/0x1c0 [ 51.815438][ T154] ? hfsplus_find_init+0x146/0x1c0 [ 51.821579][ T154] ? mutex_lock_io_nested+0x60/0x60 [ 51.826775][ T154] ? hfsplus_find_init+0x81/0x1c0 [ 51.831806][ T154] mutex_lock_nested+0x17/0x20 [ 51.838197][ T154] hfsplus_find_init+0x146/0x1c0 [ 51.844102][ T154] hfsplus_file_extend+0x40a/0x1b10 [ 51.849477][ T154] ? hfsplus_get_block+0x14e0/0x14e0 [ 51.854920][ T154] ? __mutex_lock_common+0x444/0x25a0 [ 51.860380][ T154] ? hfsplus_brec_find+0x199/0x570 [ 51.865496][ T154] hfsplus_bmap_reserve+0x101/0x4e0 [ 51.870692][ T154] __hfsplus_ext_write_extent+0x2a4/0x5b0 [ 51.876408][ T154] hfsplus_ext_write_extent+0x166/0x1f0 [ 51.881956][ T154] ? hfsplus_ext_cmp_key+0x2f0/0x2f0 [ 51.887241][ T154] ? do_raw_spin_lock+0x14a/0x370 [ 51.892262][ T154] hfsplus_write_inode+0x1e/0x5c0 [ 51.897312][ T154] __writeback_single_inode+0x644/0xe30 [ 51.902864][ T154] writeback_sb_inodes+0xbf0/0x1a50 [ 51.908051][ T154] ? queue_io+0x560/0x560 [ 51.912357][ T154] ? __writeback_inodes_wb+0x400/0x400 [ 51.918076][ T154] ? queue_io+0x3d3/0x560 [ 51.928198][ T154] wb_writeback+0x451/0xc50 [ 51.932933][ T154] ? rcu_lock_release+0x20/0x20 [ 51.937932][ T154] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 51.943948][ T154] ? do_raw_spin_unlock+0x137/0x8b0 [ 51.949151][ T154] wb_workfn+0x46c/0x1130 [ 51.953487][ T154] ? mark_lock+0x98/0x340 [ 51.957817][ T154] ? inode_wait_for_writeback+0x280/0x280 [ 51.963537][ T154] ? read_lock_is_recursive+0x10/0x10 [ 51.969015][ T154] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 51.975019][ T154] ? print_irqtrace_events+0x210/0x210 [ 51.980493][ T154] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 51.986374][ T154] ? do_raw_spin_unlock+0x137/0x8b0 [ 51.991555][ T154] process_one_work+0x8a1/0x10c0 [ 51.996606][ T154] ? worker_detach_from_pool+0x260/0x260 [ 52.002338][ T154] ? _raw_spin_lock_irqsave+0x120/0x120 [ 52.008423][ T154] ? kthread_data+0x4e/0xc0 [ 52.013010][ T154] ? wq_worker_running+0x97/0x170 [ 52.018024][ T154] worker_thread+0xaca/0x1280 [ 52.022683][ T154] kthread+0x3f6/0x4f0 [ 52.026729][ T154] ? rcu_lock_release+0x20/0x20 [ 52.031647][ T154] ? kthread_blkcg+0xd0/0xd0 [ 52.036237][ T154] ret_from_fork+0x1f/0x30 [ 52.040635][ T154]