Warning: Permanently added '10.128.0.114' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 59.586364][ T3500] loop0: detected capacity change from 0 to 1024 [ 59.594687][ T3500] ======================================================= [ 59.594687][ T3500] WARNING: The mand mount option has been deprecated and [ 59.594687][ T3500] and is ignored by this kernel. Remove the mand [ 59.594687][ T3500] option from the mount to silence this warning. [ 59.594687][ T3500] ======================================================= [ 59.682025][ T154] [ 59.684416][ T154] ============================================ [ 59.690581][ T154] WARNING: possible recursive locking detected [ 59.696725][ T154] 5.15.112-syzkaller #0 Not tainted [ 59.701924][ T154] -------------------------------------------- [ 59.708069][ T154] kworker/u4:2/154 is trying to acquire lock: [ 59.714150][ T154] ffff888074d900b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfsplus_find_init+0x146/0x1c0 [ 59.723942][ T154] [ 59.723942][ T154] but task is already holding lock: [ 59.732145][ T154] ffff888074d900b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfsplus_find_init+0x146/0x1c0 [ 59.742091][ T154] [ 59.742091][ T154] other info that might help us debug this: [ 59.750948][ T154] Possible unsafe locking scenario: [ 59.750948][ T154] [ 59.758571][ T154] CPU0 [ 59.762084][ T154] ---- [ 59.765558][ T154] lock(&tree->tree_lock/1); [ 59.770674][ T154] lock(&tree->tree_lock/1); [ 59.775386][ T154] [ 59.775386][ T154] *** DEADLOCK *** [ 59.775386][ T154] [ 59.783932][ T154] May be due to missing lock nesting notation [ 59.783932][ T154] [ 59.792630][ T154] 5 locks held by kworker/u4:2/154: [ 59.797841][ T154] #0: ffff8881427dc938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 59.808744][ T154] #1: ffffc90001b9fd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 59.821482][ T154] #2: ffff888071b4a988 (&hip->extents_lock){+.+.}-{3:3}, at: hfsplus_ext_write_extent+0x8a/0x1f0 [ 59.832347][ T154] #3: ffff888074d900b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfsplus_find_init+0x146/0x1c0 [ 59.842979][ T154] #4: ffff888071b48108 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x1d2/0x1b10 [ 59.855853][ T154] [ 59.855853][ T154] stack backtrace: [ 59.862012][ T154] CPU: 1 PID: 154 Comm: kworker/u4:2 Not tainted 5.15.112-syzkaller #0 [ 59.870821][ T154] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 [ 59.881452][ T154] Workqueue: writeback wb_workfn (flush-7:0) [ 59.887872][ T154] Call Trace: [ 59.891312][ T154] [ 59.894699][ T154] dump_stack_lvl+0x1e3/0x2cb [ 59.899599][ T154] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 59.905869][ T154] ? panic+0x84d/0x84d [ 59.910630][ T154] validate_chain+0x46cf/0x58b0 [ 59.916017][ T154] ? reacquire_held_locks+0x660/0x660 [ 59.921749][ T154] ? mark_lock+0x98/0x340 [ 59.926344][ T154] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 59.932619][ T154] ? print_irqtrace_events+0x210/0x210 [ 59.938191][ T154] ? mark_lock+0x98/0x340 [ 59.942626][ T154] __lock_acquire+0x1295/0x1ff0 [ 59.947617][ T154] lock_acquire+0x1db/0x4f0 [ 59.952131][ T154] ? hfsplus_find_init+0x146/0x1c0 [ 59.957252][ T154] ? read_lock_is_recursive+0x10/0x10 [ 59.963161][ T154] ? __kmalloc+0x168/0x300 [ 59.967601][ T154] ? hfsplus_file_extend+0x40a/0x1b10 [ 59.972986][ T154] ? __might_sleep+0xc0/0xc0 [ 59.977587][ T154] ? writeback_sb_inodes+0xbf0/0x1a50 [ 59.982970][ T154] ? wb_writeback+0x451/0xc50 [ 59.988231][ T154] ? wb_workfn+0x46c/0x1130 [ 59.992863][ T154] ? process_one_work+0x8a1/0x10c0 [ 59.998140][ T154] ? worker_thread+0xaca/0x1280 [ 60.003459][ T154] ? kthread+0x3f6/0x4f0 [ 60.007719][ T154] ? ret_from_fork+0x1f/0x30 [ 60.012327][ T154] __mutex_lock_common+0x1da/0x25a0 [ 60.017654][ T154] ? hfsplus_find_init+0x146/0x1c0 [ 60.022789][ T154] ? hfsplus_find_init+0x146/0x1c0 [ 60.027940][ T154] ? mutex_lock_io_nested+0x60/0x60 [ 60.033411][ T154] ? hfsplus_find_init+0x81/0x1c0 [ 60.038449][ T154] mutex_lock_nested+0x17/0x20 [ 60.043307][ T154] hfsplus_find_init+0x146/0x1c0 [ 60.048252][ T154] hfsplus_file_extend+0x40a/0x1b10 [ 60.053587][ T154] ? hfsplus_get_block+0x14e0/0x14e0 [ 60.058888][ T154] ? __mutex_lock_common+0x444/0x25a0 [ 60.064286][ T154] ? hfsplus_brec_find+0x199/0x570 [ 60.069543][ T154] hfsplus_bmap_reserve+0x101/0x4e0 [ 60.074798][ T154] __hfsplus_ext_write_extent+0x2a4/0x5b0 [ 60.080544][ T154] hfsplus_ext_write_extent+0x166/0x1f0 [ 60.086410][ T154] ? hfsplus_ext_cmp_key+0x2f0/0x2f0 [ 60.091708][ T154] ? do_raw_spin_lock+0x14a/0x370 [ 60.096748][ T154] hfsplus_write_inode+0x1e/0x5c0 [ 60.101790][ T154] __writeback_single_inode+0x644/0xe30 [ 60.107349][ T154] writeback_sb_inodes+0xbf0/0x1a50 [ 60.112723][ T154] ? queue_io+0x560/0x560 [ 60.117133][ T154] ? __writeback_inodes_wb+0x400/0x400 [ 60.122598][ T154] ? queue_io+0x3d3/0x560 [ 60.126937][ T154] wb_writeback+0x451/0xc50 [ 60.131584][ T154] ? rcu_lock_release+0x20/0x20 [ 60.136685][ T154] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 60.142686][ T154] ? do_raw_spin_unlock+0x137/0x8b0 [ 60.147886][ T154] wb_workfn+0x46c/0x1130 [ 60.152230][ T154] ? mark_lock+0x98/0x340 [ 60.156668][ T154] ? inode_wait_for_writeback+0x280/0x280 [ 60.162928][ T154] ? read_lock_is_recursive+0x10/0x10 [ 60.168435][ T154] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 60.174451][ T154] ? print_irqtrace_events+0x210/0x210 [ 60.179961][ T154] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 60.185868][ T154] ? do_raw_spin_unlock+0x137/0x8b0 [ 60.191213][ T154] process_one_work+0x8a1/0x10c0 [ 60.196382][ T154] ? worker_detach_from_pool+0x260/0x260 [ 60.202111][ T154] ? _raw_spin_lock_irqsave+0x120/0x120 [ 60.207669][ T154] ? kthread_data+0x4e/0xc0 [ 60.212178][ T154] ? wq_worker_running+0x97/0x170 [ 60.217389][ T154] worker_thread+0xaca/0x1280 [ 60.222070][ T154] kthread+0x3f6/0x4f0 [ 60.226182][ T154] ? rcu_lock_release+0x20/0x20 [ 60.231024][ T154] ? kthread_blkcg+0xd0/0xd0 [ 60.235723][ T154] ret_from_fork+0x1f/0x30 [ 60.240445][ T154]