Warning: Permanently added '10.128.1.31' (ED25519) to the list of known hosts. executing program [ 51.807286][ T3542] loop0: detected capacity change from 0 to 4096 [ 51.816442][ T3542] ntfs: (device loop0): parse_options(): Option utf8 is no longer supported, using option nls=utf8. Please use option nls=utf8 in the future and make sure utf8 is compiled either as a module or into the kernel. [ 51.839131][ T3542] ntfs: (device loop0): read_ntfs_boot_sector(): Primary boot sector is invalid. [ 51.849007][ T3542] ntfs: (device loop0): read_ntfs_boot_sector(): Hot-fix: Recovering invalid primary boot sector from backup copy. [ 51.863889][ T3542] ntfs: (device loop0): ntfs_mapping_pairs_decompress(): Corrupt attribute. [ 51.872642][ T3542] ntfs: (device loop0): ntfs_read_block(): Failed to read from inode 0xa, attribute type 0x80, vcn 0x0, offset 0x0 because its location on disk could not be determined even after retrying (error code -5). [ 51.892788][ T3542] ntfs: (device loop0): ntfs_mapping_pairs_decompress(): Corrupt attribute. [ 51.901494][ T3542] ntfs: (device loop0): ntfs_read_block(): Failed to read from inode 0xa, attribute type 0x80, vcn 0x0, offset 0x200 because its location on disk could not be determined even after retrying (error code -5). [ 51.921845][ T3542] ntfs: (device loop0): ntfs_mapping_pairs_decompress(): Corrupt attribute. [ 51.930534][ T3542] ntfs: (device loop0): ntfs_read_block(): Failed to read from inode 0xa, attribute type 0x80, vcn 0x1, offset 0x0 because its location on disk could not be determined even after retrying (error code -5). [ 51.950750][ T3542] ntfs: (device loop0): ntfs_mapping_pairs_decompress(): Corrupt attribute. [ 51.960819][ T3542] ntfs: volume version 3.1. [ 52.214884][ T3542] syz-executor304 (3542): drop_caches: 1 [ 52.278900][ T3542] syz-executor304 (3542): drop_caches: 1 [ 52.292054][ T11] [ 52.294411][ T11] ====================================================== [ 52.301437][ T11] WARNING: possible circular locking dependency detected [ 52.308437][ T11] 6.1.90-syzkaller #0 Not tainted [ 52.313441][ T11] ------------------------------------------------------ [ 52.320433][ T11] kworker/u4:1/11 is trying to acquire lock: [ 52.326384][ T11] ffff888073ff8940 (&rl->lock){++++}-{3:3}, at: ntfs_read_folio+0x14c9/0x29d0 [ 52.335247][ T11] [ 52.335247][ T11] but task is already holding lock: [ 52.342608][ T11] ffff888070c31210 (&ni->mrec_lock){+.+.}-{3:3}, at: map_mft_record+0x48/0x630 [ 52.351574][ T11] [ 52.351574][ T11] which lock already depends on the new lock. [ 52.351574][ T11] [ 52.361996][ T11] [ 52.361996][ T11] the existing dependency chain (in reverse order) is: [ 52.371079][ T11] [ 52.371079][ T11] -> #1 (&ni->mrec_lock){+.+.}-{3:3}: [ 52.378648][ T11] lock_acquire+0x1f8/0x5a0 [ 52.383678][ T11] __mutex_lock+0x132/0xd80 [ 52.388711][ T11] map_mft_record+0x48/0x630 [ 52.393912][ T11] ntfs_attr_extend_allocation+0x535/0x4340 [ 52.400346][ T11] ntfs_file_write_iter+0x3a9/0x19f0 [ 52.406184][ T11] vfs_write+0x7ae/0xba0 [ 52.410950][ T11] ksys_write+0x19c/0x2c0 [ 52.415808][ T11] do_syscall_64+0x3b/0xb0 [ 52.420751][ T11] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 52.427165][ T11] [ 52.427165][ T11] -> #0 (&rl->lock){++++}-{3:3}: [ 52.434280][ T11] validate_chain+0x1661/0x5950 [ 52.439647][ T11] __lock_acquire+0x125b/0x1f80 [ 52.445008][ T11] lock_acquire+0x1f8/0x5a0 [ 52.450019][ T11] down_read+0xad/0xa30 [ 52.454681][ T11] ntfs_read_folio+0x14c9/0x29d0 [ 52.460132][ T11] filemap_read_folio+0x199/0x780 [ 52.465663][ T11] do_read_cache_folio+0x2ee/0x810 [ 52.471278][ T11] do_read_cache_page+0x32/0x220 [ 52.476720][ T11] ntfs_sync_mft_mirror+0x25b/0x1ad0 [ 52.482510][ T11] write_mft_record_nolock+0x1151/0x18d0 [ 52.488651][ T11] write_mft_record+0x149/0x310 [ 52.494005][ T11] __ntfs_write_inode+0x6ff/0xbb0 [ 52.499621][ T11] __writeback_single_inode+0x67d/0x11e0 [ 52.505764][ T11] writeback_sb_inodes+0xc2b/0x1b20 [ 52.511466][ T11] wb_writeback+0x49d/0xe10 [ 52.516474][ T11] wb_workfn+0x427/0x1020 [ 52.521314][ T11] process_one_work+0x8a9/0x11d0 [ 52.526757][ T11] worker_thread+0xa47/0x1200 [ 52.531938][ T11] kthread+0x28d/0x320 [ 52.536514][ T11] ret_from_fork+0x1f/0x30 [ 52.541442][ T11] [ 52.541442][ T11] other info that might help us debug this: [ 52.541442][ T11] [ 52.551744][ T11] Possible unsafe locking scenario: [ 52.551744][ T11] [ 52.559191][ T11] CPU0 CPU1 [ 52.564540][ T11] ---- ---- [ 52.569887][ T11] lock(&ni->mrec_lock); [ 52.574203][ T11] lock(&rl->lock); [ 52.580602][ T11] lock(&ni->mrec_lock); [ 52.587437][ T11] lock(&rl->lock); [ 52.591403][ T11] [ 52.591403][ T11] *** DEADLOCK *** [ 52.591403][ T11] [ 52.599530][ T11] 3 locks held by kworker/u4:1/11: [ 52.604623][ T11] #0: ffff88814329e938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 [ 52.615225][ T11] #1: ffffc90000107d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 [ 52.627036][ T11] #2: ffff888070c31210 (&ni->mrec_lock){+.+.}-{3:3}, at: map_mft_record+0x48/0x630 [ 52.636415][ T11] [ 52.636415][ T11] stack backtrace: [ 52.642310][ T11] CPU: 0 PID: 11 Comm: kworker/u4:1 Not tainted 6.1.90-syzkaller #0 [ 52.650277][ T11] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 52.660321][ T11] Workqueue: writeback wb_workfn (flush-7:0) [ 52.666316][ T11] Call Trace: [ 52.669593][ T11] [ 52.672605][ T11] dump_stack_lvl+0x1e3/0x2cb [ 52.677287][ T11] ? nf_tcp_handle_invalid+0x642/0x642 [ 52.682766][ T11] ? print_circular_bug+0x12b/0x1a0 [ 52.687950][ T11] check_noncircular+0x2fa/0x3b0 [ 52.692959][ T11] ? noop_count+0x30/0x30 [ 52.697290][ T11] ? add_chain_block+0x850/0x850 [ 52.702220][ T11] ? lockdep_lock+0x11f/0x2a0 [ 52.706975][ T11] ? check_noncircular+0x1e3/0x3b0 [ 52.712247][ T11] ? deref_stack_reg+0x17c/0x210 [ 52.717175][ T11] ? _find_first_zero_bit+0xd0/0x100 [ 52.722452][ T11] validate_chain+0x1661/0x5950 [ 52.727302][ T11] ? validate_chain+0x13ce/0x5950 [ 52.732343][ T11] ? reacquire_held_locks+0x660/0x660 [ 52.737711][ T11] ? look_up_lock_class+0x77/0x140 [ 52.742819][ T11] ? register_lock_class+0x100/0x990 [ 52.748099][ T11] ? is_dynamic_key+0x260/0x260 [ 52.753020][ T11] ? mark_lock+0x9a/0x340 [ 52.757352][ T11] ? create_empty_buffers+0x3a/0x7d0 [ 52.762623][ T11] __lock_acquire+0x125b/0x1f80 [ 52.767557][ T11] lock_acquire+0x1f8/0x5a0 [ 52.772061][ T11] ? ntfs_read_folio+0x14c9/0x29d0 [ 52.777166][ T11] ? read_lock_is_recursive+0x10/0x10 [ 52.782579][ T11] ? __might_sleep+0xb0/0xb0 [ 52.787160][ T11] ? mark_lock+0x9a/0x340 [ 52.791479][ T11] down_read+0xad/0xa30 [ 52.795631][ T11] ? ntfs_read_folio+0x14c9/0x29d0 [ 52.800734][ T11] ? print_irqtrace_events+0x210/0x210 [ 52.806198][ T11] ? __down_common+0x8b0/0x8b0 [ 52.810947][ T11] ? _raw_read_unlock_irqrestore+0x8b/0x130 [ 52.816829][ T11] ? lockdep_hardirqs_on+0x94/0x130 [ 52.822018][ T11] ? _raw_read_unlock_irqrestore+0xd9/0x130 [ 52.827901][ T11] ? _raw_read_unlock+0x40/0x40 [ 52.832740][ T11] ? do_raw_spin_unlock+0x137/0x8a0 [ 52.838447][ T11] ntfs_read_folio+0x14c9/0x29d0 [ 52.843381][ T11] ? ntfs_writepage+0x1ac0/0x1ac0 [ 52.848397][ T11] ? folio_add_lru+0xd70/0xd70 [ 52.853146][ T11] ? folio_add_lru+0x34d/0xd70 [ 52.857894][ T11] ? folio_add_lru+0x584/0xd70 [ 52.862675][ T11] filemap_read_folio+0x199/0x780 [ 52.867682][ T11] ? filemap_add_folio+0x570/0x570 [ 52.872794][ T11] ? ntfs_writepage+0x1ac0/0x1ac0 [ 52.877893][ T11] ? maybe_unlock_mmap_for_io+0x130/0x130 [ 52.883597][ T11] ? ktime_get+0x7f/0x270 [ 52.887914][ T11] ? lockdep_hardirqs_on+0x94/0x130 [ 52.893101][ T11] ? seqcount_lockdep_reader_access+0x1d3/0x220 [ 52.899421][ T11] do_read_cache_folio+0x2ee/0x810 [ 52.904523][ T11] ? ntfs_writepage+0x1ac0/0x1ac0 [ 52.909537][ T11] do_read_cache_page+0x32/0x220 [ 52.914463][ T11] ntfs_sync_mft_mirror+0x25b/0x1ad0 [ 52.919735][ T11] ? submit_bio_noacct_nocheck+0xa88/0xd10 [ 52.925537][ T11] ? should_fail_request+0x70/0x70 [ 52.930647][ T11] ? __mark_mft_record_dirty+0x170/0x170 [ 52.936278][ T11] ? submit_bh_wbc+0x437/0x4e0 [ 52.941044][ T11] write_mft_record_nolock+0x1151/0x18d0 [ 52.946777][ T11] ? ntfs_unmap_page+0x250/0x250 [ 52.951709][ T11] ? lockdep_hardirqs_on+0x94/0x130 [ 52.956901][ T11] write_mft_record+0x149/0x310 [ 52.961742][ T11] __ntfs_write_inode+0x6ff/0xbb0 [ 52.966758][ T11] __writeback_single_inode+0x67d/0x11e0 [ 52.972384][ T11] writeback_sb_inodes+0xc2b/0x1b20 [ 52.977585][ T11] ? move_expired_inodes+0x375/0x810 [ 52.982940][ T11] ? mark_lock+0x9a/0x340 [ 52.987268][ T11] ? queue_io+0x630/0x630 [ 52.991585][ T11] ? __writeback_inodes_wb+0x400/0x400 [ 52.997469][ T11] ? queue_io+0x42a/0x630 [ 53.001786][ T11] wb_writeback+0x49d/0xe10 [ 53.006295][ T11] ? percpu_ref_tryget+0x260/0x260 [ 53.011391][ T11] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 53.017367][ T11] ? do_raw_spin_unlock+0x137/0x8a0 [ 53.022568][ T11] wb_workfn+0x427/0x1020 [ 53.026907][ T11] ? inode_wait_for_writeback+0x280/0x280 [ 53.032660][ T11] ? read_lock_is_recursive+0x10/0x10 [ 53.038028][ T11] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 53.044004][ T11] ? print_irqtrace_events+0x210/0x210 [ 53.049455][ T11] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 53.055340][ T11] ? do_raw_spin_unlock+0x137/0x8a0 [ 53.060526][ T11] ? process_one_work+0x7a9/0x11d0 [ 53.065623][ T11] process_one_work+0x8a9/0x11d0 [ 53.070555][ T11] ? worker_detach_from_pool+0x260/0x260 [ 53.076208][ T11] ? _raw_spin_lock_irqsave+0x120/0x120 [ 53.081