Warning: Permanently added '10.128.1.146' (ECDSA) to the list of known hosts.
executing program
[   49.405384][ T4054] warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow
[   49.637545][ T4054] 
[   49.640144][ T4054] ======================================================
[   49.641637][ T4054] WARNING: possible circular locking dependency detected
[   49.643145][ T4054] 5.15.98-syzkaller #0 Not tainted
[   49.644276][ T4054] ------------------------------------------------------
[   49.645800][ T4054] syz-executor984/4054 is trying to acquire lock:
[   49.647138][ T4054] ffff0000d38c0170 (&journal->j_barrier){+.+.}-{3:3}, at: jbd2_journal_lock_updates+0x3f0/0x4b4
[   49.649445][ T4054] 
[   49.649445][ T4054] but task is already holding lock:
[   49.651037][ T4054] ffff0000d38bcbd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_change_inode_journal_flag+0x154/0x648
[   49.653556][ T4054] 
[   49.653556][ T4054] which lock already depends on the new lock.
[   49.653556][ T4054] 
[   49.655850][ T4054] 
[   49.655850][ T4054] the existing dependency chain (in reverse order) is:
[   49.657737][ T4054] 
[   49.657737][ T4054] -> #4 (&sbi->s_writepages_rwsem){++++}-{0:0}:
[   49.659533][ T4054]        percpu_down_write+0xd8/0x3b0
[   49.660650][ T4054]        ext4_change_inode_journal_flag+0x154/0x648
[   49.662132][ T4054]        ext4_fileattr_set+0xb7c/0x12e0
[   49.663393][ T4054]        vfs_fileattr_set+0x708/0xad0
[   49.664557][ T4054]        do_vfs_ioctl+0x1634/0x2a38
[   49.665717][ T4054]        __arm64_sys_ioctl+0xe4/0x1c8
[   49.666915][ T4054]        invoke_syscall+0x98/0x2b8
[   49.668065][ T4054]        el0_svc_common+0x138/0x258
[   49.669170][ T4054]        do_el0_svc+0x58/0x14c
[   49.670215][ T4054]        el0_svc+0x7c/0x1f0
[   49.671249][ T4054]        el0t_64_sync_handler+0x84/0xe4
[   49.672471][ T4054]        el0t_64_sync+0x1a0/0x1a4
[   49.673594][ T4054] 
[   49.673594][ T4054] -> #3 (mapping.invalidate_lock){++++}-{3:3}:
[   49.675520][ T4054]        down_write+0x110/0x260
[   49.676641][ T4054]        ext4_setattr+0xa8c/0x1490
[   49.677809][ T4054]        notify_change+0xae4/0xd80
[   49.678931][ T4054]        do_truncate+0x1bc/0x288
[   49.680022][ T4054]        do_sys_ftruncate+0x288/0x31c
[   49.681204][ T4054]        __arm64_sys_ftruncate+0x60/0x74
[   49.682405][ T4054]        invoke_syscall+0x98/0x2b8
[   49.683506][ T4054]        el0_svc_common+0x138/0x258
[   49.684681][ T4054]        do_el0_svc+0x58/0x14c
[   49.685707][ T4054]        el0_svc+0x7c/0x1f0
[   49.686743][ T4054]        el0t_64_sync_handler+0x84/0xe4
[   49.687990][ T4054]        el0t_64_sync+0x1a0/0x1a4
[   49.689097][ T4054] 
[   49.689097][ T4054] -> #2 (&sb->s_type->i_mutex_key#9){++++}-{3:3}:
[   49.690977][ T4054]        down_read+0xbc/0x11c
[   49.692074][ T4054]        ext4_bmap+0x58/0x36c
[   49.693113][ T4054]        bmap+0xa8/0xe8
[   49.694014][ T4054]        jbd2_journal_flush+0x63c/0xaa0
[   49.695327][ T4054]        ext4_ioctl+0x3448/0x675c
[   49.696400][ T4054]        __arm64_sys_ioctl+0x14c/0x1c8
[   49.697584][ T4054]        invoke_syscall+0x98/0x2b8
[   49.698740][ T4054]        el0_svc_common+0x138/0x258
[   49.699958][ T4054]        do_el0_svc+0x58/0x14c
[   49.701013][ T4054]        el0_svc+0x7c/0x1f0
[   49.701997][ T4054]        el0t_64_sync_handler+0x84/0xe4
[   49.703316][ T4054]        el0t_64_sync+0x1a0/0x1a4
[   49.704430][ T4054] 
[   49.704430][ T4054] -> #1 (&journal->j_checkpoint_mutex){+.+.}-{3:3}:
[   49.706363][ T4054]        __mutex_lock_common+0x194/0x2154
[   49.707598][ T4054]        mutex_lock_io_nested+0xcc/0x12c
[   49.708829][ T4054]        jbd2_journal_flush+0x210/0xaa0
[   49.710048][ T4054]        ext4_ioctl+0x3448/0x675c
[   49.711076][ T4054]        __arm64_sys_ioctl+0x14c/0x1c8
[   49.712331][ T4054]        invoke_syscall+0x98/0x2b8
[   49.713449][ T4054]        el0_svc_common+0x138/0x258
[   49.714579][ T4054]        do_el0_svc+0x58/0x14c
[   49.715648][ T4054]        el0_svc+0x7c/0x1f0
[   49.716685][ T4054]        el0t_64_sync_handler+0x84/0xe4
[   49.717941][ T4054]        el0t_64_sync+0x1a0/0x1a4
[   49.719118][ T4054] 
[   49.719118][ T4054] -> #0 (&journal->j_barrier){+.+.}-{3:3}:
[   49.720926][ T4054]        __lock_acquire+0x32cc/0x7620
[   49.722196][ T4054]        lock_acquire+0x2b8/0x894
[   49.723305][ T4054]        __mutex_lock_common+0x194/0x2154
[   49.724594][ T4054]        mutex_lock_nested+0xa4/0xf8
[   49.725817][ T4054]        jbd2_journal_lock_updates+0x3f0/0x4b4
[   49.727154][ T4054]        ext4_change_inode_journal_flag+0x15c/0x648
[   49.728599][ T4054]        ext4_fileattr_set+0xb7c/0x12e0
[   49.729935][ T4054]        vfs_fileattr_set+0x708/0xad0
[   49.731169][ T4054]        do_vfs_ioctl+0x1634/0x2a38
[   49.732420][ T4054]        __arm64_sys_ioctl+0xe4/0x1c8
[   49.733603][ T4054]        invoke_syscall+0x98/0x2b8
[   49.734738][ T4054]        el0_svc_common+0x138/0x258
[   49.735886][ T4054]        do_el0_svc+0x58/0x14c
[   49.736958][ T4054]        el0_svc+0x7c/0x1f0
[   49.737969][ T4054]        el0t_64_sync_handler+0x84/0xe4
[   49.739221][ T4054]        el0t_64_sync+0x1a0/0x1a4
[   49.740398][ T4054] 
[   49.740398][ T4054] other info that might help us debug this:
[   49.740398][ T4054] 
[   49.742788][ T4054] Chain exists of:
[   49.742788][ T4054]   &journal->j_barrier --> mapping.invalidate_lock --> &sbi->s_writepages_rwsem
[   49.742788][ T4054] 
[   49.746049][ T4054]  Possible unsafe locking scenario:
[   49.746049][ T4054] 
[   49.747768][ T4054]        CPU0                    CPU1
[   49.748998][ T4054]        ----                    ----
[   49.750191][ T4054]   lock(&sbi->s_writepages_rwsem);
[   49.751308][ T4054]                                lock(mapping.invalidate_lock);
[   49.753183][ T4054]                                lock(&sbi->s_writepages_rwsem);
[   49.754888][ T4054]   lock(&journal->j_barrier);
[   49.755890][ T4054] 
[   49.755890][ T4054]  *** DEADLOCK ***
[   49.755890][ T4054] 
[   49.757668][ T4054] 4 locks held by syz-executor984/4054:
[   49.758942][ T4054]  #0: ffff0000d38ba460 (sb_writers#3){.+.+}-{0:0}, at: mnt_want_write_file+0x64/0x1e8
[   49.761228][ T4054]  #1: ffff0000dbdd67a0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: vfs_fileattr_set+0x110/0xad0
[   49.763614][ T4054]  #2: ffff0000dbdd6940 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_change_inode_journal_flag+0xf0/0x648
[   49.766500][ T4054]  #3: ffff0000d38bcbd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_change_inode_journal_flag+0x154/0x648
[   49.769192][ T4054] 
[   49.769192][ T4054] stack backtrace:
[   49.770471][ T4054] CPU: 0 PID: 4054 Comm: syz-executor984 Not tainted 5.15.98-syzkaller #0
[   49.772429][ T4054] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
[   49.774782][ T4054] Call trace:
[   49.775534][ T4054]  dump_backtrace+0x0/0x530
[   49.776561][ T4054]  show_stack+0x2c/0x3c
[   49.777526][ T4054]  dump_stack_lvl+0x108/0x170
[   49.778594][ T4054]  dump_stack+0x1c/0x58
[   49.779632][ T4054]  print_circular_bug+0x150/0x1b8
[   49.780800][ T4054]  check_noncircular+0x2cc/0x378
[   49.781887][ T4054]  __lock_acquire+0x32cc/0x7620
[   49.783079][ T4054]  lock_acquire+0x2b8/0x894
[   49.784185][ T4054]  __mutex_lock_common+0x194/0x2154
[   49.785429][ T4054]  mutex_lock_nested+0xa4/0xf8
[   49.786537][ T4054]  jbd2_journal_lock_updates+0x3f0/0x4b4
[   49.787805][ T4054]  ext4_change_inode_journal_flag+0x15c/0x648
[   49.789178][ T4054]  ext4_fileattr_set+0xb7c/0x12e0
[   49.790265][ T4054]  vfs_fileattr_set+0x708/0xad0
[   49.791428][ T4054]  do_vfs_ioctl+0x1634/0x2a38
[   49.792487][ T4054]  __arm64_sys_ioctl+0xe4/0x1c8
[   49.793681][ T4054]  invoke_syscall+0x98/0x2b8
[   49.794722][ T4054]  el0_svc_common+0x138/0x258
[   49.795777][ T4054]  do_el0_svc+0x58/0x14c
[   49.796664][ T4054]  el0_svc+0x7c/0x1f0
[   49.797596][ T4054]  el0t_64_sync_handler+0x84/0xe4
[   49.798665][ T4054]  el0t_64_sync+0x1a0/0x1a4
executing program
executing program
[   49.814300][ T4059] warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow
executing program
[   50.087830][ T4063] warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow
executing program
[   50.358838][ T4067] warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow
executing program
[   50.630757][ T4071] warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow
executing program
[   50.903187][ T4075] warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow
executing program
[   51.173267][ T4079] warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow
executing program
[   51.446181][ T4083] warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow
executing program
[   51.718846][ T4087] warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow
executing program
executing program
executing program
executing program
executing program
executing program
executing program
executing program
executing program
[   51.990230][ T4091] warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow
[   54.438939][ T4127] ext4_ioctl_checkpoint: 8 callbacks suppressed
executing program
[   54.438951][ T4127] warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow
executing program
[   54.712045][ T4131] warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow
[   54.984929][ T4135] warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow
executing program
executing program
[   55.257465][ T4139] warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow
executing program
[   55.530482][ T4143] warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow
executing program
[   55.801520][ T4147] warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow
executing program
[   56.074396][ T4151] warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow
executing program
[   56.347069][ T4155] warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow
executing program
[   56.618884][ T4159] warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow
executing program
executing program
executing program
executing program
executing program
executing program
executing program
executing program
executing program
executing program
[   56.890722][ T4163] warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow
[   59.615860][ T4203] ext4_ioctl_checkpoint: 9 callbacks suppressed