Warning: Permanently added '10.128.1.119' (ED25519) to the list of known hosts. executing program [ 46.123164][ T4016] loop0: detected capacity change from 0 to 4096 [ 46.214181][ T4016] ntfs3: loop0: Different NTFS' sector size (4096) and media sector size (512) [ 46.228131][ T4016] ntfs3: loop0: Mark volume as dirty due to NTFS errors [ 46.247645][ T4016] [ 46.248283][ T4016] ====================================================== [ 46.250045][ T4016] WARNING: possible circular locking dependency detected [ 46.251900][ T4016] 5.15.165-syzkaller #0 Not tainted [ 46.253222][ T4016] ------------------------------------------------------ [ 46.255041][ T4016] syz-executor103/4016 is trying to acquire lock: [ 46.256673][ T4016] ffff0000dd787240 (&sb->s_type->i_mutex_key#17){+.+.}-{3:3}, at: ntfs_file_mmap+0x4b0/0x688 [ 46.259416][ T4016] [ 46.259416][ T4016] but task is already holding lock: [ 46.261311][ T4016] ffff0000ca119818 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x15c/0x2b4 [ 46.263642][ T4016] [ 46.263642][ T4016] which lock already depends on the new lock. [ 46.263642][ T4016] [ 46.266379][ T4016] [ 46.266379][ T4016] the existing dependency chain (in reverse order) is: [ 46.268709][ T4016] [ 46.268709][ T4016] -> #1 (&mm->mmap_lock){++++}-{3:3}: [ 46.270673][ T4016] __might_fault+0xc8/0x128 [ 46.272014][ T4016] fault_in_readable+0xdc/0x56c [ 46.273407][ T4016] fault_in_iov_iter_readable+0x130/0x1b0 [ 46.275026][ T4016] generic_perform_write+0x198/0x520 [ 46.276535][ T4016] __generic_file_write_iter+0x230/0x454 [ 46.278191][ T4016] ntfs_file_write_iter+0x40c/0x49c [ 46.279674][ T4016] vfs_write+0x884/0xb44 [ 46.280913][ T4016] ksys_write+0x15c/0x26c [ 46.282178][ T4016] __arm64_sys_write+0x7c/0x90 [ 46.283573][ T4016] invoke_syscall+0x98/0x2b8 [ 46.284905][ T4016] el0_svc_common+0x138/0x258 [ 46.286256][ T4016] do_el0_svc+0x58/0x14c [ 46.287543][ T4016] el0_svc+0x7c/0x1f0 [ 46.288701][ T4016] el0t_64_sync_handler+0x84/0xe4 [ 46.290134][ T4016] el0t_64_sync+0x1a0/0x1a4 [ 46.291444][ T4016] [ 46.291444][ T4016] -> #0 (&sb->s_type->i_mutex_key#17){+.+.}-{3:3}: [ 46.293806][ T4016] __lock_acquire+0x32d4/0x7638 [ 46.295263][ T4016] lock_acquire+0x240/0x77c [ 46.296669][ T4016] down_write+0xbc/0x12c [ 46.297930][ T4016] ntfs_file_mmap+0x4b0/0x688 [ 46.299281][ T4016] mmap_region+0xcb4/0x12f0 [ 46.300547][ T4016] do_mmap+0x6c0/0xcec [ 46.301702][ T4016] vm_mmap_pgoff+0x1a4/0x2b4 [ 46.302998][ T4016] ksys_mmap_pgoff+0x458/0x668 [ 46.304416][ T4016] __arm64_sys_mmap+0xf8/0x110 [ 46.305864][ T4016] invoke_syscall+0x98/0x2b8 [ 46.307166][ T4016] el0_svc_common+0x138/0x258 [ 46.308495][ T4016] do_el0_svc+0x58/0x14c [ 46.309721][ T4016] el0_svc+0x7c/0x1f0 [ 46.310872][ T4016] el0t_64_sync_handler+0x84/0xe4 [ 46.312426][ T4016] el0t_64_sync+0x1a0/0x1a4 [ 46.313793][ T4016] [ 46.313793][ T4016] other info that might help us debug this: [ 46.313793][ T4016] [ 46.316396][ T4016] Possible unsafe locking scenario: [ 46.316396][ T4016] [ 46.318306][ T4016] CPU0 CPU1 [ 46.319687][ T4016] ---- ---- [ 46.321108][ T4016] lock(&mm->mmap_lock); [ 46.322348][ T4016] lock(&sb->s_type->i_mutex_key#17); [ 46.324428][ T4016] lock(&mm->mmap_lock); [ 46.326173][ T4016] lock(&sb->s_type->i_mutex_key#17); [ 46.327563][ T4016] [ 46.327563][ T4016] *** DEADLOCK *** [ 46.327563][ T4016] [ 46.329616][ T4016] 1 lock held by syz-executor103/4016: [ 46.331112][ T4016] #0: ffff0000ca119818 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x15c/0x2b4 [ 46.333647][ T4016] [ 46.333647][ T4016] stack backtrace: [ 46.335158][ T4016] CPU: 0 PID: 4016 Comm: syz-executor103 Not tainted 5.15.165-syzkaller #0 [ 46.337438][ T4016] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 [ 46.340161][ T4016] Call trace: [ 46.341045][ T4016] dump_backtrace+0x0/0x530 [ 46.342188][ T4016] show_stack+0x2c/0x3c [ 46.343234][ T4016] dump_stack_lvl+0x108/0x170 [ 46.344443][ T4016] dump_stack+0x1c/0x58 [ 46.345501][ T4016] print_circular_bug+0x150/0x1b8 [ 46.346758][ T4016] check_noncircular+0x2cc/0x378 [ 46.348009][ T4016] __lock_acquire+0x32d4/0x7638 [ 46.349340][ T4016] lock_acquire+0x240/0x77c [ 46.350541][ T4016] down_write+0xbc/0x12c [ 46.351642][ T4016] ntfs_file_mmap+0x4b0/0x688 [ 46.352838][ T4016] mmap_region+0xcb4/0x12f0 [ 46.353996][ T4016] do_mmap+0x6c0/0xcec [ 46.355038][ T4016] vm_mmap_pgoff+0x1a4/0x2b4 [ 46.356216][ T4016] ksys_mmap_pgoff+0x458/0x668 [ 46.357457][ T4016] __arm64_sys_mmap+0xf8/0x110 [ 46.358756][ T4016] invoke_syscall+0x98/0x2b8 [ 46.359934][ T4016] el0_svc_common+0x138/0x258 [ 46.361147][ T4016] do_el0_svc+0x58/0x14c [ 46.362218][ T4016] el0_svc+0x7c/0x1f0 [ 46.363254][ T4016] el0t_64_sync_handler+0x84/0xe4 [ 46.364536][ T4016] el0t_64_sync+0x1a0/0x1a4