Warning: Permanently added '10.128.1.59' (ED25519) to the list of known hosts. executing program [ 49.788303][ T3966] loop0: detected capacity change from 0 to 1024 [ 49.826207][ T3966] ======================================================= [ 49.826207][ T3966] WARNING: The mand mount option has been deprecated and [ 49.826207][ T3966] and is ignored by this kernel. Remove the mand [ 49.826207][ T3966] option from the mount to silence this warning. [ 49.826207][ T3966] ======================================================= [ 49.896601][ T345] hfsplus: b-tree write err: -5, ino 3 [ 49.898261][ T345] [ 49.898813][ T345] ============================================ [ 49.900311][ T345] WARNING: possible recursive locking detected [ 49.901667][ T345] 5.15.158-syzkaller #0 Not tainted [ 49.902832][ T345] -------------------------------------------- [ 49.904219][ T345] kworker/u4:4/345 is trying to acquire lock: [ 49.905575][ T345] ffff0000c94a40b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfsplus_find_init+0x144/0x1bc [ 49.907814][ T345] [ 49.907814][ T345] but task is already holding lock: [ 49.909589][ T345] ffff0000c94a40b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfsplus_find_init+0x144/0x1bc [ 49.911894][ T345] [ 49.911894][ T345] other info that might help us debug this: [ 49.913869][ T345] Possible unsafe locking scenario: [ 49.913869][ T345] [ 49.915721][ T345] CPU0 [ 49.916557][ T345] ---- [ 49.917318][ T345] lock(&tree->tree_lock/1); [ 49.918395][ T345] lock(&tree->tree_lock/1); [ 49.919546][ T345] [ 49.919546][ T345] *** DEADLOCK *** [ 49.919546][ T345] [ 49.921562][ T345] May be due to missing lock nesting notation [ 49.921562][ T345] [ 49.923552][ T345] 5 locks held by kworker/u4:4/345: [ 49.924809][ T345] #0: ffff0000c21c8138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 [ 49.927255][ T345] #1: ffff80001a937c00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 [ 49.930046][ T345] #2: ffff0000c9882988 (&hip->extents_lock){+.+.}-{3:3}, at: hfsplus_ext_write_extent+0x8c/0x1d8 [ 49.932468][ T345] #3: ffff0000c94a40b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfsplus_find_init+0x144/0x1bc [ 49.934809][ T345] #4: ffff0000c9880108 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x198/0x14e0 [ 49.937644][ T345] [ 49.937644][ T345] stack backtrace: [ 49.939058][ T345] CPU: 0 PID: 345 Comm: kworker/u4:4 Not tainted 5.15.158-syzkaller #0 [ 49.940983][ T345] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 49.943334][ T345] Workqueue: writeback wb_workfn (flush-7:0) [ 49.944666][ T345] Call trace: [ 49.945456][ T345] dump_backtrace+0x0/0x530 [ 49.946527][ T345] show_stack+0x2c/0x3c [ 49.947535][ T345] dump_stack_lvl+0x108/0x170 [ 49.948682][ T345] dump_stack+0x1c/0x58 [ 49.949646][ T345] __lock_acquire+0x62bc/0x7638 [ 49.950695][ T345] lock_acquire+0x240/0x77c [ 49.951722][ T345] __mutex_lock_common+0x194/0x2154 [ 49.952914][ T345] mutex_lock_nested+0xa4/0xf8 [ 49.954117][ T345] hfsplus_find_init+0x144/0x1bc [ 49.955267][ T345] hfsplus_file_extend+0x364/0x14e0 [ 49.956402][ T345] hfsplus_bmap_reserve+0xec/0x474 [ 49.957588][ T345] __hfsplus_ext_write_extent+0x1e8/0x4bc [ 49.958960][ T345] hfsplus_ext_write_extent+0x158/0x1d8 [ 49.960219][ T345] hfsplus_write_inode+0x34/0x4ec [ 49.961443][ T345] __writeback_single_inode+0x584/0x13a4 [ 49.962800][ T345] writeback_sb_inodes+0x94c/0x1654 [ 49.964075][ T345] wb_writeback+0x3fc/0xfc8 [ 49.965106][ T345] wb_workfn+0x3a4/0x1070 [ 49.966100][ T345] process_one_work+0x790/0x11b8 [ 49.967213][ T345] worker_thread+0x910/0x1034 [ 49.968404][ T345] kthread+0x37c/0x45c [ 49.969319][ T345] ret_from_fork+0x10/0x20