Warning: Permanently added '10.128.10.16' (ED25519) to the list of known hosts. executing program [ 59.570870][ T4162] loop0: detected capacity change from 0 to 32768 [ 59.613598][ T4162] ======================================================= [ 59.613598][ T4162] WARNING: The mand mount option has been deprecated and [ 59.613598][ T4162] and is ignored by this kernel. Remove the mand [ 59.613598][ T4162] option from the mount to silence this warning. [ 59.613598][ T4162] ======================================================= [ 59.699923][ T4162] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 59.721455][ T4162] [ 59.723827][ T4162] ====================================================== [ 59.730857][ T4162] WARNING: possible circular locking dependency detected [ 59.737873][ T4162] 5.15.178-syzkaller #0 Not tainted [ 59.743066][ T4162] ------------------------------------------------------ [ 59.750078][ T4162] syz-executor273/4162 is trying to acquire lock: [ 59.756495][ T4162] ffff8880753c6d88 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3){+.+.}-{3:3}, at: ocfs2_reserve_suballoc_bits+0x18e/0x4c70 [ 59.769839][ T4162] [ 59.769839][ T4162] but task is already holding lock: [ 59.777209][ T4162] ffff8880753cbff8 (&oi->ip_xattr_sem){++++}-{3:3}, at: ocfs2_xattr_set+0x62f/0x1930 [ 59.786694][ T4162] [ 59.786694][ T4162] which lock already depends on the new lock. [ 59.786694][ T4162] [ 59.797092][ T4162] [ 59.797092][ T4162] the existing dependency chain (in reverse order) is: [ 59.806094][ T4162] [ 59.806094][ T4162] -> #5 (&oi->ip_xattr_sem){++++}-{3:3}: [ 59.813901][ T4162] lock_acquire+0x1db/0x4f0 [ 59.818917][ T4162] down_read+0x45/0x2e0 [ 59.823595][ T4162] ocfs2_init_acl+0x398/0x930 [ 59.828792][ T4162] ocfs2_mknod+0x1e8f/0x2cd0 [ 59.833901][ T4162] ocfs2_mkdir+0x194/0x430 [ 59.838829][ T4162] vfs_mkdir+0x3b6/0x590 [ 59.843583][ T4162] do_mkdirat+0x260/0x520 [ 59.848437][ T4162] __x64_sys_mkdir+0x6a/0x80 [ 59.853535][ T4162] do_syscall_64+0x3b/0xb0 [ 59.858464][ T4162] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 59.864868][ T4162] [ 59.864868][ T4162] -> #4 (jbd2_handle){.+.+}-{0:0}: [ 59.872158][ T4162] lock_acquire+0x1db/0x4f0 [ 59.877185][ T4162] start_this_handle+0x12e1/0x1570 [ 59.882806][ T4162] jbd2__journal_start+0x2d1/0x5c0 [ 59.888425][ T4162] jbd2_journal_start+0x25/0x30 [ 59.893781][ T4162] ocfs2_start_trans+0x3c2/0x6f0 [ 59.899226][ T4162] ocfs2_mknod+0x15bb/0x2cd0 [ 59.904336][ T4162] ocfs2_mkdir+0x194/0x430 [ 59.909256][ T4162] vfs_mkdir+0x3b6/0x590 [ 59.914001][ T4162] do_mkdirat+0x260/0x520 [ 59.918836][ T4162] __x64_sys_mkdir+0x6a/0x80 [ 59.923931][ T4162] do_syscall_64+0x3b/0xb0 [ 59.928868][ T4162] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 59.935272][ T4162] [ 59.935272][ T4162] -> #3 (&journal->j_trans_barrier){.+.+}-{3:3}: [ 59.943772][ T4162] lock_acquire+0x1db/0x4f0 [ 59.948787][ T4162] down_read+0x45/0x2e0 [ 59.953449][ T4162] ocfs2_start_trans+0x3b7/0x6f0 [ 59.958897][ T4162] ocfs2_mknod+0x15bb/0x2cd0 [ 59.964007][ T4162] ocfs2_mkdir+0x194/0x430 [ 59.968931][ T4162] vfs_mkdir+0x3b6/0x590 [ 59.973696][ T4162] do_mkdirat+0x260/0x520 [ 59.978546][ T4162] __x64_sys_mkdir+0x6a/0x80 [ 59.983642][ T4162] do_syscall_64+0x3b/0xb0 [ 59.988574][ T4162] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 59.994977][ T4162] [ 59.994977][ T4162] -> #2 (sb_internal#2){.+.+}-{0:0}: [ 60.002437][ T4162] lock_acquire+0x1db/0x4f0 [ 60.007456][ T4162] ocfs2_start_trans+0x2b2/0x6f0 [ 60.012915][ T4162] ocfs2_mknod+0x15bb/0x2cd0 [ 60.018019][ T4162] ocfs2_mkdir+0x194/0x430 [ 60.022947][ T4162] vfs_mkdir+0x3b6/0x590 [ 60.027700][ T4162] do_mkdirat+0x260/0x520 [ 60.032555][ T4162] __x64_sys_mkdir+0x6a/0x80 [ 60.037659][ T4162] do_syscall_64+0x3b/0xb0 [ 60.042587][ T4162] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 60.048991][ T4162] [ 60.048991][ T4162] -> #1 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#4){+.+.}-{3:3}: [ 60.059618][ T4162] lock_acquire+0x1db/0x4f0 [ 60.064640][ T4162] down_write+0x38/0x60 [ 60.069307][ T4162] ocfs2_reserve_local_alloc_bits+0x12e/0x27a0 [ 60.076053][ T4162] ocfs2_reserve_clusters_with_limit+0x1b4/0xb50 [ 60.082894][ T4162] ocfs2_mknod+0x1535/0x2cd0 [ 60.087992][ T4162] ocfs2_mkdir+0x194/0x430 [ 60.093013][ T4162] vfs_mkdir+0x3b6/0x590 [ 60.097776][ T4162] do_mkdirat+0x260/0x520 [ 60.102609][ T4162] __x64_sys_mkdir+0x6a/0x80 [ 60.107708][ T4162] do_syscall_64+0x3b/0xb0 [ 60.112633][ T4162] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 60.119050][ T4162] [ 60.119050][ T4162] -> #0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3){+.+.}-{3:3}: [ 60.129549][ T4162] validate_chain+0x1649/0x5930 [ 60.134923][ T4162] __lock_acquire+0x1295/0x1ff0 [ 60.140278][ T4162] lock_acquire+0x1db/0x4f0 [ 60.145284][ T4162] down_write+0x38/0x60 [ 60.149947][ T4162] ocfs2_reserve_suballoc_bits+0x18e/0x4c70 [ 60.156349][ T4162] ocfs2_reserve_new_metadata_blocks+0x418/0x9b0 [ 60.163200][ T4162] ocfs2_init_xattr_set_ctxt+0x38f/0x8c0 [ 60.169338][ T4162] ocfs2_xattr_set+0xf46/0x1930 [ 60.174694][ T4162] ocfs2_set_acl+0x4cb/0x570 [ 60.179806][ T4162] ocfs2_iop_set_acl+0x252/0x3c0 [ 60.185250][ T4162] posix_acl_xattr_set+0x33b/0x3a0 [ 60.190875][ T4162] __vfs_setxattr+0x3e7/0x420 [ 60.196078][ T4162] __vfs_setxattr_noperm+0x12a/0x5e0 [ 60.201888][ T4162] vfs_setxattr+0x21d/0x420 [ 60.206922][ T4162] setxattr+0x27e/0x2e0 [ 60.211605][ T4162] path_setxattr+0x1bc/0x2a0 [ 60.216704][ T4162] __x64_sys_lsetxattr+0xb4/0xd0 [ 60.222152][ T4162] do_syscall_64+0x3b/0xb0 [ 60.227093][ T4162] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 60.233508][ T4162] [ 60.233508][ T4162] other info that might help us debug this: [ 60.233508][ T4162] [ 60.243720][ T4162] Chain exists of: [ 60.243720][ T4162] &ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3 --> jbd2_handle --> &oi->ip_xattr_sem [ 60.243720][ T4162] [ 60.259457][ T4162] Possible unsafe locking scenario: [ 60.259457][ T4162] [ 60.266893][ T4162] CPU0 CPU1 [ 60.272243][ T4162] ---- ---- [ 60.277591][ T4162] lock(&oi->ip_xattr_sem); [ 60.282169][ T4162] lock(jbd2_handle); [ 60.288751][ T4162] lock(&oi->ip_xattr_sem); [ 60.295859][ T4162] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3); [ 60.303248][ T4162] [ 60.303248][ T4162] *** DEADLOCK *** [ 60.303248][ T4162] [ 60.311376][ T4162] 3 locks held by syz-executor273/4162: [ 60.316902][ T4162] #0: ffff8880779ce460 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 [ 60.329241][ T4162] #1: ffff8880753cc2c8 (&sb->s_type->i_mutex_key#15){+.+.}-{3:3}, at: vfs_setxattr+0x1dd/0x420 [ 60.339784][ T4162] #2: ffff8880753cbff8 (&oi->ip_xattr_sem){++++}-{3:3}, at: ocfs2_xattr_set+0x62f/0x1930 [ 60.349707][ T4162] [ 60.349707][ T4162] stack backtrace: [ 60.355590][ T4162] CPU: 1 PID: 4162 Comm: syz-executor273 Not tainted 5.15.178-syzkaller #0 [ 60.364163][ T4162] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 60.374478][ T4162] Call Trace: [ 60.377747][ T4162] [ 60.380663][ T4162] dump_stack_lvl+0x1e3/0x2d0 [ 60.385511][ T4162] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 60.391148][ T4162] ? print_circular_bug+0x12b/0x1a0 [ 60.396373][ T4162] check_noncircular+0x2f8/0x3b0 [ 60.401334][ T4162] ? add_chain_block+0x850/0x850 [ 60.406357][ T4162] ? lockdep_lock+0x11f/0x2a0 [ 60.411127][ T4162] ? __lock_acquire+0x1295/0x1ff0 [ 60.416157][ T4162] validate_chain+0x1649/0x5930 [ 60.421023][ T4162] ? mark_lock+0x98/0x340 [ 60.425533][ T4162] ? reacquire_held_locks+0x660/0x660 [ 60.430957][ T4162] ? ocfs2_get_system_file_inode+0x1e0/0x7b0 [ 60.436956][ T4162] ? __lock_acquire+0x1ff0/0x1ff0 [ 60.441980][ T4162] ? mark_lock+0x98/0x340 [ 60.446299][ T4162] __lock_acquire+0x1295/0x1ff0 [ 60.451154][ T4162] lock_acquire+0x1db/0x4f0 [ 60.455651][ T4162] ? ocfs2_reserve_suballoc_bits+0x18e/0x4c70 [ 60.461721][ T4162] ? read_lock_is_recursive+0x10/0x10 [ 60.467083][ T4162] ? __might_sleep+0xc0/0xc0 [ 60.471679][ T4162] ? __lock_acquire+0x1295/0x1ff0 [ 60.476704][ T4162] down_write+0x38/0x60 [ 60.480848][ T4162] ? ocfs2_reserve_suballoc_bits+0x18e/0x4c70 [ 60.486913][ T4162] ocfs2_reserve_suballoc_bits+0x18e/0x4c70 [ 60.492799][ T4162] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 60.498767][ T4162] ? print_irqtrace_events+0x210/0x210 [ 60.504299][ T4162] ? do_raw_spin_unlock+0x137/0x8b0 [ 60.509487][ T4162] ? _raw_spin_unlock_irqrestore+0x8b/0x130 [ 60.515369][ T4162] ? lockdep_hardirqs_on+0x94/0x130 [ 60.520581][ T4162] ? ocfs2_block_group_search+0x490/0x490 [ 60.526315][ T4162] ? stack_trace_save+0x113/0x1c0 [ 60.531331][ T4162] ? stack_trace_snprint+0xe0/0xe0 [ 60.536431][ T4162] ? stack_depot_save+0x3db/0x440 [ 60.541442][ T4162] ? ____kasan_kmalloc+0xd1/0xf0 [ 60.546363][ T4162] ? ____kasan_kmalloc+0xba/0xf0 [ 60.551283][ T4162] ? kmem_cache_alloc_trace+0x143/0x290 [ 60.556813][ T4162] ? ocfs2_reserve_new_metadata_blocks+0x113/0x9b0 [ 60.563300][ T4162] ? ocfs2_init_xattr_set_ctxt+0x38f/0x8c0 [ 60.569102][ T4162] ? ocfs2_xattr_set+0xf46/0x1930 [ 60.574109][ T4162] ? ocfs2_set_acl+0x4cb/0x570 [ 60.578869][ T4162] ? ocfs2_iop_set_acl+0x252/0x3c0 [ 60.583974][ T4162] ? posix_acl_xattr_set+0x33b/0x3a0 [ 60.589245][ T4162] ? __vfs_setxattr+0x3e7/0x420 [ 60.594080][ T4162] ? __vfs_setxattr_noperm+0x12a/0x5e0 [ 60.599536][ T4162] ? vfs_setxattr+0x21d/0x420 [ 60.604295][ T4162] ? setxattr+0x27e/0x2e0 [ 60.608617][ T4162] ? path_setxattr+0x1bc/0x2a0 [ 60.613372][ T4162] ? __x64_sys_lsetxattr+0xb4/0xd0 [ 60.618479][ T4162] ? do_syscall_64+0x3b/0xb0 [ 60.623068][ T4162] ? entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 60.629162][ T4162] ? ocfs2_reserve_new_metadata_blocks+0x113/0x9b0 [ 60.635768][ T4162] ocfs2_reserve_new_metadata_blocks+0x418/0x9b0 [ 60.642101][ T4162] ? ocfs2_init_steal_slots+0x150/0x150 [ 60.647640][ T4162] ? ocfs2_xattr_block_set+0x32a0/0x32a0 [ 60.653267][ T4162] ? ocfs2_xattr_set+0xef8/0x1930 [ 60.658288][ T4162] ocfs2_init_xattr_set_ctxt+0x38f/0x8c0 [ 60.663910][ T4162] ? ocfs2_prepare_refcount_xattr+0x1220/0x1220 [ 60.670147][ T4162] ? up_write+0x19d/0x580 [ 60.674471][ T4162] ? ocfs2_remove_btree_range+0x18a0/0x18a0 [ 60.680355][ T4162] ? __up_read+0x690/0x690 [ 60.684760][ T4162] ? ocfs2_xattr_set+0x4d1/0x1930 [ 60.689790][ T4162] ocfs2_xattr_set+0xf46/0x1930 [ 60.694626][ T4162] ? print_irqtrace_events+0x210/0x210 [ 60.700076][ T4162] ? __ocfs2_xattr_set_handle+0x1060/0x1060 [ 60.705958][ T4162] ? stack_trace_save+0x113/0x1c0 [ 60.710984][ T4162] ? ____kasan_kmalloc+0xba/0xf0 [ 60.715932][ T4162] ? __kmalloc+0x168/0x300 [ 60.720339][ T4162] ? ocfs2_set_acl+0x11b/0x570 [ 60.725088][ T4162] ? ocfs2_iop_set_acl+0x252/0x3c0 [ 60.730199][ T4162] ? path_setxattr+0x1bc/0x2a0 [ 60.734950][ T4162] ? __x64_sys_lsetxattr+0xb4/0xd0 [ 60.740056][ T4162] ? do_syscall_64+0x3b/0xb0 [ 60.744639][ T4162] ? entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 60.750719][ T4162] ? __kmalloc+0x168/0x300 [ 60.755121][ T4162] ? ocfs2_set_acl+0x11b/0x570 [ 60.759872][ T4162] ocfs2_set_acl+0x4cb/0x570 [ 60.764460][ T4162] ocfs2_iop_set_acl+0x252/0x3c0 [ 60.769393][ T4162] ? ocfs2_xattr_get+0x2b0/0x2b0 [ 60.774462][ T4162] ? posix_acl_valid+0x329/0x3b0 [ 60.779398][ T4162] posix_acl_xattr_set+0x33b/0x3a0 [ 60.784496][ T4162] ? posix_acl_xattr_get+0x560/0x560 [ 60.789782][ T4162] __vfs_setxattr+0x3e7/0x420 [ 60.794451][ T4162] __vfs_setxattr_noperm+0x12a/0x5e0 [ 60.799736][ T4162] vfs_setxattr+0x21d/0x420 [ 60.804242][ T4162] ? xattr_permission+0x4f0/0x4f0 [ 60.809256][ T4162] ? __might_fault+0xb4/0x110 [ 60.813932][ T4162] ? _copy_from_user+0x10f/0x170 [ 60.818877][ T4162] ? posix_acl_fix_xattr_from_user+0xd4/0x120 [ 60.825115][ T4162] setxattr+0x27e/0x2e0 [ 60.829269][ T4162] ? path_setxattr+0x2a0/0x2a0 [ 60.834026][ T4162] ? preempt_count_add+0x8f/0x180 [ 60.839052][ T4162] ? __mnt_want_write+0x1e6/0x260 [ 60.844083][ T4162] path_setxattr+0x1bc/0x2a0 [ 60.848691][ T4162] ? simple_xattr_list_add+0xf0/0xf0 [ 60.853979][ T4162] ? syscall_enter_from_user_mode+0x2e/0x240 [ 60.859969][ T4162] __x64_sys_lsetxattr+0xb4/0xd0 [ 60.864905][ T4162] do_syscall_64+0x3b/0xb0 [ 60.869313][ T4162] ? clear_bhb_loop+0x15/0x70 [ 60.873980][ T4162] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 60.879877][ T4162] RIP: 0033:0x7fc2d1ce06f9 [ 60.884282][ T4162] 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 [ 60.903890][ T4162] RSP: 002b:00007fff14d469f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd [ 60.912306][ T4162] RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007fc2d1ce06f9 [ 60.920266][ T4162] RDX: 0000000020000000 RSI: 0000000020000040 RDI: 0000000020000140 [ 60.928224][ T4162] RBP: 00007fc2d1d57610 R08: 0000000000000000 R09: 0000000000000000 [ 60.936183][ T4162] R10: 000000000000001c R11: 0000000000000246 R12: 0000000000000001 [ 60.944148][ T4162] R13: 00007fff14d46bc8 R14: 0000000000000001 R15: 0000000000000001 [ 60.952132][ T4162] [ 60.956450][ T4162] OCFS2: ERROR (device loop0): int ocfs2_validate_gd_self(struct super_block *, struct buffer_head *, int): Group descriptor #0 has bad signature  [ 60.971973][ T4162] On-disk corruption discovered. Please run fsck.ocfs2 once the filesystem is unmounted. [ 60.981800][ T4162] OCFS2: File system is now read-only. [ 60.987257][ T4162] (syz-executor273,4162,1):ocfs2_search_chain:1761 ERROR: status = -30 [ 60.995603][ T4162] (syz-executor273,4162,1):ocfs2_search_chain:1871 ERROR: status = -30 [ 61.003872][ T4162] (syz-executo