[ 15.401632][ T3891] 8021q: adding VLAN 0 to HW filter on device bond0 [ 15.406697][ T3891] eql: remember to turn off Van-Jacobson compression on your slave devices [ 15.448875][ T56] gvnic 0000:00:00.0 enp0s0: Device link is up. [ 15.451682][ T7] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s0: link becomes ready Starting sshd: OK syzkaller Warning: Permanently added '10.128.1.67' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 37.372353][ T4221] loop0: detected capacity change from 0 to 1024 [ 37.375386][ T4221] ======================================================= [ 37.375386][ T4221] WARNING: The mand mount option has been deprecated and [ 37.375386][ T4221] and is ignored by this kernel. Remove the mand [ 37.375386][ T4221] option from the mount to silence this warning. [ 37.375386][ T4221] ======================================================= [ 37.394551][ T4221] [ 37.395091][ T4221] ====================================================== [ 37.396687][ T4221] WARNING: possible circular locking dependency detected [ 37.398460][ T4221] 6.1.31-syzkaller #0 Not tainted [ 37.399684][ T4221] ------------------------------------------------------ [ 37.401418][ T4221] syz-executor200/4221 is trying to acquire lock: [ 37.402965][ T4221] ffff0000d81140b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x6d0/0x9b8 [ 37.405393][ T4221] [ 37.405393][ T4221] but task is already holding lock: [ 37.407116][ T4221] ffff0000d768a988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x250/0x9b8 [ 37.409818][ T4221] [ 37.409818][ T4221] which lock already depends on the new lock. [ 37.409818][ T4221] [ 37.412351][ T4221] [ 37.412351][ T4221] the existing dependency chain (in reverse order) is: [ 37.414537][ T4221] [ 37.414537][ T4221] -> #1 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}: [ 37.416681][ T4221] __mutex_lock_common+0x190/0x21a0 [ 37.418118][ T4221] mutex_lock_nested+0x38/0x44 [ 37.419452][ T4221] hfsplus_file_extend+0x198/0x14cc [ 37.420799][ T4221] hfsplus_bmap_reserve+0xec/0x474 [ 37.422140][ T4221] hfsplus_create_cat+0x18c/0x1330 [ 37.423483][ T4221] hfsplus_fill_super+0xf60/0x166c [ 37.424716][ T4221] mount_bdev+0x274/0x370 [ 37.425824][ T4221] hfsplus_mount+0x44/0x58 [ 37.426896][ T4221] legacy_get_tree+0xd4/0x16c [ 37.428029][ T4221] vfs_get_tree+0x90/0x274 [ 37.429097][ T4221] do_new_mount+0x25c/0x8c4 [ 37.430267][ T4221] path_mount+0x590/0xe58 [ 37.431430][ T4221] __arm64_sys_mount+0x45c/0x594 [ 37.432728][ T4221] invoke_syscall+0x98/0x2c0 [ 37.433993][ T4221] el0_svc_common+0x138/0x258 [ 37.435363][ T4221] do_el0_svc+0x64/0x218 [ 37.436488][ T4221] el0_svc+0x58/0x168 [ 37.437664][ T4221] el0t_64_sync_handler+0x84/0xf0 [ 37.439058][ T4221] el0t_64_sync+0x18c/0x190 [ 37.440398][ T4221] [ 37.440398][ T4221] -> #0 (&tree->tree_lock){+.+.}-{3:3}: [ 37.442288][ T4221] __lock_acquire+0x3338/0x764c [ 37.443664][ T4221] lock_acquire+0x26c/0x7cc [ 37.444903][ T4221] __mutex_lock_common+0x190/0x21a0 [ 37.446296][ T4221] mutex_lock_nested+0x38/0x44 [ 37.447571][ T4221] hfsplus_file_truncate+0x6d0/0x9b8 [ 37.448988][ T4221] hfsplus_setattr+0x18c/0x25c [ 37.450218][ T4221] notify_change+0xc24/0xec0 [ 37.451437][ T4221] do_truncate+0x1c0/0x28c [ 37.452652][ T4221] vfs_truncate+0x2c4/0x36c [ 37.453931][ T4221] do_sys_truncate+0xec/0x1b4 [ 37.455123][ T4221] __arm64_sys_truncate+0x5c/0x70 [ 37.456469][ T4221] invoke_syscall+0x98/0x2c0 [ 37.457726][ T4221] el0_svc_common+0x138/0x258 [ 37.459042][ T4221] do_el0_svc+0x64/0x218 [ 37.460278][ T4221] el0_svc+0x58/0x168 [ 37.461508][ T4221] el0t_64_sync_handler+0x84/0xf0 [ 37.462867][ T4221] el0t_64_sync+0x18c/0x190 [ 37.464092][ T4221] [ 37.464092][ T4221] other info that might help us debug this: [ 37.464092][ T4221] [ 37.466628][ T4221] Possible unsafe locking scenario: [ 37.466628][ T4221] [ 37.468506][ T4221] CPU0 CPU1 [ 37.469881][ T4221] ---- ---- [ 37.471233][ T4221] lock(&HFSPLUS_I(inode)->extents_lock); [ 37.472577][ T4221] lock(&tree->tree_lock); [ 37.474336][ T4221] lock(&HFSPLUS_I(inode)->extents_lock); [ 37.476308][ T4221] lock(&tree->tree_lock); [ 37.477374][ T4221] [ 37.477374][ T4221] *** DEADLOCK *** [ 37.477374][ T4221] [ 37.479313][ T4221] 3 locks held by syz-executor200/4221: [ 37.480688][ T4221] #0: ffff0000d8012460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 37.482929][ T4221] #1: ffff0000d768ab80 (&sb->s_type->i_mutex_key#17){+.+.}-{3:3}, at: do_truncate+0x1ac/0x28c [ 37.485380][ T4221] #2: ffff0000d768a988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x250/0x9b8 [ 37.488330][ T4221] [ 37.488330][ T4221] stack backtrace: [ 37.489779][ T4221] CPU: 1 PID: 4221 Comm: syz-executor200 Not tainted 6.1.31-syzkaller #0 [ 37.491876][ T4221] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 [ 37.494369][ T4221] Call trace: [ 37.495227][ T4221] dump_backtrace+0x1c8/0x1f4 [ 37.496351][ T4221] show_stack+0x2c/0x3c [ 37.497401][ T4221] dump_stack_lvl+0x108/0x170 [ 37.498550][ T4221] dump_stack+0x1c/0x58 [ 37.499473][ T4221] print_circular_bug+0x150/0x1b8 [ 37.500714][ T4221] check_noncircular+0x2cc/0x378 [ 37.501886][ T4221] __lock_acquire+0x3338/0x764c [ 37.503054][ T4221] lock_acquire+0x26c/0x7cc [ 37.504122][ T4221] __mutex_lock_common+0x190/0x21a0 [ 37.505354][ T4221] mutex_lock_nested+0x38/0x44 [ 37.506514][ T4221] hfsplus_file_truncate+0x6d0/0x9b8 [ 37.507830][ T4221] hfsplus_setattr+0x18c/0x25c [ 37.509028][ T4221] notify_change+0xc24/0xec0 [ 37.510165][ T4221] do_truncate+0x1c0/0x28c [ 37.511293][ T4221] vfs_truncate+0x2c4/0x36c [ 37.512372][ T4221] do_sys_truncate+0xec/0x1b4 [ 37.513605][ T4221] __arm64_sys_truncate+0x5c/0x70 [ 37.514876][ T4221] invoke_syscall+0x98/0x2c0 [ 37.516008][ T4221] el0_svc_common+0x138/0x258 [ 37.517156][ T4221] do_el0_svc+0x64/0x218 [ 37.518178][ T4221] el0_svc+0x58/0x168 [ 37.519128][ T4221] el0t_64_sync_handler+0x84/0xf0 [ 37.520346][ T4221] el0t_64_sync+0x18c/0x190