DUID 00:04:4b:a6:d8:97:08:21:27:2e:fd:cf:3e:39:f6:c0:7f:1f forked to background, child pid 3213 [ 36.615760][ T3214] 8021q: adding VLAN 0 to HW filter on device bond0 [ 36.636962][ T3214] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.62' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 62.746994][ T3543] loop0: detected capacity change from 0 to 1024 [ 62.769148][ T3543] [ 62.771527][ T3543] ============================================ [ 62.777784][ T3543] WARNING: possible recursive locking detected [ 62.783957][ T3543] 6.1.35-syzkaller #0 Not tainted [ 62.788998][ T3543] -------------------------------------------- [ 62.795336][ T3543] syz-executor397/3543 is trying to acquire lock: [ 62.801750][ T3543] ffff888074661548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x37f/0x14e0 [ 62.812637][ T3543] [ 62.812637][ T3543] but task is already holding lock: [ 62.819993][ T3543] ffff8880746622c8 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x2d6/0xb40 [ 62.831135][ T3543] [ 62.831135][ T3543] other info that might help us debug this: [ 62.839186][ T3543] Possible unsafe locking scenario: [ 62.839186][ T3543] [ 62.846627][ T3543] CPU0 [ 62.849895][ T3543] ---- [ 62.853167][ T3543] lock(&HFSPLUS_I(inode)->extents_lock); [ 62.858968][ T3543] lock(&HFSPLUS_I(inode)->extents_lock); [ 62.864772][ T3543] [ 62.864772][ T3543] *** DEADLOCK *** [ 62.864772][ T3543] [ 62.872904][ T3543] May be due to missing lock nesting notation [ 62.872904][ T3543] [ 62.881220][ T3543] 6 locks held by syz-executor397/3543: [ 62.886758][ T3543] #0: ffff8880745f2460 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 [ 62.895913][ T3543] #1: ffff888074661e00 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: do_unlinkat+0x260/0x940 [ 62.906279][ T3543] #2: ffff8880746624c0 (&sb->s_type->i_mutex_key#15){+.+.}-{3:3}, at: vfs_unlink+0xe0/0x5f0 [ 62.916465][ T3543] #3: ffff88807cf36998 (&sbi->vh_mutex){+.+.}-{3:3}, at: hfsplus_unlink+0x15d/0x7f0 [ 62.925949][ T3543] #4: ffff8880746622c8 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x2d6/0xb40 [ 62.937524][ T3543] #5: ffff88807cf368f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_free+0xb7/0x4d0 [ 62.947532][ T3543] [ 62.947532][ T3543] stack backtrace: [ 62.953415][ T3543] CPU: 1 PID: 3543 Comm: syz-executor397 Not tainted 6.1.35-syzkaller #0 [ 62.961819][ T3543] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 [ 62.972214][ T3543] Call Trace: [ 62.975490][ T3543] [ 62.978415][ T3543] dump_stack_lvl+0x1e3/0x2cb [ 62.983106][ T3543] ? nf_tcp_handle_invalid+0x642/0x642 [ 62.988654][ T3543] ? panic+0x75d/0x75d [ 62.992731][ T3543] validate_chain+0x4726/0x58e0 [ 62.997585][ T3543] ? stack_trace_snprint+0xe0/0xe0 [ 63.002690][ T3543] ? check_noncircular+0x1e3/0x3b0 [ 63.007813][ T3543] ? reacquire_held_locks+0x660/0x660 [ 63.013178][ T3543] ? add_chain_block+0x850/0x850 [ 63.018115][ T3543] ? lockdep_unlock+0x165/0x300 [ 63.022969][ T3543] ? lockdep_lock+0x2a0/0x2a0 [ 63.027646][ T3543] ? look_up_lock_class+0x77/0x140 [ 63.032751][ T3543] ? register_lock_class+0x100/0x990 [ 63.038032][ T3543] ? validate_chain+0x13d1/0x58e0 [ 63.043052][ T3543] ? is_dynamic_key+0x1f0/0x1f0 [ 63.047900][ T3543] ? mark_lock+0x9a/0x340 [ 63.052226][ T3543] __lock_acquire+0x125b/0x1f80 [ 63.057079][ T3543] lock_acquire+0x1f8/0x5a0 [ 63.061665][ T3543] ? hfsplus_get_block+0x37f/0x14e0 [ 63.066958][ T3543] ? read_lock_is_recursive+0x10/0x10 [ 63.072328][ T3543] ? __might_sleep+0xb0/0xb0 [ 63.076917][ T3543] ? vfs_unlink+0x359/0x5f0 [ 63.081439][ T3543] ? is_dynamic_key+0x1f0/0x1f0 [ 63.086284][ T3543] ? entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 63.092355][ T3543] ? mark_lock+0x9a/0x340 [ 63.096682][ T3543] __mutex_lock_common+0x1d4/0x2520 [ 63.101886][ T3543] ? hfsplus_get_block+0x37f/0x14e0 [ 63.107091][ T3543] ? hfsplus_get_block+0x37f/0x14e0 [ 63.112301][ T3543] ? mutex_lock_io_nested+0x60/0x60 [ 63.117511][ T3543] mutex_lock_nested+0x17/0x20 [ 63.122276][ T3543] hfsplus_get_block+0x37f/0x14e0 [ 63.127310][ T3543] ? hfsplus_ext_write_extent+0x1f0/0x1f0 [ 63.133125][ T3543] ? do_raw_spin_unlock+0x137/0x8a0 [ 63.138329][ T3543] ? create_page_buffers+0x24e/0x4b0 [ 63.143724][ T3543] block_read_full_folio+0x403/0xf60 [ 63.149119][ T3543] ? hfsplus_ext_write_extent+0x1f0/0x1f0 [ 63.154865][ T3543] ? block_is_partially_uptodate+0x590/0x590 [ 63.160850][ T3543] ? folio_add_lru+0xa80/0xa80 [ 63.165621][ T3543] ? folio_add_lru+0x42e/0xa80 [ 63.170475][ T3543] filemap_read_folio+0x199/0x780 [ 63.175504][ T3543] ? filemap_add_folio+0x570/0x570 [ 63.180619][ T3543] ? hfsplus_writepage+0x30/0x30 [ 63.185560][ T3543] ? maybe_unlock_mmap_for_io+0x130/0x130 [ 63.191281][ T3543] ? __mutex_lock_common+0x429/0x2520 [ 63.196656][ T3543] ? mutex_lock_io_nested+0x60/0x60 [ 63.201860][ T3543] do_read_cache_folio+0x2ee/0x810 [ 63.206995][ T3543] ? hfsplus_writepage+0x30/0x30 [ 63.211945][ T3543] do_read_cache_page+0x32/0x220 [ 63.216889][ T3543] hfsplus_block_free+0x124/0x4d0 [ 63.221914][ T3543] hfsplus_free_extents+0x17a/0xae0 [ 63.227150][ T3543] hfsplus_file_truncate+0x7cc/0xb40 [ 63.232447][ T3543] ? hfsplus_add_extent+0x880/0x880 [ 63.237654][ T3543] ? mutex_lock_io_nested+0x60/0x60 [ 63.242871][ T3543] hfsplus_delete_inode+0x170/0x220 [ 63.248252][ T3543] hfsplus_unlink+0x50d/0x7f0 [ 63.252942][ T3543] ? read_lock_is_recursive+0x10/0x10 [ 63.258330][ T3543] ? hfsplus_link+0x840/0x840 [ 63.263006][ T3543] ? clear_nonspinnable+0x60/0x60 [ 63.268054][ T3543] ? bpf_lsm_inode_unlink+0x5/0x10 [ 63.273184][ T3543] ? security_inode_unlink+0xca/0x110 [ 63.278579][ T3543] vfs_unlink+0x359/0x5f0 [ 63.282937][ T3543] do_unlinkat+0x49d/0x940 [ 63.287366][ T3543] ? fsnotify_link_count+0xf0/0xf0 [ 63.292512][ T3543] __x64_sys_unlink+0x45/0x50 [ 63.297205][ T3543] do_syscall_64+0x3d/0xb0 [ 63.301628][ T3543] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 63.307547][ T3543] RIP: 0033:0x7fae41ef3789 [ 63.311961][ T3543] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 00 00 90 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 c0 ff ff ff f7 d8 64 89 01 48 [ 63.331589][ T3543] RSP: 002b:00007fff896dd2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 [ 63.340095][ T3543] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fae41ef3789 [ 63.348169][ T