Warning: Permanently added '10.128.0.121' (ED25519) to the list of known hosts. executing program [ 44.332837][ T3563] loop0: detected capacity change from 0 to 32768 [ 44.393388][ T3563] ======================================================= [ 44.393388][ T3563] WARNING: The mand mount option has been deprecated and [ 44.393388][ T3563] and is ignored by this kernel. Remove the mand [ 44.393388][ T3563] option from the mount to silence this warning. [ 44.393388][ T3563] ======================================================= [ 44.454541][ T3563] JBD2: Ignoring recovery information on journal [ 44.490279][ T3563] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 45.309442][ T3563] syz-executor245 (3563) used greatest stack depth: 19360 bytes left [ 45.412080][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 45.655568][ T3568] loop0: detected capacity change from 0 to 32768 [ 45.748398][ T3568] JBD2: Ignoring recovery information on journal [ 45.784058][ T3568] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 46.665876][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 46.894773][ T3571] loop0: detected capacity change from 0 to 32768 [ 46.988274][ T3571] JBD2: Ignoring recovery information on journal [ 47.015332][ T3571] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 47.915623][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 48.228726][ T3574] loop0: detected capacity change from 0 to 32768 [ 48.309698][ T3574] JBD2: Ignoring recovery information on journal [ 48.341679][ T3574] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 49.255076][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 49.534513][ T3577] loop0: detected capacity change from 0 to 32768 [ 49.618429][ T3577] JBD2: Ignoring recovery information on journal [ 49.642850][ T3577] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 50.540572][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 50.763122][ T3580] loop0: detected capacity change from 0 to 32768 [ 50.847945][ T3580] JBD2: Ignoring recovery information on journal [ 50.870390][ T3580] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 51.763760][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 51.991821][ T3583] loop0: detected capacity change from 0 to 32768 [ 52.078016][ T3583] JBD2: Ignoring recovery information on journal [ 52.101567][ T3583] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 52.957056][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 53.184847][ T3586] loop0: detected capacity change from 0 to 32768 [ 53.268157][ T3586] JBD2: Ignoring recovery information on journal [ 53.299202][ T3586] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 54.247730][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 54.475521][ T3589] loop0: detected capacity change from 0 to 32768 [ 54.568646][ T3589] JBD2: Ignoring recovery information on journal [ 54.594798][ T3589] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 55.505160][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 55.727964][ T3592] loop0: detected capacity change from 0 to 32768 [ 55.818677][ T3592] JBD2: Ignoring recovery information on journal [ 55.845769][ T3592] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 56.743836][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 56.991779][ T3595] loop0: detected capacity change from 0 to 32768 [ 57.078475][ T3595] JBD2: Ignoring recovery information on journal [ 57.103219][ T3595] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 58.004061][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 58.232620][ T3598] loop0: detected capacity change from 0 to 32768 [ 58.317993][ T3598] JBD2: Ignoring recovery information on journal [ 58.343976][ T3598] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 58.355959][ T3598] [ 58.358299][ T3598] ====================================================== [ 58.365305][ T3598] WARNING: possible circular locking dependency detected [ 58.372306][ T3598] 5.15.167-syzkaller #0 Not tainted [ 58.377475][ T3598] ------------------------------------------------------ [ 58.384510][ T3598] syz-executor245/3598 is trying to acquire lock: [ 58.390889][ T3598] ffff88801fde9488 (&osb->system_file_mutex){+.+.}-{3:3}, at: ocfs2_get_system_file_inode+0x1a1/0x7b0 [ 58.401827][ T3598] [ 58.401827][ T3598] but task is already holding lock: [ 58.409335][ T3598] ffff88806d778660 (&ocfs2_file_ip_alloc_sem_key){++++}-{3:3}, at: ocfs2_write_begin+0x1cb/0x390 [ 58.419824][ T3598] [ 58.419824][ T3598] which lock already depends on the new lock. [ 58.419824][ T3598] [ 58.430194][ T3598] [ 58.430194][ T3598] the existing dependency chain (in reverse order) is: [ 58.439435][ T3598] [ 58.439435][ T3598] -> #1 (&ocfs2_file_ip_alloc_sem_key){++++}-{3:3}: [ 58.448174][ T3598] lock_acquire+0x1db/0x4f0 [ 58.453173][ T3598] down_read+0x45/0x2e0 [ 58.457842][ T3598] ocfs2_read_virt_blocks+0x2b3/0xa10 [ 58.463705][ T3598] ocfs2_find_entry+0x437/0x26d0 [ 58.469132][ T3598] ocfs2_find_files_on_disk+0xea/0x310 [ 58.475079][ T3598] ocfs2_lookup_ino_from_name+0xad/0x1e0 [ 58.481200][ T3598] ocfs2_get_system_file_inode+0x314/0x7b0 [ 58.487503][ T3598] ocfs2_init_global_system_inodes+0x328/0x720 [ 58.494157][ T3598] ocfs2_fill_super+0x479e/0x58a0 [ 58.499681][ T3598] mount_bdev+0x2c9/0x3f0 [ 58.504504][ T3598] legacy_get_tree+0xeb/0x180 [ 58.509677][ T3598] vfs_get_tree+0x88/0x270 [ 58.514594][ T3598] do_new_mount+0x2ba/0xb40 [ 58.519587][ T3598] __se_sys_mount+0x2d5/0x3c0 [ 58.524757][ T3598] do_syscall_64+0x3b/0xb0 [ 58.529663][ T3598] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 58.536060][ T3598] [ 58.536060][ T3598] -> #0 (&osb->system_file_mutex){+.+.}-{3:3}: [ 58.544368][ T3598] validate_chain+0x1649/0x5930 [ 58.549726][ T3598] __lock_acquire+0x1295/0x1ff0 [ 58.555069][ T3598] lock_acquire+0x1db/0x4f0 [ 58.560149][ T3598] __mutex_lock_common+0x1da/0x25a0 [ 58.565836][ T3598] mutex_lock_nested+0x17/0x20 [ 58.571088][ T3598] ocfs2_get_system_file_inode+0x1a1/0x7b0 [ 58.577402][ T3598] ocfs2_reserve_local_alloc_bits+0x103/0x27a0 [ 58.584062][ T3598] ocfs2_reserve_clusters_with_limit+0x1b4/0xb50 [ 58.590879][ T3598] ocfs2_lock_allocators+0x306/0x620 [ 58.596651][ T3598] ocfs2_write_begin_nolock+0x28e5/0x4d20 [ 58.602863][ T3598] ocfs2_write_begin+0x1fd/0x390 [ 58.608290][ T3598] generic_perform_write+0x2bf/0x5b0 [ 58.614079][ T3598] __generic_file_write_iter+0x243/0x4f0 [ 58.620203][ T3598] ocfs2_file_write_iter+0x17d5/0x1fa0 [ 58.626238][ T3598] vfs_write+0xacd/0xe50 [ 58.630973][ T3598] ksys_write+0x1a2/0x2c0 [ 58.635792][ T3598] do_syscall_64+0x3b/0xb0 [ 58.640700][ T3598] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 58.647083][ T3598] [ 58.647083][ T3598] other info that might help us debug this: [ 58.647083][ T3598] [ 58.657364][ T3598] Possible unsafe locking scenario: [ 58.657364][ T3598] [ 58.664780][ T3598] CPU0 CPU1 [ 58.670111][ T3598] ---- ---- [ 58.675490][ T3598] lock(&ocfs2_file_ip_alloc_sem_key); [ 58.681011][ T3598] lock(&osb->system_file_mutex); [ 58.688606][ T3598] lock(&ocfs2_file_ip_alloc_sem_key); [ 58.696642][ T3598] lock(&osb->system_file_mutex); [ 58.701721][ T3598] [ 58.701721][ T3598] *** DEADLOCK *** [ 58.701721][ T3598] [ 58.709832][ T3598] 3 locks held by syz-executor245/3598: [ 58.715348][ T3598] #0: ffff888076caa460 (sb_writers#9){.+.+}-{0:0}, at: vfs_write+0x29a/0xe50 [ 58.724188][ T3598] #1: ffff88806d7789c8 (&sb->s_type->i_mutex_key#15){+.+.}-{3:3}, at: ocfs2_file_write_iter+0x446/0x1fa0 [ 58.735462][ T3598] #2: ffff88806d778660 (&ocfs2_file_ip_alloc_sem_key){++++}-{3:3}, at: ocfs2_write_begin+0x1cb/0x390 [ 58.746387][ T3598] [ 58.746387][ T3598] stack backtrace: [ 58.752344][ T3598] CPU: 0 PID: 3598 Comm: syz-executor245 Not tainted 5.15.167-syzkaller #0 [ 58.760898][ T3598] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 58.770944][ T3598] Call Trace: [ 58.774198][ T3598] [ 58.777104][ T3598] dump_stack_lvl+0x1e3/0x2d0 [ 58.781755][ T3598] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 58.787370][ T3598] ? print_circular_bug+0x12b/0x1a0 [ 58.792538][ T3598] check_noncircular+0x2f8/0x3b0 [ 58.797443][ T3598] ? add_chain_block+0x850/0x850 [ 58.802351][ T3598] ? lockdep_lock+0x11f/0x2a0 [ 58.807011][ T3598] ? rcu_lock_release+0x5/0x20 [ 58.811748][ T3598] ? __lock_acquire+0x1ff0/0x1ff0 [ 58.816741][ T3598] validate_chain+0x1649/0x5930 [ 58.821562][ T3598] ? deref_stack_reg+0xbe/0x110 [ 58.826389][ T3598] ? __bfs+0x359/0x6e0 [ 58.830434][ T3598] ? reacquire_held_locks+0x660/0x660 [ 58.835777][ T3598] ? noop_count+0x30/0x30 [ 58.840080][ T3598] ? validate_chain+0x112/0x5930 [ 58.844999][ T3598] ? rcu_is_watching+0x11/0xa0 [ 58.849746][ T3598] ? mark_lock+0x98/0x340 [ 58.854054][ T3598] __lock_acquire+0x1295/0x1ff0 [ 58.858894][ T3598] lock_acquire+0x1db/0x4f0 [ 58.863380][ T3598] ? ocfs2_get_system_file_inode+0x1a1/0x7b0 [ 58.869349][ T3598] ? read_lock_is_recursive+0x10/0x10 [ 58.874729][ T3598] ? __might_sleep+0xc0/0xc0 [ 58.879297][ T3598] ? __lock_acquire+0x1295/0x1ff0 [ 58.884300][ T3598] __mutex_lock_common+0x1da/0x25a0 [ 58.889478][ T3598] ? ocfs2_get_system_file_inode+0x1a1/0x7b0 [ 58.895437][ T3598] ? read_lock_is_recursive+0x10/0x10 [ 58.900824][ T3598] ? ocfs2_get_system_file_inode+0x1a1/0x7b0 [ 58.906871][ T3598] ? ocfs2_get_system_file_inode+0x144/0x7b0 [ 58.912912][ T3598] ? mutex_lock_io_nested+0x60/0x60 [ 58.918081][ T3598] ? do_raw_spin_lock+0x14a/0x370 [ 58.923075][ T3598] ? do_raw_spin_unlock+0x137/0x8b0 [ 58.928244][ T3598] mutex_lock_nested+0x17/0x20 [ 58.932978][ T3598] ocfs2_get_system_file_inode+0x1a1/0x7b0 [ 58.938776][ T3598] ? ocfs2_fast_symlink_readpage+0x420/0x420 [ 58.944728][ T3598] ? __kernel_text_address+0x94/0x100 [ 58.950094][ T3598] ? reacquire_held_locks+0x660/0x660 [ 58.955473][ T3598] ? unwind_get_return_address+0x49/0x80 [ 58.961104][ T3598] ? arch_stack_walk+0xf3/0x140 [ 58.965931][ T3598] ocfs2_reserve_local_alloc_bits+0x103/0x27a0 [ 58.972058][ T3598] ? stack_trace_save+0x113/0x1c0 [ 58.977066][ T3598] ? kasan_unpoison+0x42/0x60 [ 58.981713][ T3598] ? mark_lock+0x98/0x340 [ 58.986010][ T3598] ? __lock_acquire+0x1295/0x1ff0 [ 58.991016][ T3598] ? ocfs2_complete_local_alloc_recovery+0x620/0x620 [ 58.997679][ T3598] ? read_lock_is_recursive+0x10/0x10 [ 59.003050][ T3598] ? ocfs2_alloc_should_use_local+0x13a/0x2e0 [ 59.009094][ T3598] ? __lock_acquire+0x1ff0/0x1ff0 [ 59.014114][ T3598] ? do_raw_spin_lock+0x14a/0x370 [ 59.019215][ T3598] ? do_raw_spin_unlock+0x137/0x8b0 [ 59.024395][ T3598] ? _raw_spin_unlock+0x24/0x40 [ 59.029259][ T3598] ? ocfs2_alloc_should_use_local+0x13a/0x2e0 [ 59.035309][ T3598] ocfs2_reserve_clusters_with_limit+0x1b4/0xb50 [ 59.041616][ T3598] ? mark_lock+0x98/0x340 [ 59.045920][ T3598] ? ocfs2_reserve_clusters+0x30/0x30 [ 59.051266][ T3598] ? __lock_acquire+0x1295/0x1ff0 [ 59.056269][ T3598] ? rcu_is_watching+0x11/0xa0 [ 59.061031][ T3598] ? ocfs2_num_free_extents+0x365/0x680 [ 59.066579][ T3598] ? ocfs2_validate_extent_block+0x580/0x580 [ 59.072631][ T3598] ocfs2_lock_allocators+0x306/0x620 [ 59.077899][ T3598] ? _ocfs2_clear_bit+0x40/0x40 [ 59.082726][ T3598] ? ocfs2_write_begin_nolock+0x1147/0x4d20 [ 59.088597][ T3598] ? rcu_is_watching+0x11/0xa0 [ 59.093334][ T3598] ? ocfs2_write_begin_nolock+0x1147/0x4d20 [ 59.099198][ T3598] ? kfree+0x4a/0x270 [ 59.103151][ T3598] ? ocfs2_write_begin_nolock+0x423/0x4d20 [ 59.108931][ T3598] ocfs2_write_begin_nolock+0x28e5/0x4d20 [ 59.114632][ T3598] ? ocfs2_size_fits_inline_data+0x90/0x90 [ 59.120413][ T3598] ? ocfs2_inode_lock_full_nested+0x177/0x1bf0 [ 59.126536][ T3598] ? ocfs2_read_inode_block+0x148/0x1d0 [ 59.132060][ T3598] ? ocfs2_allocate_extend_trans+0x620/0x620 [ 59.138014][ T3598] ? read_lock_is_recursive+0x10/0x10 [ 59.143357][ T3598] ? rwsem_write_trylock+0x166/0x210 [ 59.148614][ T3598] ? clear_nonspinnable+0x60/0x60 [ 59.153613][ T3598] ocfs2_write_begin+0x1fd/0x390 [ 59.158529][ T3598] ? ocfs2_readahead+0x1a0/0x1a0 [ 59.163443][ T3598] ? __vfs_getxattr+0x3e0/0x410 [ 59.168279][ T3598] ? ktime_get_coarse_real_ts64+0x107/0x120 [ 59.174149][ T3598] generic_perform_write+0x2bf/0x5b0 [ 59.179424][ T3598] ? grab_cache_page_write_begin+0x90/0x90 [ 59.185218][ T3598] ? file_remove_privs+0x610/0x610 [ 59.190304][ T3598] ? do_raw_spin_unlock+0x137/0x8b0 [ 59.195477][ T3598] __generic_file_write_iter+0x243/0x4f0 [ 59.201086][ T3598] ? ocfs2_inode_unlock+0x122/0x150 [ 59.206261][ T3598] ocfs2_file_write_iter+0x17d5/0x1fa0 [ 59.211698][ T3598] ? ocfs2_file_read_iter+0xae0/0xae0 [ 59.217058][ T3598] ? read_lock_is_recursive+0x10/0x10 [ 59.222418][ T3598] ? rcu_read_lock_any_held+0xb3/0x160 [ 59.227950][ T3598] ? rcu_read_lock_bh_held+0x110/0x110 [ 59.233375][ T3598] ? end_current_label_crit_section+0x147/0x170 [ 59.239587][ T3598] ? iov_iter_init+0x4a/0x170 [ 59.244234][ T3598] vfs_write+0xacd/0xe50 [ 59.248470][ T3598] ? file_end_write+0x250/0x250 [ 59.253295][ T3598] ? __context_tracking_enter+0x5f/0x90 [ 59.258816][ T3598] ? __fdget_pos+0x2d2/0x380 [ 59.263378][ T3598] ksys_write+0x1a2/0x2c0 [ 59.267678][ T3598] ? print_irqtrace_events+0x210/0x210 [ 59.273105][ T3598] ? __ia32_sys_read+0x80/0x80 [ 59.277927][ T3598] ? syscall_enter_from_user_mode+0x2e/0x240 [ 59.283970][ T3598] ? lockdep_hardirqs_on+0x94/0x130 [ 59.289139][ T3598] ? syscall_enter_from_user_mode+0x2e/0x240 [ 59.295089][ T3598] do_syscall_64+0x3b/0xb0 [ 59.299672][ T3598] ? clear_bhb_loop+0x15/0x70 [ 59.304322][ T3598] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 59.310196][ T3598] RIP: 0033:0x7f2131087169 [ 59.314588][ T3598] 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 [ 59.334163][ T3598] RSP: 002b:00007ffef5684588 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 59.342573][ T3598] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2131087169 [ 59.350517][ T3598] RDX: 000000000208e24b RSI: 0000000020000080 RDI: 0000000000000005 [ 59.358462][ T3598] RBP: 0000000000000004 R08: 00000000000008c0 R09: 00000000000008c0 [ 59.366578][ T3598] R10: 00000000000008c0 R11: 0000000000000246 R12: 00007ffef56845d0 [ 59.374521][ T3598] R13: 00007ffef5684610 R14: 0000000001000000 R15: 0000000000000003 [ 59.382571][ T3598] [ 59.868052][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 60.063310][ T3601] loop0: detected capacity change from 0 to 32768 [ 60.145587][ T3601] JBD2: Ignoring recovery information on journal [ 60.164246][ T3601] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 60.669520][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 60.841096][ T3604] loop0: detected capacity change from 0 to 32768 [ 60.915715][ T3604] JBD2: Ignoring recovery information on journal [ 60.935821][ T3604] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 61.441476][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 61.608504][ T3607] loop0: detected capacity change from 0 to 32768 [ 61.705806][ T3607] JBD2: Ignoring recovery information on journal [ 61.724647][ T3607] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 62.214841][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 62.407965][ T3610] loop0: detected capacity change from 0 to 32768 [ 62.456414][ T3610] JBD2: Ignoring recovery information on journal [ 62.474218][ T3610] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 63.066037][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 63.238557][ T3613] loop0: detected capacity change from 0 to 32768 [ 63.355623][ T3613] JBD2: Ignoring recovery information on journal [ 63.373764][ T3613] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 63.864766][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 64.049161][ T3616] loop0: detected capacity change from 0 to 32768 [ 64.125804][ T3616] JBD2: Ignoring recovery information on journal [ 64.147804][ T3616] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 64.638177][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 64.808598][ T3619] loop0: detected capacity change from 0 to 32768 [ 64.905698][ T3619] JBD2: Ignoring recovery information on journal [ 64.921712][ T3619] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 65.412727][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 65.579043][ T3622] loop0: detected capacity change from 0 to 32768 [ 65.665416][ T3622] JBD2: Ignoring recovery information on journal [ 65.683400][ T3622] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 66.177443][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 66.357570][ T3625] loop0: detected capacity change from 0 to 32768 [ 66.406416][ T3625] JBD2: Ignoring recovery information on journal [ 66.424613][ T3625] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 67.014762][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 67.203070][ T3628] loop0: detected capacity change from 0 to 32768 [ 67.295820][ T3628] JBD2: Ignoring recovery information on journal [ 67.314320][ T3628] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 67.807841][ T3562] ocfs2: Unmounting device (7,0) on (node local) executing program [ 67.997965][ T3631] loop0: detected capacity change from 0 to 32768 [ 68.095556][ T3631] JBD2: Ignoring recovery information on journal [ 68.114446][ T3631] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode.