Warning: Permanently added '10.128.1.1' (ED25519) to the list of known hosts. executing program [ 62.215772][ T3544] loop0: detected capacity change from 0 to 4096 [ 62.224841][ T3544] 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. [ 62.246412][ T3544] ntfs: (device loop0): read_ntfs_boot_sector(): Primary boot sector is invalid. [ 62.256112][ T3544] ntfs: (device loop0): read_ntfs_boot_sector(): Hot-fix: Recovering invalid primary boot sector from backup copy. [ 62.271735][ T3544] ntfs: (device loop0): ntfs_mapping_pairs_decompress(): Corrupt attribute. [ 62.280580][ T3544] 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). [ 62.300652][ T3544] ntfs: (device loop0): ntfs_mapping_pairs_decompress(): Corrupt attribute. [ 62.309484][ T3544] 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). [ 62.329691][ T3544] ntfs: (device loop0): ntfs_mapping_pairs_decompress(): Corrupt attribute. [ 62.338463][ T3544] 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). [ 62.358477][ T3544] ntfs: (device loop0): ntfs_mapping_pairs_decompress(): Corrupt attribute. [ 62.368832][ T3544] ntfs: volume version 3.1. [ 62.550035][ T3544] syz-executor281 (3544): drop_caches: 1 executing program [ 62.631236][ T3544] syz-executor281 (3544): drop_caches: 1 [ 62.784005][ T3546] syz-executor281 (3546): drop_caches: 1 executing program [ 62.865839][ T3546] syz-executor281 (3546): drop_caches: 1 [ 63.462908][ T3547] syz-executor281 (3547): drop_caches: 1 executing program [ 63.543979][ T3547] syz-executor281 (3547): drop_caches: 1 [ 64.143629][ T3548] syz-executor281 (3548): drop_caches: 1 executing program [ 64.226689][ T3548] syz-executor281 (3548): drop_caches: 1 [ 64.824657][ T3549] syz-executor281 (3549): drop_caches: 1 executing program [ 64.907290][ T3549] syz-executor281 (3549): drop_caches: 1 [ 65.506580][ T3550] syz-executor281 (3550): drop_caches: 1 executing program [ 65.588994][ T3550] syz-executor281 (3550): drop_caches: 1 [ 66.191416][ T3551] syz-executor281 (3551): drop_caches: 1 executing program [ 66.273001][ T3551] syz-executor281 (3551): drop_caches: 1 [ 66.873773][ T3552] syz-executor281 (3552): drop_caches: 1 executing program [ 66.954882][ T3552] syz-executor281 (3552): drop_caches: 1 [ 67.318643][ T38] [ 67.321023][ T38] ====================================================== [ 67.328057][ T38] WARNING: possible circular locking dependency detected [ 67.335089][ T38] 6.1.42-syzkaller #0 Not tainted [ 67.340128][ T38] ------------------------------------------------------ [ 67.347168][ T38] kworker/u4:2/38 is trying to acquire lock: [ 67.353162][ T38] ffff888073018940 (&rl->lock){++++}-{3:3}, at: ntfs_read_folio+0x14c9/0x29d0 [ 67.362146][ T38] [ 67.362146][ T38] but task is already holding lock: [ 67.369523][ T38] ffff88807301b310 (&ni->mrec_lock){+.+.}-{3:3}, at: map_mft_record+0x48/0x630 [ 67.378535][ T38] [ 67.378535][ T38] which lock already depends on the new lock. [ 67.378535][ T38] [ 67.388978][ T38] [ 67.388978][ T38] the existing dependency chain (in reverse order) is: [ 67.398017][ T38] [ 67.398017][ T38] -> #1 (&ni->mrec_lock){+.+.}-{3:3}: [ 67.405607][ T38] lock_acquire+0x1f8/0x5a0 [ 67.410657][ T38] __mutex_lock_common+0x1d4/0x2520 [ 67.416407][ T38] mutex_lock_nested+0x17/0x20 [ 67.421883][ T38] map_mft_record+0x48/0x630 [ 67.427026][ T38] ntfs_truncate+0x263/0x2860 [ 67.432250][ T38] ntfs_setattr+0x2c7/0x3a0 [ 67.437314][ T38] notify_change+0xdcd/0x1080 [ 67.442526][ T38] do_truncate+0x21c/0x300 [ 67.447482][ T38] do_sys_ftruncate+0x2e2/0x380 [ 67.452877][ T38] do_syscall_64+0x3d/0xb0 [ 67.457845][ T38] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 67.464281][ T38] [ 67.464281][ T38] -> #0 (&rl->lock){++++}-{3:3}: [ 67.471435][ T38] validate_chain+0x1667/0x58e0 [ 67.476847][ T38] __lock_acquire+0x125b/0x1f80 [ 67.482233][ T38] lock_acquire+0x1f8/0x5a0 [ 67.487259][ T38] down_read+0x43/0x2e0 [ 67.491937][ T38] ntfs_read_folio+0x14c9/0x29d0 [ 67.497493][ T38] filemap_read_folio+0x199/0x780 [ 67.503054][ T38] do_read_cache_folio+0x2ee/0x810 [ 67.508703][ T38] do_read_cache_page+0x32/0x220 [ 67.514259][ T38] ntfs_sync_mft_mirror+0x25b/0x1ad0 [ 67.520067][ T38] write_mft_record_nolock+0x1151/0x18d0 [ 67.526226][ T38] write_mft_record+0x149/0x310 [ 67.531610][ T38] __ntfs_write_inode+0x6ff/0xbb0 [ 67.537167][ T38] __writeback_single_inode+0x67d/0x11e0 [ 67.543325][ T38] writeback_sb_inodes+0xc21/0x1ac0 [ 67.549047][ T38] __writeback_inodes_wb+0x114/0x400 [ 67.554860][ T38] wb_writeback+0x4b1/0xe10 [ 67.559893][ T38] wb_workfn+0xc9e/0x1020 [ 67.564744][ T38] process_one_work+0x8aa/0x11f0 [ 67.570217][ T38] worker_thread+0xa5f/0x1210 [ 67.575423][ T38] kthread+0x26e/0x300 [ 67.580015][ T38] ret_from_fork+0x1f/0x30 [ 67.585000][ T38] [ 67.585000][ T38] other info that might help us debug this: [ 67.585000][ T38] [ 67.595229][ T38] Possible unsafe locking scenario: [ 67.595229][ T38] [ 67.602682][ T38] CPU0 CPU1 [ 67.608044][ T38] ---- ---- [ 67.613405][ T38] lock(&ni->mrec_lock); [ 67.617747][ T38] lock(&rl->lock); [ 67.624166][ T38] lock(&ni->mrec_lock); [ 67.631020][ T38] lock(&rl->lock); [ 67.634918][ T38] [ 67.634918][ T38] *** DEADLOCK *** [ 67.634918][ T38] [ 67.643078][ T38] 4 locks held by kworker/u4:2/38: [ 67.648203][ T38] #0: ffff888142ea3938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x77a/0x11f0 [ 67.659199][ T38] #1: ffffc90000af7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7bd/0x11f0 [ 67.671162][ T38] #2: ffff88807bfbc0e0 (&type->s_umount_key#63){.+.+}-{3:3}, at: trylock_super+0x1b/0xf0 [ 67.681103][ T38] #3: ffff88807301b310 (&ni->mrec_lock){+.+.}-{3:3}, at: map_mft_record+0x48/0x630 [ 67.690521][ T38] [ 67.690521][ T38] stack backtrace: [ 67.696407][ T38] CPU: 0 PID: 38 Comm: kworker/u4:2 Not tainted 6.1.42-syzkaller #0 [ 67.704394][ T38] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 67.714452][ T38] Workqueue: writeback wb_workfn (flush-7:0) [ 67.720455][ T38] Call Trace: [ 67.723740][ T38] [ 67.726675][ T38] dump_stack_lvl+0x1e3/0x2cb [ 67.731375][ T38] ? nf_tcp_handle_invalid+0x642/0x642 [ 67.736879][ T38] ? print_circular_bug+0x12b/0x1a0 [ 67.742113][ T38] check_noncircular+0x2fa/0x3b0 [ 67.747234][ T38] ? deref_stack_reg+0x17c/0x210 [ 67.752181][ T38] ? add_chain_block+0x850/0x850 [ 67.757126][ T38] ? lockdep_lock+0x11f/0x2a0 [ 67.761808][ T38] ? unwind_next_frame+0x111a/0x2220 [ 67.767276][ T38] ? _find_first_zero_bit+0xd0/0x100 [ 67.772577][ T38] validate_chain+0x1667/0x58e0 [ 67.778135][ T38] ? ret_from_fork+0x1f/0x30 [ 67.782739][ T38] ? stack_trace_save+0x1c0/0x1c0 [ 67.788040][ T38] ? stack_trace_save+0x113/0x1c0 [ 67.793071][ T38] ? reacquire_held_locks+0x660/0x660 [ 67.798460][ T38] ? stack_trace_snprint+0xe0/0xe0 [ 67.803576][ T38] ? alloc_page_buffers+0x329/0x940 [ 67.808792][ T38] ? lockdep_lock+0x11f/0x2a0 [ 67.813563][ T38] ? lockdep_unlock+0x165/0x300 [ 67.818425][ T38] ? lockdep_lock+0x2a0/0x2a0 [ 67.823126][ T38] ? mark_lock+0x29d/0x340 [ 67.827569][ T38] __lock_acquire+0x125b/0x1f80 [ 67.832457][ T38] lock_acquire+0x1f8/0x5a0 [ 67.837945][ T38] ? ntfs_read_folio+0x14c9/0x29d0 [ 67.843084][ T38] ? read_lock_is_recursive+0x10/0x10 [ 67.848500][ T38] ? print_irqtrace_events+0x210/0x210 [ 67.853976][ T38] ? __might_sleep+0xb0/0xb0 [ 67.858592][ T38] ? _raw_read_unlock_irqrestore+0x8b/0x130 [ 67.864703][ T38] ? lockdep_hardirqs_on+0x94/0x130 [ 67.869922][ T38] ? _raw_read_unlock_irqrestore+0xd9/0x130 [ 67.875921][ T38] ? _raw_read_unlock+0x40/0x40 [ 67.880791][ T38] down_read+0x43/0x2e0 [ 67.884955][ T38] ? ntfs_read_folio+0x14c9/0x29d0 [ 67.890080][ T38] ntfs_read_folio+0x14c9/0x29d0 [ 67.895061][ T38] ? ntfs_writepage+0x1ac0/0x1ac0 [ 67.900123][ T38] ? folio_add_lru+0xa80/0xa80 [ 67.904916][ T38] ? folio_add_lru+0x42e/0xa80 [ 67.909871][ T38] filemap_read_folio+0x199/0x780 [ 67.914914][ T38] ? filemap_add_folio+0x570/0x570 [ 67.920047][ T38] ? ntfs_writepage+0x1ac0/0x1ac0 [ 67.925083][ T38] ? maybe_unlock_mmap_for_io+0x130/0x130 [ 67.930815][ T38] ? ktime_get+0x7f/0x270 [ 67.935160][ T38] ? lockdep_hardirqs_on+0x94/0x130 [ 67.940368][ T38] ? seqcount_lockdep_reader_access+0x1d3/0x220 [ 67.946624][ T38] do_read_cache_folio+0x2ee/0x810 [ 67.951754][ T38] ? ntfs_writepage+0x1ac0/0x1ac0 [ 67.956801][ T38] do_read_cache_page+0x32/0x220 [ 67.961757][ T38] ntfs_sync_mft_mirror+0x25b/0x1ad0 [ 67.967045][ T38] ? submit_bio_noacct_nocheck+0xa88/0xd10 [ 67.972872][ T38] ? should_fail_request+0x70/0x70 [ 67.978022][ T38] ? __mark_mft_record_dirty+0x170/0x170 [ 67.983660][ T38] ? submit_bh_wbc+0x437/0x4e0 [ 67.988435][ T38] write_mft_record_nolock+0x1151/0x18d0 [ 67.994086][ T38] ? ntfs_unmap_page+0x250/0x250 [ 67.999034][ T38] ? lockdep_hardirqs_on+0x94/0x130 [ 68.004263][ T38] write_mft_record+0x149/0x310 [ 68.009133][ T38] __ntfs_write_inode+0x6ff/0xbb0 [ 68.014180][ T38] __writeback_single_inode+0x67d/0x11e0 [ 68.019830][ T38] writeback_sb_inodes+0xc21/0x1ac0 [ 68.025061][ T38] ? queue_io+0x630/0x630 [ 68.029406][ T38] ? __writeback_inodes_wb+0x400/0x400 [ 68.034875][ T38] __writeback_inodes_wb+0x114/0x400 [ 68.040190][ T38] wb_writeback+0x4b1/0xe10 [ 68.044709][ T38] ? rcu_lock_release+0x20/0x20 [ 68.049596][ T38] ? _find_next_bit+0x11b/0x120 [ 68.054464][ T38] wb_workfn+0xc9e/0x1020 [ 68.058830][ T38] ? inode_wait_for_writeback+0x280/0x280 [ 68.064559][ T38] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 68.070630][ T38] ? print_irqtrace_events+0x210/0x210 [ 68.076091][ T38] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 68.081997][ T38] ? do_raw_spin_unlock+0x137/0x8a0 [ 68.087206][ T38] process_one_work+0x8aa/0x11f0 [ 68.092163][ T38] ? worker_detach_from_pool+0x260/0x260 [ 68.097810][ T38] ? _raw_spin_lock_irqsave+0x120/0x120 [ 68.103364][ T38] ? kthread_data+0x4e/0xc0 [ 68.107873][ T38] ? wq_worker_running+0x97/0x190 [ 68.112920][ T38] worker_thread+0xa5f/0x1210 [ 68.117618][ T38] kthread+0x26e/0x300 [ 68.121690][ T38] ? rcu_lock_release+0x20/0x20 [ 68.126557][ T38] ? kthread_blkcg+0xd0/0xd0 [ 68.131151][ T38] ret_from_fork+0x1f/0x30 [ 68.135673][ T38] [ 68.153299][ T38] __ntfs_error: 12 callbacks suppressed [ 68.153315][ T38] ntfs: (device loop0): ntfs_write_block(): Writing beyond initialized size is not supported yet. Sorry. [ 68.220672][ T3553] syz-executor281 (3553): drop_caches: 1 executing program [ 68.273803][ T3553] syz-executor281 (3553): drop_caches: 1 [ 68.727681][ T3554] syz-executor281 (3554): drop_caches: 1 executing program [ 68.781692][ T3554] syz-executor281 (3554): drop_caches: 1 [ 69.230234][ T3555] syz-executor281 (3555): drop_caches: 1 executing program [ 69.283069][ T3555] syz-executor281 (3555): drop_caches: 1 [ 69.729408][ T3556] syz-executor281 (3556): drop_caches: 1 executing program [ 69.783793][ T3556] syz-executor281 (3556): drop_caches: 1 [ 70.233112][ T3557] syz-executor281 (3557): drop_caches: 1 executing program [ 70.285818][ T3557] syz-executor281 (3557): drop_caches: 1 [ 70.732226][ T3558] syz-executor281 (3558): drop_caches: 1 executing program [ 70.785023][ T3558] syz-executor281 (3558): drop_caches: 1 [ 71.234011][ T3559] syz-executor281 (3559): drop_caches: 1 executing program [ 71.287485][ T3559] syz-executor281 (3559): drop_caches: 1 [ 71.731126][ T3560] syz-executor281 (3560): drop_caches: 1 executing program [ 71.784605][ T3560] syz-executor281 (3560): drop_caches: 1 [ 72.232274][ T3561] syz-executor281 (3561): drop_caches: 1 executing program [ 72.285402][ T3561] syz-executor281 (3561): drop_caches: 1 [ 72.732111][ T3562] syz-executor281 (3562): drop_caches: 1 executing program [ 72.785510][ T3562] syz-executor281 (3562): drop_caches: 1 [ 73.238881][ T3563] syz-executor281 (3563): drop_caches: 1 executing program [ 73.291654][ T3563] syz-executor281 (3563): drop_caches: 1 [ 73.739272][ T3564] syz-executor281 (3564): drop_caches: 1 executing program [ 73.792056][ T3564] syz-executor281 (3564): drop_caches: 1 [ 74.240322][ T3565] syz-executor281 (3565): drop_caches: 1 executing program [ 74.293128][ T3565] syz-executor281 (3565): drop_caches: 1 [ 74.738768][ T3566] syz-executor281 (3566): drop_caches: 1 executing program [ 74.793508][ T3566] syz-executor281 (3566): drop_caches: 1 [ 75.242492][ T3567] syz-executor281 (3567): drop_caches: 1 executing program [ 75.296468][ T3567] syz-executor281 (3567): drop_caches: 1 [ 75.751726][ T3568] syz-executor281 (3568): drop_caches: 1 executing program [ 75.806825][ T3568] syz-executor281 (3568): drop_caches: 1 [ 76.255639][ T3569] syz-executor281 (3569): drop_caches: 1 executing program [ 76.324519][ T3569] syz-executor281 (3569): drop_caches: 1 [ 76.815311][ T3570] syz-executor281 (3570): drop_caches: 1 executing program [ 76.869464][ T3570] syz-executor281 (3570): drop_caches: 1