Warning: Permanently added '10.128.1.105' (ED25519) to the list of known hosts. executing program [ 80.309710][ T4247] loop0: detected capacity change from 0 to 32768 [ 80.327144][ T4247] (syz-executor235,4247,0):ocfs2_block_check_validate:402 ERROR: CRC32 failed: stored: 0xb3775c19, computed 0x2dd1c265. Applying ECC. [ 80.343074][ T4247] (syz-executor235,4247,0):ocfs2_block_check_validate:402 ERROR: CRC32 failed: stored: 0xb3775c19, computed 0x2dd1c265. Applying ECC. [ 80.389451][ T4247] JBD2: Ignoring recovery information on journal [ 80.436449][ T4247] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 80.486686][ T4247] [ 80.489096][ T4247] ====================================================== [ 80.497276][ T4247] WARNING: possible circular locking dependency detected [ 80.506944][ T4247] 6.1.134-syzkaller #0 Not tainted [ 80.512853][ T4247] ------------------------------------------------------ [ 80.520807][ T4247] syz-executor235/4247 is trying to acquire lock: [ 80.527601][ T4247] ffff888073dc9808 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{3:3}, at: ocfs2_reserve_suballoc_bits+0x182/0x5190 [ 80.542234][ T4247] [ 80.542234][ T4247] but task is already holding lock: [ 80.551556][ T4247] ffff888070a506f8 (&oi->ip_xattr_sem){++++}-{3:3}, at: ocfs2_xattr_set+0x62f/0x1930 [ 80.561933][ T4247] [ 80.561933][ T4247] which lock already depends on the new lock. [ 80.561933][ T4247] [ 80.574055][ T4247] [ 80.574055][ T4247] the existing dependency chain (in reverse order) is: [ 80.583732][ T4247] [ 80.583732][ T4247] -> #5 (&oi->ip_xattr_sem){++++}-{3:3}: [ 80.591852][ T4247] lock_acquire+0x1f8/0x5a0 [ 80.596991][ T4247] down_read+0xad/0xa30 [ 80.602218][ T4247] ocfs2_init_acl+0x398/0x930 [ 80.607641][ T4247] ocfs2_mknod+0x1f75/0x2e20 [ 80.613955][ T4247] ocfs2_create+0x1c0/0x4e0 [ 80.619368][ T4247] path_openat+0x12f1/0x2e60 [ 80.625123][ T4247] do_filp_open+0x230/0x480 [ 80.630810][ T4247] do_sys_openat2+0x13b/0x4f0 [ 80.636326][ T4247] __x64_sys_openat+0x243/0x290 [ 80.643770][ T4247] do_syscall_64+0x3b/0x80 [ 80.649133][ T4247] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 80.656111][ T4247] [ 80.656111][ T4247] -> #4 (jbd2_handle){.+.+}-{0:0}: [ 80.663734][ T4247] lock_acquire+0x1f8/0x5a0 [ 80.669924][ T4247] start_this_handle+0x1f71/0x21b0 [ 80.676028][ T4247] jbd2__journal_start+0x2d1/0x5c0 [ 80.682604][ T4247] jbd2_journal_start+0x25/0x30 [ 80.688974][ T4247] ocfs2_start_trans+0x3c0/0x6f0 [ 80.699379][ T4247] ocfs2_modify_bh+0xe9/0x4c0 [ 80.709029][ T4247] ocfs2_local_read_info+0x1587/0x19e0 [ 80.715606][ T4247] dquot_load_quota_sb+0x754/0xb90 [ 80.728761][ T4247] dquot_load_quota_inode+0x318/0x600 [ 80.735856][ T4247] ocfs2_enable_quotas+0x165/0x440 [ 80.741730][ T4247] ocfs2_fill_super+0x4edf/0x5a60 [ 80.748921][ T4247] mount_bdev+0x2c9/0x3f0 [ 80.754946][ T4247] legacy_get_tree+0xeb/0x180 [ 80.762005][ T4247] vfs_get_tree+0x88/0x270 [ 80.768711][ T4247] do_new_mount+0x2ba/0xb40 [ 80.774067][ T4247] __se_sys_mount+0x2d5/0x3c0 [ 80.782646][ T4247] do_syscall_64+0x3b/0x80 [ 80.788292][ T4247] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 80.795702][ T4247] [ 80.795702][ T4247] -> #3 (&journal->j_trans_barrier){.+.+}-{3:3}: [ 80.809516][ T4247] lock_acquire+0x1f8/0x5a0 [ 80.815047][ T4247] down_read+0xad/0xa30 [ 80.820131][ T4247] ocfs2_start_trans+0x3b5/0x6f0 [ 80.827010][ T4247] ocfs2_modify_bh+0xe9/0x4c0 [ 80.832614][ T4247] ocfs2_local_read_info+0x1587/0x19e0 [ 80.839170][ T4247] dquot_load_quota_sb+0x754/0xb90 [ 80.849741][ T4247] dquot_load_quota_inode+0x318/0x600 [ 80.864575][ T4247] ocfs2_enable_quotas+0x165/0x440 [ 80.871333][ T4247] ocfs2_fill_super+0x4edf/0x5a60 [ 80.877278][ T4247] mount_bdev+0x2c9/0x3f0 [ 80.882508][ T4247] legacy_get_tree+0xeb/0x180 [ 80.889244][ T4247] vfs_get_tree+0x88/0x270 [ 80.894514][ T4247] do_new_mount+0x2ba/0xb40 [ 80.900550][ T4247] __se_sys_mount+0x2d5/0x3c0 [ 80.906524][ T4247] do_syscall_64+0x3b/0x80 [ 80.912832][ T4247] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 80.920099][ T4247] [ 80.920099][ T4247] -> #2 (sb_internal#2){.+.+}-{0:0}: [ 80.929549][ T4247] lock_acquire+0x1f8/0x5a0 [ 80.935926][ T4247] ocfs2_start_trans+0x2b0/0x6f0 [ 80.941707][ T4247] ocfs2_mknod+0x1638/0x2e20 [ 80.948352][ T4247] ocfs2_create+0x1c0/0x4e0 [ 80.954927][ T4247] path_openat+0x12f1/0x2e60 [ 80.961505][ T4247] do_filp_open+0x230/0x480 [ 80.966752][ T4247] do_sys_openat2+0x13b/0x4f0 [ 80.973410][ T4247] __x64_sys_openat+0x243/0x290 [ 80.979272][ T4247] do_syscall_64+0x3b/0x80 [ 80.985762][ T4247] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 80.992476][ T4247] [ 80.992476][ T4247] -> #1 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6){+.+.}-{3:3}: [ 81.004186][ T4247] lock_acquire+0x1f8/0x5a0 [ 81.009450][ T4247] down_write+0x36/0x60 [ 81.014589][ T4247] ocfs2_reserve_local_alloc_bits+0x127/0x2a10 [ 81.022122][ T4247] ocfs2_reserve_clusters_with_limit+0x1b4/0xb50 [ 81.029536][ T4247] ocfs2_mknod+0x15b5/0x2e20 [ 81.035299][ T4247] ocfs2_create+0x1c0/0x4e0 [ 81.041065][ T4247] path_openat+0x12f1/0x2e60 [ 81.046756][ T4247] do_filp_open+0x230/0x480 [ 81.052170][ T4247] do_sys_openat2+0x13b/0x4f0 [ 81.057518][ T4247] __x64_sys_openat+0x243/0x290 [ 81.064416][ T4247] do_syscall_64+0x3b/0x80 [ 81.069674][ T4247] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 81.076908][ T4247] [ 81.076908][ T4247] -> #0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{3:3}: [ 81.087727][ T4247] validate_chain+0x1661/0x5950 [ 81.093409][ T4247] __lock_acquire+0x125b/0x1f80 [ 81.098868][ T4247] lock_acquire+0x1f8/0x5a0 [ 81.104151][ T4247] down_write+0x36/0x60 [ 81.108936][ T4247] ocfs2_reserve_suballoc_bits+0x182/0x5190 [ 81.115485][ T4247] ocfs2_reserve_new_metadata_blocks+0x418/0x9b0 [ 81.122942][ T4247] ocfs2_init_xattr_set_ctxt+0x3ab/0x950 [ 81.129490][ T4247] ocfs2_xattr_set+0xf46/0x1930 [ 81.135069][ T4247] __vfs_setxattr+0x3e7/0x420 [ 81.140320][ T4247] __vfs_setxattr_noperm+0x12a/0x5e0 [ 81.146178][ T4247] vfs_setxattr+0x21d/0x420 [ 81.151491][ T4247] setxattr+0x250/0x2b0 [ 81.156516][ T4247] path_setxattr+0x1bc/0x2a0 [ 81.162442][ T4247] __x64_sys_setxattr+0xb7/0xd0 [ 81.168905][ T4247] do_syscall_64+0x3b/0x80 [ 81.174224][ T4247] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 81.181330][ T4247] [ 81.181330][ T4247] other info that might help us debug this: [ 81.181330][ T4247] [ 81.192538][ T4247] Chain exists of: [ 81.192538][ T4247] &ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5 --> jbd2_handle --> &oi->ip_xattr_sem [ 81.192538][ T4247] [ 81.208875][ T4247] Possible unsafe locking scenario: [ 81.208875][ T4247] [ 81.217249][ T4247] CPU0 CPU1 [ 81.223201][ T4247] ---- ---- [ 81.229130][ T4247] lock(&oi->ip_xattr_sem); [ 81.234179][ T4247] lock(jbd2_handle); [ 81.241762][ T4247] lock(&oi->ip_xattr_sem); [ 81.248974][ T4247] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5); [ 81.257951][ T4247] [ 81.257951][ T4247] *** DEADLOCK *** [ 81.257951][ T4247] [ 81.266204][ T4247] 3 locks held by syz-executor235/4247: [ 81.272555][ T4247] #0: ffff88802fffa460 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 [ 81.282299][ T4247] #1: ffff888070a509c8 (&sb->s_type->i_mutex_key#15){+.+.}-{3:3}, at: vfs_setxattr+0x1dd/0x420 [ 81.295178][ T4247] #2: ffff888070a506f8 (&oi->ip_xattr_sem){++++}-{3:3}, at: ocfs2_xattr_set+0x62f/0x1930 [ 81.306462][ T4247] [ 81.306462][ T4247] stack backtrace: [ 81.315654][ T4247] CPU: 0 PID: 4247 Comm: syz-executor235 Not tainted 6.1.134-syzkaller #0 [ 81.325427][ T4247] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 81.336742][ T4247] Call Trace: [ 81.341093][ T4247] [ 81.344828][ T4247] dump_stack_lvl+0x1e3/0x2cb [ 81.350315][ T4247] ? nf_tcp_handle_invalid+0x647/0x647 [ 81.356067][ T4247] ? print_circular_bug+0x12b/0x1a0 [ 81.361676][ T4247] check_noncircular+0x2fa/0x3b0 [ 81.367305][ T4247] ? add_chain_block+0x850/0x850 [ 81.372632][ T4247] ? lockdep_lock+0x11f/0x2a0 [ 81.379528][ T4247] ? unwind_get_return_address+0x49/0x80 [ 81.385370][ T4247] ? mark_lock+0x9a/0x340 [ 81.390000][ T4247] ? _find_first_zero_bit+0xd0/0x100 [ 81.395433][ T4247] validate_chain+0x1661/0x5950 [ 81.400710][ T4247] ? reacquire_held_locks+0x660/0x660 [ 81.406221][ T4247] ? ocfs2_get_system_file_inode+0x1ef/0x840 [ 81.412605][ T4247] ? __lock_acquire+0x1f80/0x1f80 [ 81.417975][ T4247] ? mark_lock+0x9a/0x340 [ 81.423041][ T4247] __lock_acquire+0x125b/0x1f80 [ 81.428695][ T4247] lock_acquire+0x1f8/0x5a0 [ 81.433849][ T4247] ? ocfs2_reserve_suballoc_bits+0x182/0x5190 [ 81.440368][ T4247] ? read_lock_is_recursive+0x10/0x10 [ 81.446232][ T4247] ? __might_sleep+0xb0/0xb0 [ 81.451470][ T4247] ? __lock_acquire+0x125b/0x1f80 [ 81.456742][ T4247] down_write+0x36/0x60 [ 81.462563][ T4247] ? ocfs2_reserve_suballoc_bits+0x182/0x5190 [ 81.469804][ T4247] ocfs2_reserve_suballoc_bits+0x182/0x5190 [ 81.476537][ T4247] ? mark_lock+0x9a/0x340 [ 81.481673][ T4247] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 81.488321][ T4247] ? do_raw_spin_unlock+0x137/0x8a0 [ 81.493753][ T4247] ? ocfs2_block_group_search+0x530/0x530 [ 81.500081][ T4247] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 81.506688][ T4247] ? _raw_spin_unlock+0x40/0x40 [ 81.511638][ T4247] ? stack_trace_save+0x113/0x1c0 [ 81.516910][ T4247] ? stack_trace_snprint+0xe0/0xe0 [ 81.522495][ T4247] ? __stack_depot_save+0x3f5/0x470 [ 81.528087][ T4247] ? kasan_set_track+0x60/0x70 [ 81.533443][ T4247] ? kasan_set_track+0x4b/0x70 [ 81.538696][ T4247] ? __kasan_kmalloc+0x97/0xb0 [ 81.544843][ T4247] ? ocfs2_reserve_new_metadata_blocks+0x113/0x9b0 [ 81.552606][ T4247] ? ocfs2_init_xattr_set_ctxt+0x3ab/0x950 [ 81.558732][ T4247] ? ocfs2_xattr_set+0xf46/0x1930 [ 81.564077][ T4247] ? __vfs_setxattr+0x3e7/0x420 [ 81.569209][ T4247] ? __vfs_setxattr_noperm+0x12a/0x5e0 [ 81.574962][ T4247] ? vfs_setxattr+0x21d/0x420 [ 81.580177][ T4247] ? setxattr+0x250/0x2b0 [ 81.585200][ T4247] ? path_setxattr+0x1bc/0x2a0 [ 81.590376][ T4247] ? __x64_sys_setxattr+0xb7/0xd0 [ 81.596724][ T4247] ? do_syscall_64+0x3b/0x80 [ 81.601646][ T4247] ? entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 81.609007][ T4247] ocfs2_reserve_new_metadata_blocks+0x418/0x9b0 [ 81.616936][ T4247] ? ocfs2_init_steal_slots+0x150/0x150 [ 81.623500][ T4247] ? ocfs2_xattr_block_set+0x3610/0x3610 [ 81.629799][ T4247] ? ocfs2_xattr_set+0xef8/0x1930 [ 81.635479][ T4247] ocfs2_init_xattr_set_ctxt+0x3ab/0x950 [ 81.646302][ T4247] ? ocfs2_prepare_refcount_xattr+0x1220/0x1220 [ 81.654881][ T4247] ? up_write+0x19d/0x580 [ 81.659600][ T4247] ? ocfs2_remove_btree_range+0x18a0/0x18a0 [ 81.666164][ T4247] ? __up_read+0x690/0x690 [ 81.673858][ T4247] ocfs2_xattr_set+0xf46/0x1930 [ 81.679678][ T4247] ? __ocfs2_xattr_set_handle+0x1060/0x1060 [ 81.686717][ T4247] ? reacquire_held_locks+0x660/0x660 [ 81.693114][ T4247] ? lockdep_hardirqs_on+0x94/0x130 [ 81.699096][ T4247] ? aa_get_newest_label+0xfb/0x6e0 [ 81.704591][ T4247] ? posix_xattr_acl+0xa5/0xd0 [ 81.710992][ T4247] ? evm_protect_xattr+0x366/0xb10 [ 81.717601][ T4247] ? ocfs2_xattr_trusted_get+0x40/0x40 [ 81.723408][ T4247] __vfs_setxattr+0x3e7/0x420 [ 81.728505][ T4247] __vfs_setxattr_noperm+0x12a/0x5e0 [ 81.734566][ T4247] vfs_setxattr+0x21d/0x420 [ 81.740768][ T4247] ? __lock_acquire+0x1f80/0x1f80 [ 81.746030][ T4247] ? xattr_permission+0x4f0/0x4f0 [ 81.751337][ T4247] ? __might_fault+0xbd/0x110 [ 81.757982][ T4247] ? _copy_from_user+0x109/0x170 [ 81.764180][ T4247] setxattr+0x250/0x2b0 [ 81.768686][ T4247] ? path_setxattr+0x2a0/0x2a0 [ 81.774644][ T4247] ? __mnt_want_write+0x222/0x2a0 [ 81.780271][ T4247] path_setxattr+0x1bc/0x2a0 [ 81.784999][ T4247] ? simple_xattr_list_add+0xf0/0xf0 [ 81.790795][ T4247] ? syscall_enter_from_user_mode+0x2e/0x230 [ 81.797545][ T4247] __x64_sys_setxattr+0xb7/0xd0 [ 81.802456][ T4247] do_syscall_64+0x3b/0x80 [ 81.807701][ T4247] ? clear_bhb_loop+0x45/0xa0 [ 81.812811][ T4247] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 81.821630][ T4247] RIP: 0033:0x7fc3528c0b19 [ 81.826866][ T4247] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 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 [ 81.860967][ T4247] RSP: 002b:00007fff09dae9b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc [ 81.871314][ T4247] RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007fc3528c0b19 [ 81.880797][ T4247] RDX: 0000200000000200 RSI: 00002000000001c0 RDI: 0000200000000000 executing program [ 81.890586][ T4247] RBP: 00007fc3529385f0 R08: 0000000000000000 R09: 000055557e29c4c0 [ 81.899119][ T4247] R10: 0000000000000841 R11: 0000000000000246 R12: 00007fff09dae9e0 [ 81.907831][ T4247] R13: 00007fff09daec08 R14: 431bde82d7b634db R15: 00007fc35290903b [ 81.916427][ T4247] 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 [ 86.751129][ T7] cfg80211: failed to load regulatory.db 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