Warning: Permanently added '10.128.0.188' (ED25519) to the list of known hosts. executing program [ 36.740255][ T3960] loop0: detected capacity change from 0 to 4096 [ 36.818186][ T3960] 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. [ 36.824478][ T3960] ntfs: (device loop0): read_ntfs_boot_sector(): Primary boot sector is invalid. [ 36.827090][ T3960] ntfs: (device loop0): read_ntfs_boot_sector(): Hot-fix: Recovering invalid primary boot sector from backup copy. [ 36.835176][ T3960] ntfs: (device loop0): ntfs_mapping_pairs_decompress(): Corrupt attribute. [ 36.837847][ T3960] 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). [ 36.843048][ T3960] ntfs: (device loop0): ntfs_mapping_pairs_decompress(): Corrupt attribute. [ 36.845352][ T3960] 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). [ 36.851066][ T3960] ntfs: (device loop0): ntfs_mapping_pairs_decompress(): Corrupt attribute. [ 36.853464][ T3960] 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). [ 36.859183][ T3960] ntfs: (device loop0): ntfs_mapping_pairs_decompress(): Corrupt attribute. [ 36.863377][ T3960] ntfs: volume version 3.1. [ 37.280757][ T3960] syz-executor770 (3960): drop_caches: 1 [ 37.317341][ T3960] syz-executor770 (3960): drop_caches: 1 [ 37.324274][ T136] [ 37.324931][ T136] ====================================================== [ 37.326824][ T136] WARNING: possible circular locking dependency detected [ 37.328749][ T136] 5.15.150-syzkaller #0 Not tainted [ 37.330214][ T136] ------------------------------------------------------ [ 37.332058][ T136] kworker/u4:1/136 is trying to acquire lock: [ 37.333749][ T136] ffff0000df048940 (&rl->lock){++++}-{3:3}, at: ntfs_readpage+0xf3c/0x1e04 [ 37.336134][ T136] [ 37.336134][ T136] but task is already holding lock: [ 37.338076][ T136] ffff0000df04b310 (&ni->mrec_lock){+.+.}-{3:3}, at: map_mft_record+0x6c/0x738 [ 37.340552][ T136] [ 37.340552][ T136] which lock already depends on the new lock. [ 37.340552][ T136] [ 37.343351][ T136] [ 37.343351][ T136] the existing dependency chain (in reverse order) is: [ 37.345739][ T136] [ 37.345739][ T136] -> #1 (&ni->mrec_lock){+.+.}-{3:3}: [ 37.347826][ T136] __mutex_lock_common+0x194/0x2154 [ 37.349388][ T136] mutex_lock_nested+0xa4/0xf8 [ 37.350820][ T136] map_mft_record+0x6c/0x738 [ 37.352203][ T136] ntfs_attr_extend_allocation+0x458/0x34b8 [ 37.353956][ T136] ntfs_file_write_iter+0x380/0x170c [ 37.355537][ T136] vfs_write+0x87c/0xb3c [ 37.356751][ T136] ksys_write+0x15c/0x26c [ 37.358070][ T136] __arm64_sys_write+0x7c/0x90 [ 37.359545][ T136] invoke_syscall+0x98/0x2b8 [ 37.360907][ T136] el0_svc_common+0x138/0x258 [ 37.362271][ T136] do_el0_svc+0x58/0x14c [ 37.363540][ T136] el0_svc+0x7c/0x1f0 [ 37.364820][ T136] el0t_64_sync_handler+0x84/0xe4 [ 37.366353][ T136] el0t_64_sync+0x1a0/0x1a4 [ 37.367723][ T136] [ 37.367723][ T136] -> #0 (&rl->lock){++++}-{3:3}: [ 37.369631][ T136] __lock_acquire+0x32d4/0x7638 [ 37.371113][ T136] lock_acquire+0x240/0x77c [ 37.372401][ T136] down_read+0xc0/0x398 [ 37.373673][ T136] ntfs_readpage+0xf3c/0x1e04 [ 37.375110][ T136] do_read_cache_page+0x60c/0x950 [ 37.376600][ T136] read_cache_page+0x68/0x84 [ 37.377934][ T136] ntfs_sync_mft_mirror+0x1e4/0x18f0 [ 37.379477][ T136] write_mft_record_nolock+0x104c/0x16ec [ 37.381093][ T136] __ntfs_write_inode+0x720/0xdc8 [ 37.382567][ T136] ntfs_write_inode+0x68/0x90 [ 37.383983][ T136] __writeback_single_inode+0x584/0x13a4 [ 37.385668][ T136] writeback_sb_inodes+0x94c/0x1654 [ 37.387264][ T136] wb_writeback+0x3fc/0xfc8 [ 37.388642][ T136] wb_workfn+0x3a4/0x1070 [ 37.389983][ T136] process_one_work+0x790/0x11b8 [ 37.391461][ T136] worker_thread+0x910/0x1034 [ 37.392905][ T136] kthread+0x37c/0x45c [ 37.394108][ T136] ret_from_fork+0x10/0x20 [ 37.395518][ T136] [ 37.395518][ T136] other info that might help us debug this: [ 37.395518][ T136] [ 37.398178][ T136] Possible unsafe locking scenario: [ 37.398178][ T136] [ 37.400257][ T136] CPU0 CPU1 [ 37.401658][ T136] ---- ---- [ 37.403156][ T136] lock(&ni->mrec_lock); [ 37.404294][ T136] lock(&rl->lock); [ 37.406043][ T136] lock(&ni->mrec_lock); [ 37.407919][ T136] lock(&rl->lock); [ 37.408987][ T136] [ 37.408987][ T136] *** DEADLOCK *** [ 37.408987][ T136] [ 37.411295][ T136] 3 locks held by kworker/u4:1/136: [ 37.412700][ T136] #0: ffff0000c21c8138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 [ 37.415563][ T136] #1: ffff800018f67c00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 [ 37.418868][ T136] #2: ffff0000df04b310 (&ni->mrec_lock){+.+.}-{3:3}, at: map_mft_record+0x6c/0x738 [ 37.421387][ T136] [ 37.421387][ T136] stack backtrace: [ 37.422978][ T136] CPU: 0 PID: 136 Comm: kworker/u4:1 Not tainted 5.15.150-syzkaller #0 [ 37.425145][ T136] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 [ 37.427846][ T136] Workqueue: writeback wb_workfn (flush-7:0) [ 37.429508][ T136] Call trace: [ 37.430369][ T136] dump_backtrace+0x0/0x530 [ 37.431582][ T136] show_stack+0x2c/0x3c [ 37.432722][ T136] dump_stack_lvl+0x108/0x170 [ 37.434060][ T136] dump_stack+0x1c/0x58 [ 37.435226][ T136] print_circular_bug+0x150/0x1b8 [ 37.436563][ T136] check_noncircular+0x2cc/0x378 [ 37.437942][ T136] __lock_acquire+0x32d4/0x7638 [ 37.439226][ T136] lock_acquire+0x240/0x77c [ 37.440444][ T136] down_read+0xc0/0x398 [ 37.441608][ T136] ntfs_readpage+0xf3c/0x1e04 [ 37.442900][ T136] do_read_cache_page+0x60c/0x950 [ 37.444352][ T136] read_cache_page+0x68/0x84 [ 37.445636][ T136] ntfs_sync_mft_mirror+0x1e4/0x18f0 [ 37.447107][ T136] write_mft_record_nolock+0x104c/0x16ec [ 37.448608][ T136] __ntfs_write_inode+0x720/0xdc8 [ 37.450047][ T136] ntfs_write_inode+0x68/0x90 [ 37.451283][ T136] __writeback_single_inode+0x584/0x13a4 [ 37.452850][ T136] writeback_sb_inodes+0x94c/0x1654 [ 37.454246][ T136] wb_writeback+0x3fc/0xfc8 [ 37.455488][ T136] wb_workfn+0x3a4/0x1070 [ 37.456674][ T136] process_one_work+0x790/0x11b8 [ 37.458020][ T136] worker_thread+0x910/0x1034 [ 37.459313][ T136] kthread+0x37c/0x45c [ 37.460452][ T136] ret_from_fork+0x10/0x20