Warning: Permanently added '10.128.1.24' (ED25519) to the list of known hosts. executing program [ 43.875849][ T3563] loop0: detected capacity change from 0 to 32768 [ 43.919957][ T3563] ======================================================= [ 43.919957][ T3563] WARNING: The mand mount option has been deprecated and [ 43.919957][ T3563] and is ignored by this kernel. Remove the mand [ 43.919957][ T3563] option from the mount to silence this warning. [ 43.919957][ T3563] ======================================================= [ 43.981712][ T3563] JBD2: Ignoring recovery information on journal [ 44.011352][ T3563] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 44.952453][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 45.201088][ T3568] loop0: detected capacity change from 0 to 32768 [ 45.284841][ T3568] JBD2: Ignoring recovery information on journal [ 45.310365][ T3568] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 46.049488][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 46.267067][ T3571] loop0: detected capacity change from 0 to 32768 [ 46.355025][ T3571] JBD2: Ignoring recovery information on journal [ 46.381095][ T3571] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 47.159863][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 47.397937][ T3574] loop0: detected capacity change from 0 to 32768 [ 47.484749][ T3574] JBD2: Ignoring recovery information on journal [ 47.507834][ T3574] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 48.302121][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 48.628883][ T3577] loop0: detected capacity change from 0 to 32768 [ 48.676063][ T3577] JBD2: Ignoring recovery information on journal [ 48.730191][ T3577] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 49.639058][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 49.867747][ T3580] loop0: detected capacity change from 0 to 32768 [ 49.954847][ T3580] JBD2: Ignoring recovery information on journal [ 49.980493][ T3580] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 50.890774][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 51.116663][ T3583] loop0: detected capacity change from 0 to 32768 [ 51.224536][ T3583] JBD2: Ignoring recovery information on journal [ 51.248035][ T3583] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 52.147859][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 52.380532][ T3586] loop0: detected capacity change from 0 to 32768 [ 52.464967][ T3586] JBD2: Ignoring recovery information on journal [ 52.489451][ T3586] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 53.403191][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 53.630703][ T3589] loop0: detected capacity change from 0 to 32768 [ 53.744976][ T3589] JBD2: Ignoring recovery information on journal [ 53.768655][ T3589] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 54.716507][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 54.967142][ T3592] loop0: detected capacity change from 0 to 32768 [ 55.055476][ T3592] JBD2: Ignoring recovery information on journal [ 55.080905][ T3592] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 56.001908][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 56.218702][ T3595] loop0: detected capacity change from 0 to 32768 [ 56.304720][ T3595] JBD2: Ignoring recovery information on journal [ 56.329065][ T3595] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 56.340960][ T3595] [ 56.343287][ T3595] ====================================================== [ 56.350285][ T3595] WARNING: possible circular locking dependency detected [ 56.357270][ T3595] 5.15.167-syzkaller #0 Not tainted [ 56.362432][ T3595] ------------------------------------------------------ [ 56.369415][ T3595] syz-executor306/3595 is trying to acquire lock: [ 56.375789][ T3595] ffff88801edcd488 (&osb->system_file_mutex){+.+.}-{3:3}, at: ocfs2_get_system_file_inode+0x1a1/0x7b0 [ 56.386725][ T3595] [ 56.386725][ T3595] but task is already holding lock: [ 56.394053][ T3595] ffff8880706b6a20 (&ocfs2_file_ip_alloc_sem_key){++++}-{3:3}, at: ocfs2_write_begin+0x1cb/0x390 [ 56.404533][ T3595] [ 56.404533][ T3595] which lock already depends on the new lock. [ 56.404533][ T3595] [ 56.414901][ T3595] [ 56.414901][ T3595] the existing dependency chain (in reverse order) is: [ 56.423881][ T3595] [ 56.423881][ T3595] -> #1 (&ocfs2_file_ip_alloc_sem_key){++++}-{3:3}: [ 56.432614][ T3595] lock_acquire+0x1db/0x4f0 [ 56.437628][ T3595] down_read+0x45/0x2e0 [ 56.442295][ T3595] ocfs2_read_virt_blocks+0x2b3/0xa10 [ 56.448158][ T3595] ocfs2_find_entry+0x437/0x26d0 [ 56.453586][ T3595] ocfs2_find_files_on_disk+0xea/0x310 [ 56.459535][ T3595] ocfs2_lookup_ino_from_name+0xad/0x1e0 [ 56.465655][ T3595] ocfs2_get_system_file_inode+0x314/0x7b0 [ 56.471948][ T3595] ocfs2_init_global_system_inodes+0x328/0x720 [ 56.478590][ T3595] ocfs2_fill_super+0x479e/0x58a0 [ 56.484104][ T3595] mount_bdev+0x2c9/0x3f0 [ 56.488922][ T3595] legacy_get_tree+0xeb/0x180 [ 56.494087][ T3595] vfs_get_tree+0x88/0x270 [ 56.499003][ T3595] do_new_mount+0x2ba/0xb40 [ 56.503994][ T3595] __se_sys_mount+0x2d5/0x3c0 [ 56.509158][ T3595] do_syscall_64+0x3b/0xb0 [ 56.514062][ T3595] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 56.520445][ T3595] [ 56.520445][ T3595] -> #0 (&osb->system_file_mutex){+.+.}-{3:3}: [ 56.528744][ T3595] validate_chain+0x1649/0x5930 [ 56.534094][ T3595] __lock_acquire+0x1295/0x1ff0 [ 56.539431][ T3595] lock_acquire+0x1db/0x4f0 [ 56.544421][ T3595] __mutex_lock_common+0x1da/0x25a0 [ 56.550106][ T3595] mutex_lock_nested+0x17/0x20 [ 56.555359][ T3595] ocfs2_get_system_file_inode+0x1a1/0x7b0 [ 56.561652][ T3595] ocfs2_reserve_local_alloc_bits+0x103/0x27a0 [ 56.568294][ T3595] ocfs2_reserve_clusters_with_limit+0x1b4/0xb50 [ 56.575118][ T3595] ocfs2_lock_allocators+0x306/0x620 [ 56.580897][ T3595] ocfs2_write_begin_nolock+0x28e5/0x4d20 [ 56.587114][ T3595] ocfs2_write_begin+0x1fd/0x390 [ 56.592558][ T3595] generic_perform_write+0x2bf/0x5b0 [ 56.598333][ T3595] __generic_file_write_iter+0x243/0x4f0 [ 56.604457][ T3595] ocfs2_file_write_iter+0x17d5/0x1fa0 [ 56.610409][ T3595] vfs_write+0xacd/0xe50 [ 56.615142][ T3595] ksys_write+0x1a2/0x2c0 [ 56.619958][ T3595] do_syscall_64+0x3b/0xb0 [ 56.624861][ T3595] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 56.631243][ T3595] [ 56.631243][ T3595] other info that might help us debug this: [ 56.631243][ T3595] [ 56.641436][ T3595] Possible unsafe locking scenario: [ 56.641436][ T3595] [ 56.648850][ T3595] CPU0 CPU1 [ 56.654182][ T3595] ---- ---- [ 56.659512][ T3595] lock(&ocfs2_file_ip_alloc_sem_key); [ 56.665023][ T3595] lock(&osb->system_file_mutex); [ 56.672615][ T3595] lock(&ocfs2_file_ip_alloc_sem_key); [ 56.680648][ T3595] lock(&osb->system_file_mutex); [ 56.685725][ T3595] [ 56.685725][ T3595] *** DEADLOCK *** [ 56.685725][ T3595] [ 56.693831][ T3595] 3 locks held by syz-executor306/3595: [ 56.699342][ T3595] #0: ffff888072c7c460 (sb_writers#9){.+.+}-{0:0}, at: vfs_write+0x29a/0xe50 [ 56.708180][ T3595] #1: ffff8880706b6d88 (&sb->s_type->i_mutex_key#15){+.+.}-{3:3}, at: ocfs2_file_write_iter+0x446/0x1fa0 [ 56.719449][ T3595] #2: ffff8880706b6a20 (&ocfs2_file_ip_alloc_sem_key){++++}-{3:3}, at: ocfs2_write_begin+0x1cb/0x390 [ 56.730367][ T3595] [ 56.730367][ T3595] stack backtrace: [ 56.736230][ T3595] CPU: 1 PID: 3595 Comm: syz-executor306 Not tainted 5.15.167-syzkaller #0 [ 56.744782][ T3595] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 56.754808][ T3595] Call Trace: [ 56.758059][ T3595] [ 56.760960][ T3595] dump_stack_lvl+0x1e3/0x2d0 [ 56.765608][ T3595] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 56.771222][ T3595] ? print_circular_bug+0x12b/0x1a0 [ 56.776404][ T3595] check_noncircular+0x2f8/0x3b0 [ 56.781314][ T3595] ? add_chain_block+0x850/0x850 [ 56.786238][ T3595] ? lockdep_lock+0x11f/0x2a0 [ 56.790885][ T3595] ? rcu_lock_release+0x5/0x20 [ 56.795623][ T3595] validate_chain+0x1649/0x5930 [ 56.800447][ T3595] ? __bfs+0x359/0x6e0 [ 56.804485][ T3595] ? reacquire_held_locks+0x660/0x660 [ 56.809823][ T3595] ? noop_count+0x30/0x30 [ 56.814123][ T3595] ? validate_chain+0x112/0x5930 [ 56.819029][ T3595] ? rcu_is_watching+0x11/0xa0 [ 56.823764][ T3595] ? mark_lock+0x98/0x340 [ 56.828060][ T3595] __lock_acquire+0x1295/0x1ff0 [ 56.832883][ T3595] lock_acquire+0x1db/0x4f0 [ 56.837371][ T3595] ? ocfs2_get_system_file_inode+0x1a1/0x7b0 [ 56.843348][ T3595] ? read_lock_is_recursive+0x10/0x10 [ 56.848698][ T3595] ? __might_sleep+0xc0/0xc0 [ 56.853259][ T3595] ? __lock_acquire+0x1295/0x1ff0 [ 56.858254][ T3595] __mutex_lock_common+0x1da/0x25a0 [ 56.863420][ T3595] ? ocfs2_get_system_file_inode+0x1a1/0x7b0 [ 56.869373][ T3595] ? read_lock_is_recursive+0x10/0x10 [ 56.874713][ T3595] ? ocfs2_get_system_file_inode+0x1a1/0x7b0 [ 56.880663][ T3595] ? ocfs2_get_system_file_inode+0x144/0x7b0 [ 56.886611][ T3595] ? mutex_lock_io_nested+0x60/0x60 [ 56.891773][ T3595] ? do_raw_spin_lock+0x14a/0x370 [ 56.896770][ T3595] ? do_raw_spin_unlock+0x137/0x8b0 [ 56.901937][ T3595] mutex_lock_nested+0x17/0x20 [ 56.906671][ T3595] ocfs2_get_system_file_inode+0x1a1/0x7b0 [ 56.912454][ T3595] ? ocfs2_fast_symlink_readpage+0x420/0x420 [ 56.918403][ T3595] ? __kernel_text_address+0x94/0x100 [ 56.923760][ T3595] ? reacquire_held_locks+0x660/0x660 [ 56.929100][ T3595] ? unwind_get_return_address+0x49/0x80 [ 56.934702][ T3595] ? arch_stack_walk+0xf3/0x140 [ 56.939524][ T3595] ocfs2_reserve_local_alloc_bits+0x103/0x27a0 [ 56.945648][ T3595] ? stack_trace_save+0x113/0x1c0 [ 56.950642][ T3595] ? kasan_unpoison+0x42/0x60 [ 56.955289][ T3595] ? mark_lock+0x98/0x340 [ 56.959585][ T3595] ? __lock_acquire+0x1295/0x1ff0 [ 56.964575][ T3595] ? ocfs2_complete_local_alloc_recovery+0x620/0x620 [ 56.971220][ T3595] ? read_lock_is_recursive+0x10/0x10 [ 56.976561][ T3595] ? ocfs2_alloc_should_use_local+0x13a/0x2e0 [ 56.982595][ T3595] ? __lock_acquire+0x1ff0/0x1ff0 [ 56.987587][ T3595] ? do_raw_spin_lock+0x14a/0x370 [ 56.992580][ T3595] ? do_raw_spin_unlock+0x137/0x8b0 [ 56.997747][ T3595] ? _raw_spin_unlock+0x24/0x40 [ 57.002566][ T3595] ? ocfs2_alloc_should_use_local+0x13a/0x2e0 [ 57.008601][ T3595] ocfs2_reserve_clusters_with_limit+0x1b4/0xb50 [ 57.014900][ T3595] ? mark_lock+0x98/0x340 [ 57.019199][ T3595] ? ocfs2_reserve_clusters+0x30/0x30 [ 57.024537][ T3595] ? __lock_acquire+0x1295/0x1ff0 [ 57.029529][ T3595] ? rcu_is_watching+0x11/0xa0 [ 57.034265][ T3595] ? ocfs2_num_free_extents+0x365/0x680 [ 57.039778][ T3595] ? ocfs2_validate_extent_block+0x580/0x580 [ 57.045728][ T3595] ocfs2_lock_allocators+0x306/0x620 [ 57.050981][ T3595] ? _ocfs2_clear_bit+0x40/0x40 [ 57.055799][ T3595] ? ocfs2_write_begin_nolock+0x1147/0x4d20 [ 57.061658][ T3595] ? rcu_is_watching+0x11/0xa0 [ 57.066390][ T3595] ? ocfs2_write_begin_nolock+0x1147/0x4d20 [ 57.072249][ T3595] ? kfree+0x4a/0x270 [ 57.076201][ T3595] ? ocfs2_write_begin_nolock+0x423/0x4d20 [ 57.081977][ T3595] ocfs2_write_begin_nolock+0x28e5/0x4d20 [ 57.087673][ T3595] ? ocfs2_size_fits_inline_data+0x90/0x90 [ 57.093450][ T3595] ? ocfs2_inode_lock_full_nested+0x177/0x1bf0 [ 57.099574][ T3595] ? ocfs2_read_inode_block+0x148/0x1d0 [ 57.105089][ T3595] ? ocfs2_allocate_extend_trans+0x620/0x620 [ 57.111038][ T3595] ? read_lock_is_recursive+0x10/0x10 [ 57.116378][ T3595] ? rwsem_write_trylock+0x166/0x210 [ 57.121632][ T3595] ? clear_nonspinnable+0x60/0x60 [ 57.126625][ T3595] ocfs2_write_begin+0x1fd/0x390 [ 57.131533][ T3595] ? ocfs2_readahead+0x1a0/0x1a0 [ 57.136438][ T3595] ? __vfs_getxattr+0x3e0/0x410 [ 57.141257][ T3595] ? ktime_get_coarse_real_ts64+0x107/0x120 [ 57.147121][ T3595] generic_perform_write+0x2bf/0x5b0 [ 57.152378][ T3595] ? grab_cache_page_write_begin+0x90/0x90 [ 57.158151][ T3595] ? file_remove_privs+0x610/0x610 [ 57.163231][ T3595] ? do_raw_spin_unlock+0x137/0x8b0 [ 57.168399][ T3595] __generic_file_write_iter+0x243/0x4f0 [ 57.174000][ T3595] ? ocfs2_inode_unlock+0x122/0x150 [ 57.179168][ T3595] ocfs2_file_write_iter+0x17d5/0x1fa0 [ 57.184599][ T3595] ? ocfs2_file_read_iter+0xae0/0xae0 [ 57.189941][ T3595] ? read_lock_is_recursive+0x10/0x10 [ 57.195283][ T3595] ? rcu_read_lock_any_held+0xb3/0x160 [ 57.200713][ T3595] ? rcu_read_lock_bh_held+0x110/0x110 [ 57.206140][ T3595] ? end_current_label_crit_section+0x147/0x170 [ 57.212354][ T3595] ? iov_iter_init+0x4a/0x170 [ 57.217002][ T3595] vfs_write+0xacd/0xe50 [ 57.221217][ T3595] ? file_end_write+0x250/0x250 [ 57.226036][ T3595] ? __context_tracking_enter+0x5f/0x90 [ 57.231552][ T3595] ? __fdget_pos+0x2d2/0x380 [ 57.236114][ T3595] ksys_write+0x1a2/0x2c0 [ 57.240412][ T3595] ? print_irqtrace_events+0x210/0x210 [ 57.245839][ T3595] ? __ia32_sys_read+0x80/0x80 [ 57.250572][ T3595] ? syscall_enter_from_user_mode+0x2e/0x240 [ 57.256523][ T3595] ? lockdep_hardirqs_on+0x94/0x130 [ 57.261689][ T3595] ? syscall_enter_from_user_mode+0x2e/0x240 [ 57.267637][ T3595] do_syscall_64+0x3b/0xb0 [ 57.272022][ T3595] ? clear_bhb_loop+0x15/0x70 [ 57.276667][ T3595] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 57.282528][ T3595] RIP: 0033:0x7fd54d9b6169 [ 57.286915][ T3595] 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.306486][ T3595] RSP: 002b:00007ffc62854a68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 57.314867][ T3595] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd54d9b6169 [ 57.322808][ T3595] RDX: 000000000208e24b RSI: 0000000020000080 RDI: 0000000000000005 [ 57.330747][ T3595] RBP: 0000000000000004 R08: 00000000000008c0 R09: 00000000000008c0 [ 57.338685][ T3595] R10: 00000000000008c0 R11: 0000000000000246 R12: 00007ffc62854ab0 [ 57.346622][ T3595] R13: 00007ffc62854af0 R14: 0000000001000000 R15: 0000000000000003 [ 57.354563][ T3595] [ 57.840219][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 58.027999][ T3598] loop0: detected capacity change from 0 to 32768 [ 58.113184][ T3598] JBD2: Ignoring recovery information on journal [ 58.131416][ T3598] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 58.613121][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 58.775483][ T3601] loop0: detected capacity change from 0 to 32768 [ 58.872497][ T3601] JBD2: Ignoring recovery information on journal [ 58.893461][ T3601] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 59.384215][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 59.553231][ T3604] loop0: detected capacity change from 0 to 32768 [ 59.642275][ T3604] JBD2: Ignoring recovery information on journal [ 59.663380][ T3604] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 60.163314][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 60.344121][ T3607] loop0: detected capacity change from 0 to 32768 [ 60.432326][ T3607] JBD2: Ignoring recovery information on journal [ 60.452991][ T3607] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 60.943789][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 61.113816][ T3610] loop0: detected capacity change from 0 to 32768 [ 61.202314][ T3610] JBD2: Ignoring recovery information on journal [ 61.220143][ T3610] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 61.702109][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 61.875415][ T3613] loop0: detected capacity change from 0 to 32768 [ 61.962402][ T3613] JBD2: Ignoring recovery information on journal [ 61.981525][ T3613] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 62.469386][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 62.645184][ T3616] loop0: detected capacity change from 0 to 32768 [ 62.742421][ T3616] JBD2: Ignoring recovery information on journal [ 62.761040][ T3616] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 63.250125][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 63.423307][ T3619] loop0: detected capacity change from 0 to 32768 [ 63.512512][ T3619] JBD2: Ignoring recovery information on journal [ 63.530782][ T3619] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 64.021044][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 64.194779][ T3622] loop0: detected capacity change from 0 to 32768 [ 64.282465][ T3622] JBD2: Ignoring recovery information on journal [ 64.302413][ T3622] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 64.784413][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 64.954059][ T3625] loop0: detected capacity change from 0 to 32768 [ 65.042482][ T3625] JBD2: Ignoring recovery information on journal [ 65.061220][ T3625] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 65.550345][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 65.733420][ T3628] loop0: detected capacity change from 0 to 32768 [ 65.822359][ T3628] JBD2: Ignoring recovery information on journal [ 65.843198][ T3628] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 66.332654][ T3562] ocfs2: Unmounting device (7,0) on (node local)