Warning: Permanently added '10.128.1.147' (ED25519) to the list of known hosts. executing program [ 35.532894][ T4016] loop0: detected capacity change from 0 to 4096 [ 35.600725][ T4016] ntfs3: loop0: Different NTFS' sector size (4096) and media sector size (512) [ 35.613991][ T4016] ntfs3: loop0: Mark volume as dirty due to NTFS errors [ 35.635675][ T4016] [ 35.636270][ T4016] ====================================================== [ 35.638031][ T4016] WARNING: possible circular locking dependency detected [ 35.639730][ T4016] 5.15.165-syzkaller #0 Not tainted [ 35.641008][ T4016] ------------------------------------------------------ [ 35.642784][ T4016] syz-executor402/4016 is trying to acquire lock: [ 35.644394][ T4016] ffff0000de3d7240 (&sb->s_type->i_mutex_key#17){+.+.}-{3:3}, at: ntfs_file_mmap+0x4b0/0x688 [ 35.647239][ T4016] [ 35.647239][ T4016] but task is already holding lock: [ 35.649095][ T4016] ffff0000c873b4d8 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x15c/0x2b4 [ 35.651368][ T4016] [ 35.651368][ T4016] which lock already depends on the new lock. [ 35.651368][ T4016] [ 35.653956][ T4016] [ 35.653956][ T4016] the existing dependency chain (in reverse order) is: [ 35.656289][ T4016] [ 35.656289][ T4016] -> #1 (&mm->mmap_lock){++++}-{3:3}: [ 35.658328][ T4016] __might_fault+0xc8/0x128 [ 35.659667][ T4016] fault_in_readable+0xdc/0x56c [ 35.661037][ T4016] fault_in_iov_iter_readable+0x130/0x1b0 [ 35.662666][ T4016] generic_perform_write+0x198/0x520 [ 35.664291][ T4016] __generic_file_write_iter+0x230/0x454 [ 35.665936][ T4016] ntfs_file_write_iter+0x40c/0x49c [ 35.667414][ T4016] vfs_write+0x884/0xb44 [ 35.668752][ T4016] ksys_write+0x15c/0x26c [ 35.670007][ T4016] __arm64_sys_write+0x7c/0x90 [ 35.671412][ T4016] invoke_syscall+0x98/0x2b8 [ 35.672744][ T4016] el0_svc_common+0x138/0x258 [ 35.674143][ T4016] do_el0_svc+0x58/0x14c [ 35.675482][ T4016] el0_svc+0x7c/0x1f0 [ 35.676725][ T4016] el0t_64_sync_handler+0x84/0xe4 [ 35.678260][ T4016] el0t_64_sync+0x1a0/0x1a4 [ 35.679743][ T4016] [ 35.679743][ T4016] -> #0 (&sb->s_type->i_mutex_key#17){+.+.}-{3:3}: [ 35.682224][ T4016] __lock_acquire+0x32d4/0x7638 [ 35.683622][ T4016] lock_acquire+0x240/0x77c [ 35.684989][ T4016] down_write+0xbc/0x12c [ 35.686296][ T4016] ntfs_file_mmap+0x4b0/0x688 [ 35.687748][ T4016] mmap_region+0xcb4/0x12f0 [ 35.689100][ T4016] do_mmap+0x6c0/0xcec [ 35.690307][ T4016] vm_mmap_pgoff+0x1a4/0x2b4 [ 35.691712][ T4016] ksys_mmap_pgoff+0x458/0x668 [ 35.693070][ T4016] __arm64_sys_mmap+0xf8/0x110 [ 35.694481][ T4016] invoke_syscall+0x98/0x2b8 [ 35.695824][ T4016] el0_svc_common+0x138/0x258 [ 35.697199][ T4016] do_el0_svc+0x58/0x14c [ 35.698466][ T4016] el0_svc+0x7c/0x1f0 [ 35.699689][ T4016] el0t_64_sync_handler+0x84/0xe4 [ 35.701126][ T4016] el0t_64_sync+0x1a0/0x1a4 [ 35.702483][ T4016] [ 35.702483][ T4016] other info that might help us debug this: [ 35.702483][ T4016] [ 35.705142][ T4016] Possible unsafe locking scenario: [ 35.705142][ T4016] [ 35.707101][ T4016] CPU0 CPU1 [ 35.708517][ T4016] ---- ---- [ 35.709944][ T4016] lock(&mm->mmap_lock); [ 35.711091][ T4016] lock(&sb->s_type->i_mutex_key#17); [ 35.713187][ T4016] lock(&mm->mmap_lock); [ 35.715002][ T4016] lock(&sb->s_type->i_mutex_key#17); [ 35.716488][ T4016] [ 35.716488][ T4016] *** DEADLOCK *** [ 35.716488][ T4016] [ 35.718689][ T4016] 1 lock held by syz-executor402/4016: [ 35.720144][ T4016] #0: ffff0000c873b4d8 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x15c/0x2b4 [ 35.722704][ T4016] [ 35.722704][ T4016] stack backtrace: [ 35.724246][ T4016] CPU: 1 PID: 4016 Comm: syz-executor402 Not tainted 5.15.165-syzkaller #0 [ 35.726597][ T4016] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 [ 35.729217][ T4016] Call trace: [ 35.730078][ T4016] dump_backtrace+0x0/0x530 [ 35.731229][ T4016] show_stack+0x2c/0x3c [ 35.732333][ T4016] dump_stack_lvl+0x108/0x170 [ 35.733619][ T4016] dump_stack+0x1c/0x58 [ 35.734668][ T4016] print_circular_bug+0x150/0x1b8 [ 35.735998][ T4016] check_noncircular+0x2cc/0x378 [ 35.737326][ T4016] __lock_acquire+0x32d4/0x7638 [ 35.738638][ T4016] lock_acquire+0x240/0x77c [ 35.739856][ T4016] down_write+0xbc/0x12c [ 35.740968][ T4016] ntfs_file_mmap+0x4b0/0x688 [ 35.742216][ T4016] mmap_region+0xcb4/0x12f0 [ 35.743416][ T4016] do_mmap+0x6c0/0xcec [ 35.744554][ T4016] vm_mmap_pgoff+0x1a4/0x2b4 [ 35.745805][ T4016] ksys_mmap_pgoff+0x458/0x668 [ 35.747105][ T4016] __arm64_sys_mmap+0xf8/0x110 [ 35.748313][ T4016] invoke_syscall+0x98/0x2b8 [ 35.749522][ T4016] el0_svc_common+0x138/0x258 [ 35.750794][ T4016] do_el0_svc+0x58/0x14c [ 35.751974][ T4016] el0_svc+0x7c/0x1f0 [ 35.753040][ T4016] el0t_64_sync_handler+0x84/0xe4 [ 35.754331][ T4016] el0t_64_sync+0x1a0/0x1a4