Warning: Permanently added '10.128.0.72' (ED25519) to the list of known hosts. executing program [ 57.153069][ T4166] loop0: detected capacity change from 0 to 1024 [ 57.200450][ T4166] ======================================================= [ 57.200450][ T4166] WARNING: The mand mount option has been deprecated and [ 57.200450][ T4166] and is ignored by this kernel. Remove the mand [ 57.200450][ T4166] option from the mount to silence this warning. [ 57.200450][ T4166] ======================================================= [ 57.299607][ T4166] [ 57.301972][ T4166] ============================================ [ 57.308123][ T4166] WARNING: possible recursive locking detected [ 57.314280][ T4166] 5.15.184-syzkaller #0 Not tainted [ 57.319461][ T4166] -------------------------------------------- [ 57.325593][ T4166] syz-executor245/4166 is trying to acquire lock: [ 57.331988][ T4166] ffff888079901548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x39b/0x1530 [ 57.343041][ T4166] [ 57.343041][ T4166] but task is already holding lock: [ 57.350390][ T4166] ffff888079ad8e88 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x2a0/0xb40 [ 57.361507][ T4166] [ 57.361507][ T4166] other info that might help us debug this: [ 57.369547][ T4166] Possible unsafe locking scenario: [ 57.369547][ T4166] [ 57.376979][ T4166] CPU0 [ 57.380242][ T4166] ---- [ 57.383504][ T4166] lock(&HFSPLUS_I(inode)->extents_lock); [ 57.389295][ T4166] lock(&HFSPLUS_I(inode)->extents_lock); [ 57.395083][ T4166] [ 57.395083][ T4166] *** DEADLOCK *** [ 57.395083][ T4166] [ 57.403216][ T4166] May be due to missing lock nesting notation [ 57.403216][ T4166] [ 57.411516][ T4166] 4 locks held by syz-executor245/4166: [ 57.417110][ T4166] #0: ffff88801abce460 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 [ 57.426263][ T4166] #1: ffff888079ad9080 (&sb->s_type->i_mutex_key#15){+.+.}-{3:3}, at: do_truncate+0x183/0x220 [ 57.436617][ T4166] #2: ffff888079ad8e88 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x2a0/0xb40 [ 57.448182][ T4166] #3: ffff888079c978f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_free+0xc1/0x4d0 [ 57.458698][ T4166] [ 57.458698][ T4166] stack backtrace: [ 57.464580][ T4166] CPU: 0 PID: 4166 Comm: syz-executor245 Not tainted 5.15.184-syzkaller #0 [ 57.473152][ T4166] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 57.483289][ T4166] Call Trace: [ 57.486556][ T4166] [ 57.489473][ T4166] dump_stack_lvl+0x168/0x230 [ 57.494154][ T4166] ? show_regs_print_info+0x20/0x20 [ 57.499337][ T4166] ? load_image+0x3b0/0x3b0 [ 57.503830][ T4166] __lock_acquire+0x1227/0x7c60 [ 57.508677][ T4166] ? stack_trace_save+0x98/0xe0 [ 57.513509][ T4166] ? verify_lock_unused+0x140/0x140 [ 57.518695][ T4166] ? check_noncircular+0x16f/0x310 [ 57.523877][ T4166] ? add_chain_block+0x940/0x940 [ 57.528799][ T4166] ? lockdep_unlock+0x134/0x2d0 [ 57.533740][ T4166] ? lockdep_lock+0x1e0/0x1e0 [ 57.538406][ T4166] lock_acquire+0x197/0x3f0 [ 57.542895][ T4166] ? hfsplus_get_block+0x39b/0x1530 [ 57.548078][ T4166] ? __might_sleep+0xf0/0xf0 [ 57.552658][ T4166] ? read_lock_is_recursive+0x10/0x10 [ 57.558015][ T4166] ? hfsplus_file_truncate+0x745/0xb40 [ 57.563460][ T4166] ? do_truncate+0x197/0x220 [ 57.568046][ T4166] ? __x64_sys_open+0x11b/0x140 [ 57.572883][ T4166] ? do_syscall_64+0x4c/0xa0 [ 57.577467][ T4166] ? hfsplus_get_block+0x39b/0x1530 [ 57.582670][ T4166] __mutex_lock_common+0x1eb/0x2390 [ 57.587856][ T4166] ? hfsplus_get_block+0x39b/0x1530 [ 57.593046][ T4166] ? mutex_lock_io_nested+0x60/0x60 [ 57.598229][ T4166] ? lockdep_init_map_type+0x9d/0x850 [ 57.603589][ T4166] ? slab_post_alloc_hook+0x68/0x380 [ 57.608860][ T4166] mutex_lock_nested+0x17/0x20 [ 57.613611][ T4166] hfsplus_get_block+0x39b/0x1530 [ 57.618625][ T4166] ? hfsplus_ext_write_extent+0x200/0x200 [ 57.624328][ T4166] ? do_raw_spin_unlock+0x11d/0x230 [ 57.629509][ T4166] ? create_page_buffers+0x238/0x320 [ 57.634780][ T4166] block_read_full_page+0x2e8/0xd10 [ 57.639982][ T4166] ? hfsplus_ext_write_extent+0x200/0x200 [ 57.645689][ T4166] ? block_is_partially_uptodate+0x2d0/0x2d0 [ 57.651659][ T4166] ? add_to_page_cache_lru+0x2a8/0x4a0 [ 57.657104][ T4166] ? hfsplus_writepage+0x30/0x30 [ 57.662045][ T4166] do_read_cache_page+0x8a1/0x1030 [ 57.667258][ T4166] hfsplus_block_free+0x125/0x4d0 [ 57.672278][ T4166] hfsplus_free_extents+0x176/0xac0 [ 57.677470][ T4166] hfsplus_file_truncate+0x745/0xb40 [ 57.682849][ T4166] ? __lock_acquire+0x7c60/0x7c60 [ 57.687890][ T4166] ? preempt_count_add+0x8d/0x190 [ 57.692899][ T4166] ? hfsplus_add_extent+0x890/0x890 [ 57.698085][ T4166] ? up_write+0x1bb/0x420 [ 57.702405][ T4166] ? unmap_mapping_range+0xc8/0x100 [ 57.707590][ T4166] hfsplus_setattr+0x1c0/0x280 [ 57.712338][ T4166] ? hfsplus_write_failed+0x90/0x90 [ 57.717528][ T4166] notify_change+0xbcd/0xee0 [ 57.722117][ T4166] do_truncate+0x197/0x220 [ 57.726519][ T4166] ? aa_get_task_label+0x21c/0x2c0 [ 57.731705][ T4166] ? rcu_lock_release+0x20/0x20 [ 57.736547][ T4166] ? ima_bprm_check+0x1f0/0x1f0 [ 57.741386][ T4166] ? bpf_lsm_path_truncate+0x5/0x10 [ 57.746575][ T4166] path_openat+0x28af/0x2f30 [ 57.751163][ T4166] ? do_filp_open+0x3e0/0x3e0 [ 57.756004][ T4166] do_filp_open+0x1b3/0x3e0 [ 57.760666][ T4166] ? vfs_tmpfile+0x300/0x300 [ 57.765263][ T4166] ? _raw_spin_unlock+0x24/0x40 [ 57.770100][ T4166] ? alloc_fd+0x598/0x630 [ 57.774417][ T4166] do_sys_openat2+0x142/0x4a0 [ 57.779084][ T4166] ? do_sys_open+0xe0/0xe0 [ 57.783483][ T4166] ? lockdep_hardirqs_on_prepare+0x3fc/0x760 [ 57.789449][ T4166] ? lock_chain_count+0x20/0x20 [ 57.794314][ T4166] ? vtime_user_exit+0x2dc/0x400 [ 57.799242][ T4166] __x64_sys_open+0x11b/0x140 [ 57.804000][ T4166] do_syscall_64+0x4c/0xa0 [ 57.808400][ T4166] ? clear_bhb_loop+0x30/0x80 [ 57.813320][ T4166] ? clear_bhb_loop+0x30/0x80 [ 57.817980][ T4166] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 57.823860][ T4166] RIP: 0033:0x7f8abb8b6679 [ 57.828264][ T4166] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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 b8 ff ff ff f7 d8 64 89 01 48 [ 57.847854][ T4166] RSP: 002b:00007ffcb3c11558 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 [ 57.856608][ T4166] RAX: ffffffffffffffda RBX: 00007ffcb3c11738 RCX: 00007f8abb8b6679 [ 57.864567][ T4166] RDX: 0000000000000054 RSI: 0000000000000200 RDI: 00002000000001c0 [ 57.872521][ T4166] RBP: 00007f8abb929610 R08: 0000000000000658 R09: 0000000000000000 [ 57.880479][ T4166] R10: 00007ffcb3c11420 R11: 0000000000000246 R12: 0000000000000001 [ 57.888452][ T4166] R13: 00007ffcb3c11728 R14: 0000000000000001 R15: 0000000000000001 [ 57.896413][ T4166] [ 57.901169][