Warning: Permanently added '10.128.1.213' (ED25519) to the list of known hosts. executing program [ 45.331594][ T3563] loop0: detected capacity change from 0 to 32768 [ 45.376438][ T3563] ======================================================= [ 45.376438][ T3563] WARNING: The mand mount option has been deprecated and [ 45.376438][ T3563] and is ignored by this kernel. Remove the mand [ 45.376438][ T3563] option from the mount to silence this warning. [ 45.376438][ T3563] ======================================================= [ 45.438040][ T3563] JBD2: Ignoring recovery information on journal [ 45.465325][ T3563] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 46.391526][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 46.628856][ T3568] loop0: detected capacity change from 0 to 32768 [ 46.740869][ T3568] JBD2: Ignoring recovery information on journal [ 46.767353][ T3568] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 47.650531][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 47.886939][ T3571] loop0: detected capacity change from 0 to 32768 [ 47.980618][ T3571] JBD2: Ignoring recovery information on journal [ 48.004213][ T3571] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 48.800124][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 49.105404][ T3574] loop0: detected capacity change from 0 to 32768 [ 49.191694][ T3574] JBD2: Ignoring recovery information on journal [ 49.215653][ T3574] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 50.074995][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 50.307830][ T3577] loop0: detected capacity change from 0 to 32768 [ 50.390911][ T3577] JBD2: Ignoring recovery information on journal [ 50.414448][ T3577] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 51.293350][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 51.515063][ T3580] loop0: detected capacity change from 0 to 32768 [ 51.600821][ T3580] JBD2: Ignoring recovery information on journal [ 51.624464][ T3580] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 52.524321][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 52.754685][ T3583] loop0: detected capacity change from 0 to 32768 [ 52.850673][ T3583] JBD2: Ignoring recovery information on journal [ 52.873653][ T3583] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 53.769191][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 54.003058][ T3586] loop0: detected capacity change from 0 to 32768 [ 54.093298][ T3586] JBD2: Ignoring recovery information on journal [ 54.116176][ T3586] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 55.039006][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 55.256970][ T3589] loop0: detected capacity change from 0 to 32768 [ 55.330941][ T3589] JBD2: Ignoring recovery information on journal [ 55.354902][ T3589] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 56.108176][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 56.350051][ T3592] loop0: detected capacity change from 0 to 32768 [ 56.440791][ T3592] JBD2: Ignoring recovery information on journal [ 56.465119][ T3592] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 56.477454][ T3592] [ 56.479797][ T3592] ====================================================== [ 56.486804][ T3592] WARNING: possible circular locking dependency detected [ 56.493810][ T3592] 5.15.167-syzkaller #0 Not tainted [ 56.499065][ T3592] ------------------------------------------------------ [ 56.506054][ T3592] syz-executor303/3592 is trying to acquire lock: [ 56.512455][ T3592] ffff88801f609488 (&osb->system_file_mutex){+.+.}-{3:3}, at: ocfs2_get_system_file_inode+0x1a1/0x7b0 [ 56.523411][ T3592] [ 56.523411][ T3592] but task is already holding lock: [ 56.530749][ T3592] ffff888071363120 (&ocfs2_file_ip_alloc_sem_key){++++}-{3:3}, at: ocfs2_write_begin+0x1cb/0x390 [ 56.541261][ T3592] [ 56.541261][ T3592] which lock already depends on the new lock. [ 56.541261][ T3592] [ 56.551633][ T3592] [ 56.551633][ T3592] the existing dependency chain (in reverse order) is: [ 56.560618][ T3592] [ 56.560618][ T3592] -> #1 (&ocfs2_file_ip_alloc_sem_key){++++}-{3:3}: [ 56.569371][ T3592] lock_acquire+0x1db/0x4f0 [ 56.574371][ T3592] down_read+0x45/0x2e0 [ 56.579170][ T3592] ocfs2_read_virt_blocks+0x2b3/0xa10 [ 56.585052][ T3592] ocfs2_find_entry+0x437/0x26d0 [ 56.590490][ T3592] ocfs2_find_files_on_disk+0xea/0x310 [ 56.596442][ T3592] ocfs2_lookup_ino_from_name+0xad/0x1e0 [ 56.602567][ T3592] ocfs2_get_system_file_inode+0x314/0x7b0 [ 56.608867][ T3592] ocfs2_init_global_system_inodes+0x328/0x720 [ 56.615517][ T3592] ocfs2_fill_super+0x479e/0x58a0 [ 56.621037][ T3592] mount_bdev+0x2c9/0x3f0 [ 56.625857][ T3592] legacy_get_tree+0xeb/0x180 [ 56.631027][ T3592] vfs_get_tree+0x88/0x270 [ 56.635958][ T3592] do_new_mount+0x2ba/0xb40 [ 56.640954][ T3592] __se_sys_mount+0x2d5/0x3c0 [ 56.646122][ T3592] do_syscall_64+0x3b/0xb0 [ 56.651050][ T3592] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 56.657437][ T3592] [ 56.657437][ T3592] -> #0 (&osb->system_file_mutex){+.+.}-{3:3}: [ 56.665741][ T3592] validate_chain+0x1649/0x5930 [ 56.671433][ T3592] __lock_acquire+0x1295/0x1ff0 [ 56.676774][ T3592] lock_acquire+0x1db/0x4f0 [ 56.681781][ T3592] __mutex_lock_common+0x1da/0x25a0 [ 56.687487][ T3592] mutex_lock_nested+0x17/0x20 [ 56.692750][ T3592] ocfs2_get_system_file_inode+0x1a1/0x7b0 [ 56.699055][ T3592] ocfs2_reserve_local_alloc_bits+0x103/0x27a0 [ 56.705793][ T3592] ocfs2_reserve_clusters_with_limit+0x1b4/0xb50 [ 56.712617][ T3592] ocfs2_lock_allocators+0x306/0x620 [ 56.718393][ T3592] ocfs2_write_begin_nolock+0x28e5/0x4d20 [ 56.724610][ T3592] ocfs2_write_begin+0x1fd/0x390 [ 56.730043][ T3592] generic_perform_write+0x2bf/0x5b0 [ 56.735855][ T3592] __generic_file_write_iter+0x243/0x4f0 [ 56.742000][ T3592] ocfs2_file_write_iter+0x17d5/0x1fa0 [ 56.747951][ T3592] vfs_write+0xacd/0xe50 [ 56.752774][ T3592] ksys_write+0x1a2/0x2c0 [ 56.757596][ T3592] do_syscall_64+0x3b/0xb0 [ 56.762591][ T3592] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 56.768979][ T3592] [ 56.768979][ T3592] other info that might help us debug this: [ 56.768979][ T3592] [ 56.779265][ T3592] Possible unsafe locking scenario: [ 56.779265][ T3592] [ 56.786692][ T3592] CPU0 CPU1 [ 56.792069][ T3592] ---- ---- [ 56.797417][ T3592] lock(&ocfs2_file_ip_alloc_sem_key); [ 56.802958][ T3592] lock(&osb->system_file_mutex); [ 56.810566][ T3592] lock(&ocfs2_file_ip_alloc_sem_key); [ 56.818641][ T3592] lock(&osb->system_file_mutex); [ 56.824114][ T3592] [ 56.824114][ T3592] *** DEADLOCK *** [ 56.824114][ T3592] [ 56.832432][ T3592] 3 locks held by syz-executor303/3592: [ 56.838225][ T3592] #0: ffff888025680460 (sb_writers#9){.+.+}-{0:0}, at: vfs_write+0x29a/0xe50 [ 56.847078][ T3592] #1: ffff888071363488 (&sb->s_type->i_mutex_key#15){+.+.}-{3:3}, at: ocfs2_file_write_iter+0x446/0x1fa0 [ 56.858356][ T3592] #2: ffff888071363120 (&ocfs2_file_ip_alloc_sem_key){++++}-{3:3}, at: ocfs2_write_begin+0x1cb/0x390 [ 56.869368][ T3592] [ 56.869368][ T3592] stack backtrace: [ 56.875238][ T3592] CPU: 1 PID: 3592 Comm: syz-executor303 Not tainted 5.15.167-syzkaller #0 [ 56.883795][ T3592] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 56.893836][ T3592] Call Trace: [ 56.897093][ T3592] [ 56.900001][ T3592] dump_stack_lvl+0x1e3/0x2d0 [ 56.904659][ T3592] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 56.910266][ T3592] ? print_circular_bug+0x12b/0x1a0 [ 56.915438][ T3592] check_noncircular+0x2f8/0x3b0 [ 56.920386][ T3592] ? add_chain_block+0x850/0x850 [ 56.925332][ T3592] ? lockdep_lock+0x11f/0x2a0 [ 56.929987][ T3592] ? rcu_lock_release+0x5/0x20 [ 56.934730][ T3592] validate_chain+0x1649/0x5930 [ 56.939577][ T3592] ? __bfs+0x359/0x6e0 [ 56.943618][ T3592] ? reacquire_held_locks+0x660/0x660 [ 56.948970][ T3592] ? noop_count+0x30/0x30 [ 56.953331][ T3592] ? validate_chain+0x112/0x5930 [ 56.958242][ T3592] ? rcu_is_watching+0x11/0xa0 [ 56.963076][ T3592] ? mark_lock+0x98/0x340 [ 56.967401][ T3592] __lock_acquire+0x1295/0x1ff0 [ 56.972318][ T3592] lock_acquire+0x1db/0x4f0 [ 56.976794][ T3592] ? ocfs2_get_system_file_inode+0x1a1/0x7b0 [ 56.982752][ T3592] ? read_lock_is_recursive+0x10/0x10 [ 56.988097][ T3592] ? __might_sleep+0xc0/0xc0 [ 56.992658][ T3592] ? __lock_acquire+0x1295/0x1ff0 [ 56.997657][ T3592] __mutex_lock_common+0x1da/0x25a0 [ 57.002835][ T3592] ? ocfs2_get_system_file_inode+0x1a1/0x7b0 [ 57.008812][ T3592] ? read_lock_is_recursive+0x10/0x10 [ 57.014161][ T3592] ? ocfs2_get_system_file_inode+0x1a1/0x7b0 [ 57.020115][ T3592] ? ocfs2_get_system_file_inode+0x144/0x7b0 [ 57.026070][ T3592] ? mutex_lock_io_nested+0x60/0x60 [ 57.031345][ T3592] ? do_raw_spin_lock+0x14a/0x370 [ 57.036343][ T3592] ? do_raw_spin_unlock+0x137/0x8b0 [ 57.041520][ T3592] mutex_lock_nested+0x17/0x20 [ 57.046437][ T3592] ocfs2_get_system_file_inode+0x1a1/0x7b0 [ 57.052242][ T3592] ? ocfs2_fast_symlink_readpage+0x420/0x420 [ 57.058199][ T3592] ? __kernel_text_address+0x94/0x100 [ 57.063556][ T3592] ? reacquire_held_locks+0x660/0x660 [ 57.068991][ T3592] ? unwind_get_return_address+0x49/0x80 [ 57.074599][ T3592] ? arch_stack_walk+0xf3/0x140 [ 57.079428][ T3592] ocfs2_reserve_local_alloc_bits+0x103/0x27a0 [ 57.085567][ T3592] ? stack_trace_save+0x113/0x1c0 [ 57.090567][ T3592] ? kasan_unpoison+0x42/0x60 [ 57.095223][ T3592] ? mark_lock+0x98/0x340 [ 57.099533][ T3592] ? __lock_acquire+0x1295/0x1ff0 [ 57.104530][ T3592] ? ocfs2_complete_local_alloc_recovery+0x620/0x620 [ 57.111185][ T3592] ? read_lock_is_recursive+0x10/0x10 [ 57.116560][ T3592] ? ocfs2_alloc_should_use_local+0x13a/0x2e0 [ 57.122599][ T3592] ? __lock_acquire+0x1ff0/0x1ff0 [ 57.127616][ T3592] ? do_raw_spin_lock+0x14a/0x370 [ 57.132619][ T3592] ? do_raw_spin_unlock+0x137/0x8b0 [ 57.137888][ T3592] ? _raw_spin_unlock+0x24/0x40 [ 57.142715][ T3592] ? ocfs2_alloc_should_use_local+0x13a/0x2e0 [ 57.148756][ T3592] ocfs2_reserve_clusters_with_limit+0x1b4/0xb50 [ 57.155082][ T3592] ? mark_lock+0x98/0x340 [ 57.159394][ T3592] ? ocfs2_reserve_clusters+0x30/0x30 [ 57.164737][ T3592] ? __lock_acquire+0x1295/0x1ff0 [ 57.169733][ T3592] ? rcu_is_watching+0x11/0xa0 [ 57.174471][ T3592] ? ocfs2_num_free_extents+0x365/0x680 [ 57.180003][ T3592] ? ocfs2_validate_extent_block+0x580/0x580 [ 57.185973][ T3592] ocfs2_lock_allocators+0x306/0x620 [ 57.191237][ T3592] ? _ocfs2_clear_bit+0x40/0x40 [ 57.196062][ T3592] ? ocfs2_write_begin_nolock+0x1147/0x4d20 [ 57.201975][ T3592] ? rcu_is_watching+0x11/0xa0 [ 57.206821][ T3592] ? ocfs2_write_begin_nolock+0x1147/0x4d20 [ 57.212689][ T3592] ? kfree+0x4a/0x270 [ 57.216646][ T3592] ? ocfs2_write_begin_nolock+0x423/0x4d20 [ 57.222429][ T3592] ocfs2_write_begin_nolock+0x28e5/0x4d20 [ 57.228144][ T3592] ? ocfs2_size_fits_inline_data+0x90/0x90 [ 57.233945][ T3592] ? ocfs2_inode_lock_full_nested+0x177/0x1bf0 [ 57.240336][ T3592] ? ocfs2_read_inode_block+0x148/0x1d0 [ 57.245861][ T3592] ? ocfs2_allocate_extend_trans+0x620/0x620 [ 57.251818][ T3592] ? read_lock_is_recursive+0x10/0x10 [ 57.257164][ T3592] ? rwsem_write_trylock+0x166/0x210 [ 57.262427][ T3592] ? clear_nonspinnable+0x60/0x60 [ 57.267428][ T3592] ocfs2_write_begin+0x1fd/0x390 [ 57.272368][ T3592] ? ocfs2_readahead+0x1a0/0x1a0 [ 57.277280][ T3592] ? __vfs_getxattr+0x3e0/0x410 [ 57.282103][ T3592] ? ktime_get_coarse_real_ts64+0x107/0x120 [ 57.287973][ T3592] generic_perform_write+0x2bf/0x5b0 [ 57.293237][ T3592] ? grab_cache_page_write_begin+0x90/0x90 [ 57.299015][ T3592] ? file_remove_privs+0x610/0x610 [ 57.304100][ T3592] ? do_raw_spin_unlock+0x137/0x8b0 [ 57.309296][ T3592] __generic_file_write_iter+0x243/0x4f0 [ 57.314904][ T3592] ? ocfs2_inode_unlock+0x122/0x150 [ 57.320078][ T3592] ocfs2_file_write_iter+0x17d5/0x1fa0 [ 57.325534][ T3592] ? ocfs2_file_read_iter+0xae0/0xae0 [ 57.330882][ T3592] ? read_lock_is_recursive+0x10/0x10 [ 57.337111][ T3592] ? rcu_read_lock_any_held+0xb3/0x160 [ 57.342642][ T3592] ? rcu_read_lock_bh_held+0x110/0x110 [ 57.348082][ T3592] ? end_current_label_crit_section+0x147/0x170 [ 57.354316][ T3592] ? iov_iter_init+0x4a/0x170 [ 57.359077][ T3592] vfs_write+0xacd/0xe50 [ 57.363308][ T3592] ? file_end_write+0x250/0x250 [ 57.368141][ T3592] ? __context_tracking_enter+0x5f/0x90 [ 57.373763][ T3592] ? __fdget_pos+0x2d2/0x380 [ 57.378330][ T3592] ksys_write+0x1a2/0x2c0 [ 57.382639][ T3592] ? print_irqtrace_events+0x210/0x210 [ 57.388099][ T3592] ? __ia32_sys_read+0x80/0x80 [ 57.392931][ T3592] ? syscall_enter_from_user_mode+0x2e/0x240 [ 57.398885][ T3592] ? lockdep_hardirqs_on+0x94/0x130 [ 57.404056][ T3592] ? syscall_enter_from_user_mode+0x2e/0x240 [ 57.410032][ T3592] do_syscall_64+0x3b/0xb0 [ 57.414427][ T3592] ? clear_bhb_loop+0x15/0x70 [ 57.419164][ T3592] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 57.425034][ T3592] RIP: 0033:0x7fbacf138169 [ 57.429424][ T3592] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 21 18 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 [ 57.449094][ T3592] RSP: 002b:00007ffe763cef58 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 57.457485][ T3592] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbacf138169 [ 57.465433][ T3592] RDX: 000000000208e24b RSI: 0000000020000080 RDI: 0000000000000005 [ 57.473396][ T3592] RBP: 0000000000000004 R08: 00000000000008c0 R09: 00000000000008c0 [ 57.481426][ T3592] R10: 00000000000008c0 R11: 0000000000000246 R12: 00007ffe763cefa0 [ 57.489396][ T3592] R13: 00007ffe763cefe0 R14: 0000000001000000 R15: 0000000000000003 [ 57.497515][ T3592] [ 58.085739][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 58.295617][ T3595] loop0: detected capacity change from 0 to 32768 [ 58.388566][ T3595] JBD2: Ignoring recovery information on journal [ 58.409108][ T3595] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 59.010138][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 59.181326][ T3598] loop0: detected capacity change from 0 to 32768 [ 59.268159][ T3598] JBD2: Ignoring recovery information on journal [ 59.286512][ T3598] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 59.779006][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 59.951462][ T3601] loop0: detected capacity change from 0 to 32768 [ 60.038285][ T3601] JBD2: Ignoring recovery information on journal [ 60.056675][ T3601] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 60.547082][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 60.723244][ T3604] loop0: detected capacity change from 0 to 32768 [ 60.808189][ T3604] JBD2: Ignoring recovery information on journal [ 60.826485][ T3604] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 61.319227][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 61.501598][ T3607] loop0: detected capacity change from 0 to 32768 [ 61.598260][ T3607] JBD2: Ignoring recovery information on journal [ 61.616669][ T3607] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 62.105836][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 62.271015][ T3610] loop0: detected capacity change from 0 to 32768 [ 62.368096][ T3610] JBD2: Ignoring recovery information on journal [ 62.386666][ T3610] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 62.879172][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 63.090941][ T3613] loop0: detected capacity change from 0 to 32768 [ 63.178554][ T3613] JBD2: Ignoring recovery information on journal [ 63.197920][ T3613] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 63.678563][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 63.860226][ T3616] loop0: detected capacity change from 0 to 32768 [ 63.948106][ T3616] JBD2: Ignoring recovery information on journal [ 63.968710][ T3616] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 64.461519][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 64.630470][ T3619] loop0: detected capacity change from 0 to 32768 [ 64.718214][ T3619] JBD2: Ignoring recovery information on journal [ 64.736895][ T3619] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 65.219717][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 65.401787][ T3622] loop0: detected capacity change from 0 to 32768 [ 65.488152][ T3622] JBD2: Ignoring recovery information on journal [ 65.506339][ T3622] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 65.997394][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 66.180398][ T3625] loop0: detected capacity change from 0 to 32768 [ 66.268044][ T3625] JBD2: Ignoring recovery information on journal [ 66.289115][ T3625] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode.