Warning: Permanently added '10.128.1.19' (ED25519) to the list of known hosts. executing program [ 61.598039][ T4166] loop0: detected capacity change from 0 to 4096 [ 61.649605][ T4166] 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. [ 61.686484][ T4166] ntfs: volume version 3.1. [ 61.899725][ T4166] ODEBUG: Out of memory. ODEBUG disabled [ 62.396917][ T4166] syz-executor373 (4166): drop_caches: 3 [ 62.505936][ T4166] syz-executor373 (4166): drop_caches: 3 [ 62.526208][ T154] [ 62.528588][ T154] ====================================================== [ 62.535614][ T154] WARNING: possible circular locking dependency detected [ 62.542621][ T154] 5.15.184-syzkaller #0 Not tainted [ 62.547807][ T154] ------------------------------------------------------ [ 62.554894][ T154] kworker/u4:2/154 is trying to acquire lock: [ 62.560940][ T154] ffff88806fcf0940 (&rl->lock){++++}-{3:3}, at: ntfs_readpage+0x1277/0x2220 [ 62.569638][ T154] [ 62.569638][ T154] but task is already holding lock: [ 62.577010][ T154] ffff88806fd31210 (&ni->mrec_lock){+.+.}-{3:3}, at: map_mft_record+0x4e/0x620 [ 62.585959][ T154] [ 62.585959][ T154] which lock already depends on the new lock. [ 62.585959][ T154] [ 62.596351][ T154] [ 62.596351][ T154] the existing dependency chain (in reverse order) is: [ 62.605354][ T154] [ 62.605354][ T154] -> #1 (&ni->mrec_lock){+.+.}-{3:3}: [ 62.612902][ T154] __mutex_lock_common+0x1eb/0x2390 [ 62.618717][ T154] mutex_lock_nested+0x17/0x20 [ 62.623997][ T154] map_mft_record+0x4e/0x620 [ 62.629095][ T154] ntfs_attr_extend_allocation+0x533/0x42a0 [ 62.635493][ T154] ntfs_file_write_iter+0x46e/0x1d60 [ 62.641281][ T154] do_iter_readv_writev+0x497/0x600 [ 62.646987][ T154] do_iter_write+0x205/0x7b0 [ 62.652083][ T154] do_pwritev+0x204/0x340 [ 62.657109][ T154] do_syscall_64+0x4c/0xa0 [ 62.662136][ T154] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 62.668550][ T154] [ 62.668550][ T154] -> #0 (&rl->lock){++++}-{3:3}: [ 62.675662][ T154] __lock_acquire+0x2c33/0x7c60 [ 62.681028][ T154] lock_acquire+0x197/0x3f0 [ 62.686043][ T154] down_read+0x44/0x2e0 [ 62.690707][ T154] ntfs_readpage+0x1277/0x2220 [ 62.695977][ T154] do_read_cache_page+0x8a1/0x1030 [ 62.701597][ T154] ntfs_map_page+0x24/0x390 [ 62.706606][ T154] ntfs_sync_mft_mirror+0x24a/0x19e0 [ 62.712397][ T154] write_mft_record_nolock+0x1223/0x17e0 [ 62.718561][ T154] __ntfs_write_inode+0x7cb/0xdc0 [ 62.724091][ T154] __writeback_single_inode+0x6c3/0xda0 [ 62.730152][ T154] writeback_sb_inodes+0x9fe/0x1610 [ 62.735856][ T154] wb_writeback+0x443/0xb90 [ 62.740866][ T154] wb_workfn+0x423/0xe60 [ 62.745616][ T154] process_one_work+0x863/0x1000 [ 62.751066][ T154] worker_thread+0xaa8/0x12a0 [ 62.756289][ T154] kthread+0x436/0x520 [ 62.760865][ T154] ret_from_fork+0x1f/0x30 [ 62.765788][ T154] [ 62.765788][ T154] other info that might help us debug this: [ 62.765788][ T154] [ 62.776103][ T154] Possible unsafe locking scenario: [ 62.776103][ T154] [ 62.783541][ T154] CPU0 CPU1 [ 62.788899][ T154] ---- ---- [ 62.794245][ T154] lock(&ni->mrec_lock); [ 62.798654][ T154] lock(&rl->lock); [ 62.805052][ T154] lock(&ni->mrec_lock); [ 62.811884][ T154] lock(&rl->lock); [ 62.815773][ T154] [ 62.815773][ T154] *** DEADLOCK *** [ 62.815773][ T154] [ 62.823898][ T154] 3 locks held by kworker/u4:2/154: [ 62.829079][ T154] #0: ffff888141fd0938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 [ 62.839679][ T154] #1: ffffc90002077d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 [ 62.851493][ T154] #2: ffff88806fd31210 (&ni->mrec_lock){+.+.}-{3:3}, at: map_mft_record+0x4e/0x620 [ 62.860875][ T154] [ 62.860875][ T154] stack backtrace: [ 62.866754][ T154] CPU: 1 PID: 154 Comm: kworker/u4:2 Not tainted 5.15.184-syzkaller #0 [ 62.874975][ T154] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 62.885018][ T154] Workqueue: writeback wb_workfn (flush-7:0) [ 62.891003][ T154] Call Trace: [ 62.894269][ T154] [ 62.897191][ T154] dump_stack_lvl+0x168/0x230 [ 62.901855][ T154] ? load_image+0x3b0/0x3b0 [ 62.906343][ T154] ? show_regs_print_info+0x20/0x20 [ 62.911533][ T154] ? print_circular_bug+0x12b/0x1a0 [ 62.916721][ T154] check_noncircular+0x274/0x310 [ 62.921646][ T154] ? add_chain_block+0x940/0x940 [ 62.926574][ T154] ? lockdep_lock+0x141/0x1e0 [ 62.931242][ T154] ? __lock_acquire+0x289d/0x7c60 [ 62.936255][ T154] ? mark_lock+0x94/0x320 [ 62.940573][ T154] __lock_acquire+0x2c33/0x7c60 [ 62.945420][ T154] ? verify_lock_unused+0x140/0x140 [ 62.950615][ T154] ? verify_lock_unused+0x140/0x140 [ 62.955807][ T154] ? memset+0x1e/0x40 [ 62.959779][ T154] lock_acquire+0x197/0x3f0 [ 62.964274][ T154] ? ntfs_readpage+0x1277/0x2220 [ 62.969198][ T154] ? __might_sleep+0xf0/0xf0 [ 62.973793][ T154] ? _raw_read_lock_irqsave+0x7f/0xf0 [ 62.979161][ T154] ? read_lock_is_recursive+0x10/0x10 [ 62.984522][ T154] ? _raw_read_unlock_irqrestore+0x82/0x100 [ 62.990409][ T154] ? lockdep_hardirqs_on+0x94/0x140 [ 62.995606][ T154] ? _raw_read_unlock_irqrestore+0xaa/0x100 [ 63.001488][ T154] ? _raw_read_unlock+0x40/0x40 [ 63.006328][ T154] down_read+0x44/0x2e0 [ 63.010470][ T154] ? ntfs_readpage+0x1277/0x2220 [ 63.015394][ T154] ntfs_readpage+0x1277/0x2220 [ 63.020151][ T154] ? ntfs_writepage+0x1360/0x1360 [ 63.025162][ T154] ? add_to_page_cache_lru+0x2a8/0x4a0 [ 63.030611][ T154] ? ntfs_writepage+0x1360/0x1360 [ 63.035618][ T154] do_read_cache_page+0x8a1/0x1030 [ 63.040721][ T154] ntfs_map_page+0x24/0x390 [ 63.045228][ T154] ntfs_sync_mft_mirror+0x24a/0x19e0 [ 63.050594][ T154] ? blk_put_request+0x20/0x20 [ 63.055358][ T154] ? submit_bio+0x2be/0x560 [ 63.059849][ T154] ? __mark_mft_record_dirty+0x180/0x180 [ 63.065476][ T154] write_mft_record_nolock+0x1223/0x17e0 [ 63.071110][ T154] ? ntfs_unmap_page+0x200/0x200 [ 63.076037][ T154] ? slab_free_freelist_hook+0xea/0x170 [ 63.081576][ T154] ? kmem_cache_free+0x14c/0x210 [ 63.086525][ T154] __ntfs_write_inode+0x7cb/0xdc0 [ 63.091547][ T154] __writeback_single_inode+0x6c3/0xda0 [ 63.097087][ T154] writeback_sb_inodes+0x9fe/0x1610 [ 63.102279][ T154] ? queue_io+0x550/0x550 [ 63.106600][ T154] ? rcu_is_watching+0x11/0xa0 [ 63.111352][ T154] wb_writeback+0x443/0xb90 [ 63.115847][ T154] ? rcu_lock_release+0x20/0x20 [ 63.120683][ T154] ? lockdep_hardirqs_on_prepare+0x3fc/0x760 [ 63.126666][ T154] ? mark_lock+0x94/0x320 [ 63.130986][ T154] ? _raw_spin_unlock_irq+0x1f/0x40 [ 63.136179][ T154] wb_workfn+0x423/0xe60 [ 63.140424][ T154] ? inode_wait_for_writeback+0x200/0x200 [ 63.146133][ T154] ? lockdep_hardirqs_on_prepare+0x3fc/0x760 [ 63.152128][ T154] ? read_lock_is_recursive+0x10/0x10 [ 63.157493][ T154] ? __schedule+0x11c0/0x43b0 [ 63.162159][ T154] ? _raw_spin_unlock_irq+0x1f/0x40 [ 63.167368][ T154] process_one_work+0x863/0x1000 [ 63.172331][ T154] ? worker_detach_from_pool+0x240/0x240 [ 63.177958][ T154] ? lockdep_hardirqs_off+0x70/0x100 [ 63.183263][ T154] ? _raw_spin_lock_irq+0xab/0xe0 [ 63.188275][ T154] ? _raw_spin_lock_irqsave+0xf0/0xf0 [ 63.193636][ T154] ? wq_worker_running+0x97/0x170 [ 63.198734][ T154] worker_thread+0xaa8/0x12a0 [ 63.203414][ T154] kthread+0x436/0x520 [ 63.207468][ T154] ? rcu_lock_release+0x20/0x20 [ 63.212351][ T154] ? kthread_blkcg+0xd0/0xd0 [ 63.216927][ T154] ret_from_fork+0x1f/0x30 [ 63.221336][ T154]