DUID 00:04:17:4d:40:87:6e:bf:2d:0e:65:92:c1:2a:fb:91:5f:79 forked to background, child pid 3173 [ 22.046743][ T3174] 8021q: adding VLAN 0 to HW filter on device bond0 [ 22.061371][ T3174] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.1.159' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 42.969962][ T3498] loop0: detected capacity change from 0 to 1024 [ 42.995808][ T3498] [ 42.998164][ T3498] ============================================ [ 43.004303][ T3498] WARNING: possible recursive locking detected [ 43.010454][ T3498] 5.15.118-syzkaller #0 Not tainted [ 43.015623][ T3498] -------------------------------------------- [ 43.021742][ T3498] syz-executor837/3498 is trying to acquire lock: [ 43.028134][ T3498] ffff888078909548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x37f/0x14e0 [ 43.038982][ T3498] [ 43.038982][ T3498] but task is already holding lock: [ 43.046317][ T3498] ffff888073438108 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x2e1/0xb80 [ 43.057415][ T3498] [ 43.057415][ T3498] other info that might help us debug this: [ 43.065535][ T3498] Possible unsafe locking scenario: [ 43.065535][ T3498] [ 43.073044][ T3498] CPU0 [ 43.076300][ T3498] ---- [ 43.079551][ T3498] lock(&HFSPLUS_I(inode)->extents_lock); [ 43.085348][ T3498] lock(&HFSPLUS_I(inode)->extents_lock); [ 43.091151][ T3498] [ 43.091151][ T3498] *** DEADLOCK *** [ 43.091151][ T3498] [ 43.099264][ T3498] May be due to missing lock nesting notation [ 43.099264][ T3498] [ 43.107550][ T3498] 6 locks held by syz-executor837/3498: [ 43.113065][ T3498] #0: ffff888078944460 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 [ 43.122169][ T3498] #1: ffff888078909e00 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: do_unlinkat+0x260/0x940 [ 43.132401][ T3498] #2: ffff888073438300 (&sb->s_type->i_mutex_key#15){+.+.}-{3:3}, at: vfs_unlink+0xe0/0x5f0 [ 43.142725][ T3498] #3: ffff88807d2e4198 (&sbi->vh_mutex){+.+.}-{3:3}, at: hfsplus_unlink+0x15d/0x7f0 [ 43.152174][ T3498] #4: ffff888073438108 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x2e1/0xb80 [ 43.163790][ T3498] #5: ffff88807d2e40f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_free+0xb7/0x4f0 [ 43.173757][ T3498] [ 43.173757][ T3498] stack backtrace: [ 43.179615][ T3498] CPU: 1 PID: 3498 Comm: syz-executor837 Not tainted 5.15.118-syzkaller #0 [ 43.188181][ T3498] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 [ 43.198213][ T3498] Call Trace: [ 43.201469][ T3498] [ 43.204376][ T3498] dump_stack_lvl+0x1e3/0x2cb [ 43.209466][ T3498] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 43.215076][ T3498] ? panic+0x84d/0x84d [ 43.219120][ T3498] validate_chain+0x46cf/0x58b0 [ 43.223954][ T3498] ? stack_trace_save+0x113/0x1c0 [ 43.228953][ T3498] ? stack_trace_snprint+0xe0/0xe0 [ 43.234035][ T3498] ? check_noncircular+0x1e1/0x3b0 [ 43.239119][ T3498] ? reacquire_held_locks+0x660/0x660 [ 43.244465][ T3498] ? add_chain_block+0x850/0x850 [ 43.249475][ T3498] ? lockdep_unlock+0x166/0x300 [ 43.254331][ T3498] ? look_up_lock_class+0x77/0x120 [ 43.259524][ T3498] ? register_lock_class+0x100/0x9a0 [ 43.264809][ T3498] ? is_dynamic_key+0x1f0/0x1f0 [ 43.269650][ T3498] ? validate_chain+0x13b7/0x58b0 [ 43.274676][ T3498] ? mark_lock+0x98/0x340 [ 43.279040][ T3498] __lock_acquire+0x1295/0x1ff0 [ 43.284173][ T3498] lock_acquire+0x1db/0x4f0 [ 43.288671][ T3498] ? hfsplus_get_block+0x37f/0x14e0 [ 43.294039][ T3498] ? read_lock_is_recursive+0x10/0x10 [ 43.299394][ T3498] ? __might_sleep+0xc0/0xc0 [ 43.303959][ T3498] ? hfsplus_file_truncate+0x822/0xb80 [ 43.309395][ T3498] ? is_dynamic_key+0x1f0/0x1f0 [ 43.314220][ T3498] ? do_unlinkat+0x49d/0x940 [ 43.318786][ T3498] ? do_syscall_64+0x3d/0xb0 [ 43.323358][ T3498] ? mark_lock+0x98/0x340 [ 43.327699][ T3498] __mutex_lock_common+0x1da/0x25a0 [ 43.332897][ T3498] ? hfsplus_get_block+0x37f/0x14e0 [ 43.338078][ T3498] ? hfsplus_get_block+0x37f/0x14e0 [ 43.343249][ T3498] ? mutex_lock_io_nested+0x60/0x60 [ 43.348426][ T3498] ? lockdep_softirqs_off+0x420/0x420 [ 43.353776][ T3498] mutex_lock_nested+0x17/0x20 [ 43.358515][ T3498] hfsplus_get_block+0x37f/0x14e0 [ 43.363515][ T3498] ? hfsplus_ext_write_extent+0x1f0/0x1f0 [ 43.369206][ T3498] ? do_raw_spin_unlock+0x137/0x8b0 [ 43.374378][ T3498] ? create_empty_buffers+0x5c0/0x6d0 [ 43.379729][ T3498] ? create_page_buffers+0x24b/0x330 [ 43.384985][ T3498] block_read_full_page+0x2f9/0xde0 [ 43.390164][ T3498] ? hfsplus_ext_write_extent+0x1f0/0x1f0 [ 43.395859][ T3498] ? block_is_partially_uptodate+0x2c0/0x2c0 [ 43.401813][ T3498] ? hfsplus_writepage+0x30/0x30 [ 43.406722][ T3498] do_read_cache_page+0x752/0x1040 [ 43.411811][ T3498] hfsplus_block_free+0x120/0x4f0 [ 43.416898][ T3498] hfsplus_free_extents+0x17a/0xae0 [ 43.422081][ T3498] hfsplus_file_truncate+0x822/0xb80 [ 43.427341][ T3498] ? hfsplus_add_extent+0x880/0x880 [ 43.432512][ T3498] ? mutex_lock_io_nested+0x60/0x60 [ 43.437686][ T3498] hfsplus_delete_inode+0x170/0x220 [ 43.442854][ T3498] hfsplus_unlink+0x50d/0x7f0 [ 43.447513][ T3498] ? end_current_label_crit_section+0x147/0x170 [ 43.453741][ T3498] ? hfsplus_link+0x840/0x840 [ 43.458652][ T3498] ? down_write+0x10e/0x170 [ 43.463130][ T3498] ? bpf_lsm_inode_unlink+0x5/0x10 [ 43.468263][ T3498] ? security_inode_unlink+0xca/0x110 [ 43.473609][ T3498] vfs_unlink+0x359/0x5f0 [ 43.477913][ T3498] do_unlinkat+0x49d/0x940 [ 43.482302][ T3498] ? fsnotify_link_count+0xf0/0xf0 [ 43.487386][ T3498] ? strncpy_from_user+0x209/0x370 [ 43.492481][ T3498] __x64_sys_unlink+0x45/0x50 [ 43.497141][ T3498] do_syscall_64+0x3d/0xb0 [ 43.501535][ T3498] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 43.507422][ T3498] RIP: 0033:0x7f4409694789 [ 43.511822][ T3498] 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 [ 43.531429][ T3498] RSP: 002b:00007ffff1392538 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 [ 43.539827][ T3498] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4409694789 [ 43.547785][ T3498] RDX: 00007f4409652e03 RSI: 0000000000000000 RDI: 00000000200001c0 [ 43.555748][ T3498] RBP: 00007f4409654020 R08: 0000000000000643 R09: 0000000000000000 [ 43.564228][ T3498] R10: 00007ffff1392400 R11: 0000000000000246 R12: 00007f44096540b0 [ 43