Warning: Permanently added '10.128.0.175' (ED25519) to the list of known hosts. executing program [ 37.729428][ T4298] loop0: detected capacity change from 0 to 32768 [ 37.742119][ T4298] (syz-executor890,4298,0):ocfs2_block_check_validate:402 ERROR: CRC32 failed: stored: 0xb3775c19, computed 0x2dd1c265. Applying ECC. [ 37.746385][ T4298] (syz-executor890,4298,0):ocfs2_block_check_validate:402 ERROR: CRC32 failed: stored: 0xb3775c19, computed 0x2dd1c265. Applying ECC. [ 37.757071][ T4298] JBD2: Ignoring recovery information on journal [ 37.773916][ T4298] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 37.789477][ T4298] [ 37.790094][ T4298] ====================================================== [ 37.791912][ T4298] WARNING: possible circular locking dependency detected [ 37.793723][ T4298] 6.1.136-syzkaller #0 Not tainted [ 37.795030][ T4298] ------------------------------------------------------ [ 37.796834][ T4298] syz-executor890/4298 is trying to acquire lock: [ 37.798517][ T4298] ffff0000e18d1808 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{3:3}, at: ocfs2_reserve_suballoc_bits+0x12c/0x3cd4 [ 37.802045][ T4298] [ 37.802045][ T4298] but task is already holding lock: [ 37.804161][ T4298] ffff0000e18c86f8 (&oi->ip_xattr_sem){++++}-{3:3}, at: ocfs2_xattr_set+0x32c/0xe98 [ 37.806739][ T4298] [ 37.806739][ T4298] which lock already depends on the new lock. [ 37.806739][ T4298] [ 37.809497][ T4298] [ 37.809497][ T4298] the existing dependency chain (in reverse order) is: [ 37.811893][ T4298] [ 37.811893][ T4298] -> #5 (&oi->ip_xattr_sem){++++}-{3:3}: [ 37.813998][ T4298] down_read+0x64/0x304 [ 37.815259][ T4298] ocfs2_init_acl+0x258/0x5f0 [ 37.816662][ T4298] ocfs2_mknod+0x1168/0x1f18 [ 37.818038][ T4298] ocfs2_create+0x19c/0x4f0 [ 37.819400][ T4298] path_openat+0x112c/0x2680 [ 37.820754][ T4298] do_filp_open+0x174/0x344 [ 37.822079][ T4298] do_sys_openat2+0x128/0x3d8 [ 37.823511][ T4298] __arm64_sys_openat+0x120/0x154 [ 37.824991][ T4298] invoke_syscall+0x98/0x2bc [ 37.826364][ T4298] el0_svc_common+0x138/0x258 [ 37.827765][ T4298] do_el0_svc+0x58/0x13c [ 37.829071][ T4298] el0_svc+0x58/0x138 [ 37.830286][ T4298] el0t_64_sync_handler+0x84/0xf0 [ 37.831779][ T4298] el0t_64_sync+0x18c/0x190 [ 37.833133][ T4298] [ 37.833133][ T4298] -> #4 (jbd2_handle){++++}-{0:0}: [ 37.835105][ T4298] start_this_handle+0xfe0/0x122c [ 37.836594][ T4298] jbd2__journal_start+0x288/0x51c [ 37.838095][ T4298] jbd2_journal_start+0x3c/0x4c [ 37.839508][ T4298] ocfs2_start_trans+0x380/0x6c4 [ 37.840999][ T4298] ocfs2_modify_bh+0xe4/0x43c [ 37.842431][ T4298] ocfs2_local_read_info+0x102c/0x131c [ 37.844028][ T4298] dquot_load_quota_sb+0x6c4/0xa24 [ 37.845545][ T4298] dquot_load_quota_inode+0x274/0x4e4 [ 37.847105][ T4298] ocfs2_enable_quotas+0x17c/0x3b4 [ 37.848624][ T4298] ocfs2_fill_super+0x3060/0x3e98 [ 37.850096][ T4298] mount_bdev+0x264/0x358 [ 37.851405][ T4298] ocfs2_mount+0x44/0x58 [ 37.852665][ T4298] legacy_get_tree+0xd4/0x16c [ 37.854037][ T4298] vfs_get_tree+0x90/0x274 [ 37.855342][ T4298] do_new_mount+0x228/0x810 [ 37.856665][ T4298] path_mount+0x5b4/0xe78 [ 37.857948][ T4298] __arm64_sys_mount+0x49c/0x584 [ 37.859411][ T4298] invoke_syscall+0x98/0x2bc [ 37.860751][ T4298] el0_svc_common+0x138/0x258 [ 37.862199][ T4298] do_el0_svc+0x58/0x13c [ 37.863487][ T4298] el0_svc+0x58/0x138 [ 37.864683][ T4298] el0t_64_sync_handler+0x84/0xf0 [ 37.866153][ T4298] el0t_64_sync+0x18c/0x190 [ 37.867512][ T4298] [ 37.867512][ T4298] -> #3 (&journal->j_trans_barrier){.+.+}-{3:3}: [ 37.869781][ T4298] down_read+0x64/0x304 [ 37.871044][ T4298] ocfs2_start_trans+0x374/0x6c4 [ 37.872511][ T4298] ocfs2_modify_bh+0xe4/0x43c [ 37.873896][ T4298] ocfs2_local_read_info+0x102c/0x131c [ 37.875504][ T4298] dquot_load_quota_sb+0x6c4/0xa24 [ 37.876962][ T4298] dquot_load_quota_inode+0x274/0x4e4 [ 37.878518][ T4298] ocfs2_enable_quotas+0x17c/0x3b4 [ 37.880003][ T4298] ocfs2_fill_super+0x3060/0x3e98 [ 37.881490][ T4298] mount_bdev+0x264/0x358 [ 37.882778][ T4298] ocfs2_mount+0x44/0x58 [ 37.884044][ T4298] legacy_get_tree+0xd4/0x16c [ 37.885415][ T4298] vfs_get_tree+0x90/0x274 [ 37.886745][ T4298] do_new_mount+0x228/0x810 [ 37.888116][ T4298] path_mount+0x5b4/0xe78 [ 37.889446][ T4298] __arm64_sys_mount+0x49c/0x584 [ 37.890920][ T4298] invoke_syscall+0x98/0x2bc [ 37.892298][ T4298] el0_svc_common+0x138/0x258 [ 37.893718][ T4298] do_el0_svc+0x58/0x13c [ 37.894982][ T4298] el0_svc+0x58/0x138 [ 37.896184][ T4298] el0t_64_sync_handler+0x84/0xf0 [ 37.897719][ T4298] el0t_64_sync+0x18c/0x190 [ 37.899085][ T4298] [ 37.899085][ T4298] -> #2 (sb_internal#2){.+.+}-{0:0}: [ 37.901085][ T4298] ocfs2_start_trans+0x20c/0x6c4 [ 37.902632][ T4298] ocfs2_mknod+0xc7c/0x1f18 [ 37.904060][ T4298] ocfs2_create+0x19c/0x4f0 [ 37.905436][ T4298] path_openat+0x112c/0x2680 [ 37.906802][ T4298] do_filp_open+0x174/0x344 [ 37.908147][ T4298] do_sys_openat2+0x128/0x3d8 [ 37.909567][ T4298] __arm64_sys_openat+0x120/0x154 [ 37.911043][ T4298] invoke_syscall+0x98/0x2bc [ 37.912421][ T4298] el0_svc_common+0x138/0x258 [ 37.913784][ T4298] do_el0_svc+0x58/0x13c [ 37.915038][ T4298] el0_svc+0x58/0x138 [ 37.916275][ T4298] el0t_64_sync_handler+0x84/0xf0 [ 37.917817][ T4298] el0t_64_sync+0x18c/0x190 [ 37.919155][ T4298] [ 37.919155][ T4298] -> #1 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6){+.+.}-{3:3}: [ 37.922105][ T4298] down_write+0x5c/0x88 [ 37.923385][ T4298] ocfs2_reserve_local_alloc_bits+0xf8/0x278c [ 37.925188][ T4298] ocfs2_reserve_clusters_with_limit+0x198/0x9e0 [ 37.927018][ T4298] ocfs2_reserve_clusters+0x3c/0x50 [ 37.928546][ T4298] ocfs2_mknod+0xc2c/0x1f18 [ 37.929886][ T4298] ocfs2_create+0x19c/0x4f0 [ 37.931268][ T4298] path_openat+0x112c/0x2680 [ 37.932832][ T4298] do_filp_open+0x174/0x344 [ 37.934162][ T4298] do_sys_openat2+0x128/0x3d8 [ 37.935614][ T4298] __arm64_sys_openat+0x120/0x154 [ 37.937155][ T4298] invoke_syscall+0x98/0x2bc [ 37.938520][ T4298] el0_svc_common+0x138/0x258 [ 37.939885][ T4298] do_el0_svc+0x58/0x13c [ 37.941179][ T4298] el0_svc+0x58/0x138 [ 37.942390][ T4298] el0t_64_sync_handler+0x84/0xf0 [ 37.943860][ T4298] el0t_64_sync+0x18c/0x190 [ 37.945223][ T4298] [ 37.945223][ T4298] -> #0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{3:3}: [ 37.948088][ T4298] __lock_acquire+0x293c/0x6544 [ 37.949571][ T4298] lock_acquire+0x20c/0x644 [ 37.950912][ T4298] down_write+0x5c/0x88 [ 37.952184][ T4298] ocfs2_reserve_suballoc_bits+0x12c/0x3cd4 [ 37.953996][ T4298] ocfs2_reserve_new_metadata_blocks+0x368/0x810 [ 37.955953][ T4298] ocfs2_init_xattr_set_ctxt+0x300/0x7bc [ 37.957582][ T4298] ocfs2_xattr_set+0x91c/0xe98 [ 37.959016][ T4298] ocfs2_set_acl+0x3ec/0x4a0 [ 37.960506][ T4298] ocfs2_iop_set_acl+0x174/0x240 [ 37.961948][ T4298] posix_acl_xattr_set+0x2f8/0x398 [ 37.963518][ T4298] __vfs_setxattr+0x388/0x3a4 [ 37.964938][ T4298] __vfs_setxattr_noperm+0x120/0x564 [ 37.966521][ T4298] __vfs_setxattr_locked+0x1ec/0x218 [ 37.968059][ T4298] vfs_setxattr+0x158/0x2ac [ 37.969484][ T4298] setxattr+0x228/0x28c [ 37.970740][ T4298] path_setxattr+0x12c/0x25c [ 37.972093][ T4298] __arm64_sys_setxattr+0xbc/0xd8 [ 37.973622][ T4298] invoke_syscall+0x98/0x2bc [ 37.974968][ T4298] el0_svc_common+0x138/0x258 [ 37.976374][ T4298] do_el0_svc+0x58/0x13c [ 37.977696][ T4298] el0_svc+0x58/0x138 [ 37.978975][ T4298] el0t_64_sync_handler+0x84/0xf0 [ 37.980580][ T4298] el0t_64_sync+0x18c/0x190 [ 37.981987][ T4298] [ 37.981987][ T4298] other info that might help us debug this: [ 37.981987][ T4298] [ 37.984820][ T4298] Chain exists of: [ 37.984820][ T4298] &ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5 --> jbd2_handle --> &oi->ip_xattr_sem [ 37.984820][ T4298] [ 37.989396][ T4298] Possible unsafe locking scenario: [ 37.989396][ T4298] [ 37.991413][ T4298] CPU0 CPU1 [ 37.992798][ T4298] ---- ---- [ 37.994226][ T4298] lock(&oi->ip_xattr_sem); [ 37.995618][ T4298] lock(jbd2_handle); [ 37.997428][ T4298] lock(&oi->ip_xattr_sem); [ 37.999418][ T4298] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5); [ 38.001467][ T4298] [ 38.001467][ T4298] *** DEADLOCK *** [ 38.001467][ T4298] [ 38.003655][ T4298] 3 locks held by syz-executor890/4298: [ 38.005245][ T4298] #0: ffff0000d78fa460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 38.007717][ T4298] #1: ffff0000e18c89c8 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: vfs_setxattr+0x138/0x2ac [ 38.010618][ T4298] #2: ffff0000e18c86f8 (&oi->ip_xattr_sem){++++}-{3:3}, at: ocfs2_xattr_set+0x32c/0xe98 [ 38.013294][ T4298] [ 38.013294][ T4298] stack backtrace: [ 38.014889][ T4298] CPU: 0 PID: 4298 Comm: syz-executor890 Not tainted 6.1.136-syzkaller #0 [ 38.017196][ T4298] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 38.019932][ T4298] Call trace: [ 38.020815][ T4298] dump_backtrace+0x1c8/0x1f4 [ 38.022110][ T4298] show_stack+0x2c/0x3c [ 38.023222][ T4298] __dump_stack+0x30/0x40 [ 38.024438][ T4298] dump_stack_lvl+0xf8/0x160 [ 38.025660][ T4298] dump_stack+0x1c/0x5c [ 38.026779][ T4298] print_circular_bug+0x148/0x1b0 [ 38.028147][ T4298] check_noncircular+0x240/0x2d4 [ 38.029522][ T4298] __lock_acquire+0x293c/0x6544 [ 38.030870][ T4298] lock_acquire+0x20c/0x644 [ 38.032123][ T4298] down_write+0x5c/0x88 [ 38.033241][ T4298] ocfs2_reserve_suballoc_bits+0x12c/0x3cd4 [ 38.034849][ T4298] ocfs2_reserve_new_metadata_blocks+0x368/0x810 [ 38.036572][ T4298] ocfs2_init_xattr_set_ctxt+0x300/0x7bc [ 38.038186][ T4298] ocfs2_xattr_set+0x91c/0xe98 [ 38.039511][ T4298] ocfs2_set_acl+0x3ec/0x4a0 [ 38.040780][ T4298] ocfs2_iop_set_acl+0x174/0x240 [ 38.042240][ T4298] posix_acl_xattr_set+0x2f8/0x398 [ 38.043659][ T4298] __vfs_setxattr+0x388/0x3a4 [ 38.044955][ T4298] __vfs_setxattr_noperm+0x120/0x564 [ 38.046376][ T4298] __vfs_setxattr_locked+0x1ec/0x218 [ 38.047815][ T4298] vfs_setxattr+0x158/0x2ac [ 38.049088][ T4298] setxattr+0x228/0x28c [ 38.050265][ T4298] path_setxattr+0x12c/0x25c [ 38.051533][ T4298] __arm64_sys_setxattr+0xbc/0xd8 [ 38.052911][ T4298] invoke_syscall+0x98/0x2bc [ 38.054192][ T4298] el0_svc_common+0x138/0x258 [ 38.055468][ T4298] do_el0_svc+0x58/0x13c [ 38.056667][ T4298] el0_svc+0x58/0x138 [ 38.057732][ T4298] el0t_64_sync_handler+0x84/0xf0 [ 38.059096][ T4298] el0t_64_sync+0x18c/0x190 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program