[ 15.442018][ T3892] 8021q: adding VLAN 0 to HW filter on device bond0 [ 15.445134][ T3892] eql: remember to turn off Van-Jacobson compression on your slave devices [ 15.491792][ T39] gvnic 0000:00:00.0 enp0s0: Device link is up. [ 15.496141][ T7] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s0: link becomes ready Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.27' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 36.431908][ T4223] loop0: detected capacity change from 0 to 1024 [ 36.434706][ T4223] ======================================================= [ 36.434706][ T4223] WARNING: The mand mount option has been deprecated and [ 36.434706][ T4223] and is ignored by this kernel. Remove the mand [ 36.434706][ T4223] option from the mount to silence this warning. [ 36.434706][ T4223] ======================================================= [ 36.451160][ T4223] [ 36.451721][ T4223] ============================================ [ 36.452931][ T4223] WARNING: possible recursive locking detected [ 36.454289][ T4223] 6.1.27-syzkaller #0 Not tainted [ 36.455222][ T4223] -------------------------------------------- [ 36.456487][ T4223] syz-executor137/4223 is trying to acquire lock: [ 36.457798][ T4223] ffff0000d7dc9548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x2c4/0x1168 [ 36.460196][ T4223] [ 36.460196][ T4223] but task is already holding lock: [ 36.461816][ T4223] ffff0000d7dca988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x250/0x9b8 [ 36.464086][ T4223] [ 36.464086][ T4223] other info that might help us debug this: [ 36.465772][ T4223] Possible unsafe locking scenario: [ 36.465772][ T4223] [ 36.467385][ T4223] CPU0 [ 36.468082][ T4223] ---- [ 36.468776][ T4223] lock(&HFSPLUS_I(inode)->extents_lock); [ 36.469994][ T4223] lock(&HFSPLUS_I(inode)->extents_lock); [ 36.471264][ T4223] [ 36.471264][ T4223] *** DEADLOCK *** [ 36.471264][ T4223] [ 36.473065][ T4223] May be due to missing lock nesting notation [ 36.473065][ T4223] [ 36.474948][ T4223] 4 locks held by syz-executor137/4223: [ 36.476104][ T4223] #0: ffff0000d8050460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 36.478037][ T4223] #1: ffff0000d7dcab80 (&sb->s_type->i_mutex_key#17){+.+.}-{3:3}, at: do_truncate+0x1ac/0x28c [ 36.480276][ T4223] #2: ffff0000d7dca988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x250/0x9b8 [ 36.482798][ T4223] #3: ffff0000d4b6f8f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_free+0xcc/0x4b0 [ 36.485006][ T4223] [ 36.485006][ T4223] stack backtrace: [ 36.486293][ T4223] CPU: 1 PID: 4223 Comm: syz-executor137 Not tainted 6.1.27-syzkaller #0 [ 36.488135][ T4223] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 36.490237][ T4223] Call trace: [ 36.490914][ T4223] dump_backtrace+0x1c8/0x1f4 [ 36.491908][ T4223] show_stack+0x2c/0x3c [ 36.492813][ T4223] dump_stack_lvl+0x108/0x170 [ 36.493774][ T4223] dump_stack+0x1c/0x5c [ 36.494660][ T4223] __lock_acquire+0x6310/0x764c [ 36.495875][ T4223] lock_acquire+0x26c/0x7cc [ 36.496852][ T4223] __mutex_lock_common+0x190/0x21a0 [ 36.498006][ T4223] mutex_lock_nested+0x38/0x44 [ 36.499015][ T4223] hfsplus_get_block+0x2c4/0x1168 [ 36.500094][ T4223] block_read_full_folio+0x2f4/0x98c [ 36.501234][ T4223] hfsplus_read_folio+0x28/0x38 [ 36.502277][ T4223] filemap_read_folio+0x14c/0x39c [ 36.503368][ T4223] do_read_cache_folio+0x24c/0x544 [ 36.504380][ T4223] read_cache_page+0x6c/0x180 [ 36.505383][ T4223] hfsplus_block_free+0x11c/0x4b0 [ 36.506462][ T4223] hfsplus_free_extents+0x148/0x8d4 [ 36.507581][ T4223] hfsplus_file_truncate+0x698/0x9b8 [ 36.508730][ T4223] hfsplus_setattr+0x18c/0x25c [ 36.509773][ T4223] notify_change+0xc24/0xec0 [ 36.510868][ T4223] do_truncate+0x1c0/0x28c [ 36.511821][ T4223] vfs_truncate+0x2c4/0x36c [ 36.512801][ T4223] do_sys_truncate+0xec/0x1b4 [ 36.513797][ T4223] __arm64_sys_truncate+0x5c/0x70 [ 36.514878][ T4223] invoke_syscall+0x98/0x2c0 [ 36.515877][ T4223] el0_svc_common+0x138/0x258 [ 36.516864][ T4223] do_el0_svc+0x64/0x218 [ 36.517796][ T4223] el0_svc+0x58/0x168 [ 36.518638][ T4223] el0t_64_sync_handler+0x84/0xf0 [ 36.519723][ T4223] el0t_64_sync+0x18c/0x190 [ 36.521668][ T4223] hfsplus: unable to mark blocks free: error -5 [ 36.523067][ T4223] hfsplus: can't free extent