Warning: Permanently added '10.128.1.97' (ED25519) to the list of known hosts.
executing program
[   39.346967][ T3965] loop0: detected capacity change from 0 to 4096
[   39.455110][ T3965] ntfs3: loop0: mft corrupted
[   39.456517][ T3965] ntfs3: loop0: Mark volume as dirty due to NTFS errors
[   39.465391][  T304] 
[   39.466039][  T304] ======================================================
[   39.467916][  T304] WARNING: possible circular locking dependency detected
[   39.469594][  T304] 5.15.158-syzkaller #0 Not tainted
[   39.471006][  T304] ------------------------------------------------------
[   39.472859][  T304] kworker/u4:3/304 is trying to acquire lock:
[   39.474724][  T304] ffff0000c8a68120 (&wnd->rw_lock/1){+.+.}-{3:3}, at: ntfs_mark_rec_free+0x40/0x244
[   39.477191][  T304] 
[   39.477191][  T304] but task is already holding lock:
[   39.479140][  T304] ffff0000ded0efa0 (&ni->ni_lock){+.+.}-{3:3}, at: ni_write_inode+0x12c/0xe38
[   39.481245][  T304] 
[   39.481245][  T304] which lock already depends on the new lock.
[   39.481245][  T304] 
[   39.483838][  T304] 
[   39.483838][  T304] the existing dependency chain (in reverse order) is:
[   39.486086][  T304] 
[   39.486086][  T304] -> #1 (&ni->ni_lock){+.+.}-{3:3}:
[   39.487889][  T304]        __mutex_lock_common+0x194/0x2154
[   39.489347][  T304]        mutex_lock_nested+0xa4/0xf8
[   39.490772][  T304]        ntfs_set_state+0x1a4/0x584
[   39.492175][  T304]        mi_read+0x3e0/0x4d8
[   39.493270][  T304]        mi_format_new+0x174/0x514
[   39.494589][  T304]        ni_add_subrecord+0xd0/0x3c4
[   39.495944][  T304]        ntfs_look_free_mft+0x4c8/0xd0c
[   39.497322][  T304]        ni_create_attr_list+0x764/0xf54
[   39.498684][  T304]        ni_ins_attr_ext+0x328/0x99c
[   39.499946][  T304]        ni_add_name+0x544/0x818
[   39.501322][  T304]        ni_rename+0xc8/0x1d8
[   39.502432][  T304]        ntfs_rename+0x5c4/0xb10
[   39.503606][  T304]        vfs_rename+0xac8/0xe04
[   39.504862][  T304]        do_renameat2+0xa00/0x10c0
[   39.506333][  T304]        __arm64_sys_renameat2+0xe0/0xfc
[   39.507896][  T304]        invoke_syscall+0x98/0x2b8
[   39.509097][  T304]        el0_svc_common+0x138/0x258
[   39.510430][  T304]        do_el0_svc+0x58/0x14c
[   39.511594][  T304]        el0_svc+0x7c/0x1f0
[   39.512677][  T304]        el0t_64_sync_handler+0x84/0xe4
[   39.514098][  T304]        el0t_64_sync+0x1a0/0x1a4
[   39.515382][  T304] 
[   39.515382][  T304] -> #0 (&wnd->rw_lock/1){+.+.}-{3:3}:
[   39.517323][  T304]        __lock_acquire+0x32d4/0x7638
[   39.518822][  T304]        lock_acquire+0x240/0x77c
[   39.520141][  T304]        down_write_nested+0xc0/0x130
[   39.521582][  T304]        ntfs_mark_rec_free+0x40/0x244
[   39.523071][  T304]        ni_write_inode+0xb00/0xe38
[   39.524417][  T304]        ntfs3_write_inode+0x70/0x98
[   39.525783][  T304]        __writeback_single_inode+0x584/0x13a4
[   39.527403][  T304]        writeback_sb_inodes+0x94c/0x1654
[   39.528855][  T304]        wb_writeback+0x3fc/0xfc8
[   39.530122][  T304]        wb_workfn+0x3a4/0x1070
[   39.531362][  T304]        process_one_work+0x790/0x11b8
[   39.532830][  T304]        worker_thread+0x910/0x1034
[   39.534133][  T304]        kthread+0x37c/0x45c
[   39.535331][  T304]        ret_from_fork+0x10/0x20
[   39.536552][  T304] 
[   39.536552][  T304] other info that might help us debug this:
[   39.536552][  T304] 
[   39.539296][  T304]  Possible unsafe locking scenario:
[   39.539296][  T304] 
[   39.541141][  T304]        CPU0                    CPU1
[   39.542532][  T304]        ----                    ----
[   39.543913][  T304]   lock(&ni->ni_lock);
[   39.544929][  T304]                                lock(&wnd->rw_lock/1);
[   39.546710][  T304]                                lock(&ni->ni_lock);
[   39.548337][  T304]   lock(&wnd->rw_lock/1);
[   39.549405][  T304] 
[   39.549405][  T304]  *** DEADLOCK ***
[   39.549405][  T304] 
[   39.551496][  T304] 3 locks held by kworker/u4:3/304:
[   39.552725][  T304]  #0: ffff0000c21c8138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8
[   39.555153][  T304]  #1: ffff80001c977c00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8
[   39.558188][  T304]  #2: ffff0000ded0efa0 (&ni->ni_lock){+.+.}-{3:3}, at: ni_write_inode+0x12c/0xe38
[   39.560543][  T304] 
[   39.560543][  T304] stack backtrace:
[   39.562079][  T304] CPU: 1 PID: 304 Comm: kworker/u4:3 Not tainted 5.15.158-syzkaller #0
[   39.564284][  T304] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
[   39.566805][  T304] Workqueue: writeback wb_workfn (flush-7:0)
[   39.568253][  T304] Call trace:
[   39.569002][  T304]  dump_backtrace+0x0/0x530
[   39.570189][  T304]  show_stack+0x2c/0x3c
[   39.571242][  T304]  dump_stack_lvl+0x108/0x170
[   39.572417][  T304]  dump_stack+0x1c/0x58
[   39.573481][  T304]  print_circular_bug+0x150/0x1b8
[   39.574637][  T304]  check_noncircular+0x2cc/0x378
[   39.575870][  T304]  __lock_acquire+0x32d4/0x7638
[   39.577100][  T304]  lock_acquire+0x240/0x77c
[   39.578287][  T304]  down_write_nested+0xc0/0x130
[   39.579479][  T304]  ntfs_mark_rec_free+0x40/0x244
[   39.580751][  T304]  ni_write_inode+0xb00/0xe38
[   39.581924][  T304]  ntfs3_write_inode+0x70/0x98
[   39.583122][  T304]  __writeback_single_inode+0x584/0x13a4
[   39.584705][  T304]  writeback_sb_inodes+0x94c/0x1654
[   39.586150][  T304]  wb_writeback+0x3fc/0xfc8
[   39.587255][  T304]  wb_workfn+0x3a4/0x1070
[   39.588238][  T304]  process_one_work+0x790/0x11b8
[   39.589445][  T304]  worker_thread+0x910/0x1034
[   39.590624][  T304]  kthread+0x37c/0x45c
[   39.591575][  T304]  ret_from_fork+0x10/0x20