Warning: Permanently added '10.128.1.150' (ED25519) to the list of known hosts. executing program [ 34.523864][ T6098] loop0: detected capacity change from 0 to 4096 [ 34.527294][ T6098] 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. [ 34.540561][ T6098] ntfs: volume version 3.1. [ 34.694457][ T6098] syz-executor113 (6098): drop_caches: 1 [ 34.701413][ T519] [ 34.702030][ T519] ====================================================== [ 34.703891][ T519] WARNING: possible circular locking dependency detected [ 34.705519][ T519] 6.7.0-rc4-syzkaller-gd46efae31672 #0 Not tainted [ 34.707045][ T519] ------------------------------------------------------ [ 34.708798][ T519] kworker/u4:9/519 is trying to acquire lock: [ 34.710171][ T519] ffff0000dc3e0940 (&rl->lock){++++}-{3:3}, at: ntfs_read_folio+0xd80/0x1c00 [ 34.712398][ T519] [ 34.712398][ T519] but task is already holding lock: [ 34.714246][ T519] ffff0000dc3e3310 (&ni->mrec_lock){+.+.}-{3:3}, at: map_mft_record+0x64/0x7b4 [ 34.716521][ T519] [ 34.716521][ T519] which lock already depends on the new lock. [ 34.716521][ T519] [ 34.719155][ T519] [ 34.719155][ T519] the existing dependency chain (in reverse order) is: [ 34.721394][ T519] [ 34.721394][ T519] -> #1 (&ni->mrec_lock){+.+.}-{3:3}: [ 34.723299][ T519] __mutex_lock_common+0x190/0x21a0 [ 34.724724][ T519] mutex_lock_nested+0x2c/0x38 [ 34.725996][ T519] map_mft_record+0x64/0x7b4 [ 34.727214][ T519] ntfs_attr_extend_allocation+0x458/0x3470 [ 34.728678][ T519] ntfs_file_write_iter+0x298/0x1738 [ 34.730135][ T519] do_iter_write+0x654/0xa78 [ 34.731447][ T519] do_pwritev+0x1ec/0x334 [ 34.732653][ T519] __arm64_sys_pwritev2+0xd4/0x108 [ 34.734051][ T519] invoke_syscall+0x98/0x2b8 [ 34.735344][ T519] el0_svc_common+0x130/0x23c [ 34.736630][ T519] do_el0_svc+0x48/0x58 [ 34.737797][ T519] el0_svc+0x54/0x158 [ 34.738859][ T519] el0t_64_sync_handler+0x84/0xfc [ 34.740241][ T519] el0t_64_sync+0x190/0x194 [ 34.741589][ T519] [ 34.741589][ T519] -> #0 (&rl->lock){++++}-{3:3}: [ 34.743400][ T519] __lock_acquire+0x3384/0x763c [ 34.744804][ T519] lock_acquire+0x23c/0x71c [ 34.746018][ T519] down_read+0x58/0x2fc [ 34.747153][ T519] ntfs_read_folio+0xd80/0x1c00 [ 34.748473][ T519] filemap_read_folio+0x14c/0x39c [ 34.749840][ T519] do_read_cache_folio+0x114/0x548 [ 34.751171][ T519] read_cache_page+0x6c/0x15c [ 34.752436][ T519] ntfs_sync_mft_mirror+0x1cc/0x1890 [ 34.753842][ T519] write_mft_record_nolock+0x100c/0x1630 [ 34.755354][ T519] write_mft_record+0x144/0x1bc [ 34.756669][ T519] __ntfs_write_inode+0x5cc/0xa78 [ 34.758035][ T519] ntfs_write_inode+0x68/0x90 [ 34.759321][ T519] __writeback_single_inode+0x5a8/0x146c [ 34.760814][ T519] writeback_sb_inodes+0x718/0x1010 [ 34.762259][ T519] wb_writeback+0x3f4/0xfc0 [ 34.763533][ T519] wb_workfn+0x37c/0xf9c [ 34.764713][ T519] process_one_work+0x694/0x1204 [ 34.766017][ T519] worker_thread+0x938/0xef4 [ 34.767265][ T519] kthread+0x288/0x310 [ 34.768418][ T519] ret_from_fork+0x10/0x20 [ 34.769629][ T519] [ 34.769629][ T519] other info that might help us debug this: [ 34.769629][ T519] [ 34.772167][ T519] Possible unsafe locking scenario: [ 34.772167][ T519] [ 34.773966][ T519] CPU0 CPU1 [ 34.775254][ T519] ---- ---- [ 34.776584][ T519] lock(&ni->mrec_lock); [ 34.777739][ T519] lock(&rl->lock); [ 34.779317][ T519] lock(&ni->mrec_lock); [ 34.781012][ T519] rlock(&rl->lock); [ 34.781956][ T519] [ 34.781956][ T519] *** DEADLOCK *** [ 34.781956][ T519] [ 34.783907][ T519] 3 locks held by kworker/u4:9/519: [ 34.785108][ T519] #0: ffff0000c1c3a138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x560/0x1204 [ 34.787928][ T519] #1: ffff800097bb7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x5a0/0x1204 [ 34.790877][ T519] #2: ffff0000dc3e3310 (&ni->mrec_lock){+.+.}-{3:3}, at: map_mft_record+0x64/0x7b4 [ 34.793270][ T519] [ 34.793270][ T519] stack backtrace: [ 34.794747][ T519] CPU: 0 PID: 519 Comm: kworker/u4:9 Not tainted 6.7.0-rc4-syzkaller-gd46efae31672 #0 [ 34.797151][ T519] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 34.799560][ T519] Workqueue: writeback wb_workfn (flush-7:0) [ 34.801012][ T519] Call trace: [ 34.801809][ T519] dump_backtrace+0x1b8/0x1e4 [ 34.802992][ T519] show_stack+0x2c/0x44 [ 34.804111][ T519] dump_stack_lvl+0xd0/0x124 [ 34.805310][ T519] dump_stack+0x1c/0x28 [ 34.806318][ T519] print_circular_bug+0x150/0x1b8 [ 34.807576][ T519] check_noncircular+0x310/0x404 [ 34.808863][ T519] __lock_acquire+0x3384/0x763c [ 34.810073][ T519] lock_acquire+0x23c/0x71c [ 34.811230][ T519] down_read+0x58/0x2fc [ 34.812258][ T519] ntfs_read_folio+0xd80/0x1c00 [ 34.813453][ T519] filemap_read_folio+0x14c/0x39c [ 34.814673][ T519] do_read_cache_folio+0x114/0x548 [ 34.815931][ T519] read_cache_page+0x6c/0x15c [ 34.817220][ T519] ntfs_sync_mft_mirror+0x1cc/0x1890 [ 34.818574][ T519] write_mft_record_nolock+0x100c/0x1630 [ 34.820003][ T519] write_mft_record+0x144/0x1bc [ 34.821180][ T519] __ntfs_write_inode+0x5cc/0xa78 [ 34.822437][ T519] ntfs_write_inode+0x68/0x90 [ 34.823628][ T519] __writeback_single_inode+0x5a8/0x146c [ 34.825027][ T519] writeback_sb_inodes+0x718/0x1010 [ 34.826239][ T519] wb_writeback+0x3f4/0xfc0 [ 34.827364][ T519] wb_workfn+0x37c/0xf9c [ 34.828435][ T519] process_one_work+0x694/0x1204 [ 34.829697][ T519] worker_thread+0x938/0xef4 [ 34.830832][ T519] kthread+0x288/0x310 [ 34.831836][ T519] ret_from_fork+0x10/0x20