Warning: Permanently added '10.128.0.245' (ED25519) to the list of known hosts. executing program [ 64.022168][ T4017] loop0: detected capacity change from 0 to 4096 [ 64.094403][ T4017] ntfs3: loop0: Different NTFS' sector size (4096) and media sector size (512) [ 64.112612][ T4017] ntfs3: loop0: Mark volume as dirty due to NTFS errors [ 64.122792][ T4017] [ 64.123490][ T4017] ====================================================== [ 64.125227][ T4017] WARNING: possible circular locking dependency detected [ 64.127040][ T4017] 5.15.165-syzkaller #0 Not tainted [ 64.128394][ T4017] ------------------------------------------------------ [ 64.130225][ T4017] syz-executor402/4017 is trying to acquire lock: [ 64.131873][ T4017] ffff0000de357240 (&sb->s_type->i_mutex_key#17){+.+.}-{3:3}, at: ntfs_file_mmap+0x4b0/0x688 [ 64.134768][ T4017] [ 64.134768][ T4017] but task is already holding lock: [ 64.136691][ T4017] ffff0000c7f89258 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x15c/0x2b4 [ 64.139138][ T4017] [ 64.139138][ T4017] which lock already depends on the new lock. [ 64.139138][ T4017] [ 64.141879][ T4017] [ 64.141879][ T4017] the existing dependency chain (in reverse order) is: [ 64.144379][ T4017] [ 64.144379][ T4017] -> #1 (&mm->mmap_lock){++++}-{3:3}: [ 64.146471][ T4017] __might_fault+0xc8/0x128 [ 64.147872][ T4017] fault_in_readable+0xdc/0x56c [ 64.149365][ T4017] fault_in_iov_iter_readable+0x130/0x1b0 [ 64.151027][ T4017] generic_perform_write+0x198/0x520 [ 64.152626][ T4017] __generic_file_write_iter+0x230/0x454 [ 64.154361][ T4017] ntfs_file_write_iter+0x40c/0x49c [ 64.155971][ T4017] vfs_write+0x884/0xb44 [ 64.157392][ T4017] ksys_write+0x15c/0x26c [ 64.158691][ T4017] __arm64_sys_write+0x7c/0x90 [ 64.160242][ T4017] invoke_syscall+0x98/0x2b8 [ 64.161687][ T4017] el0_svc_common+0x138/0x258 [ 64.163179][ T4017] do_el0_svc+0x58/0x14c [ 64.164493][ T4017] el0_svc+0x7c/0x1f0 [ 64.165749][ T4017] el0t_64_sync_handler+0x84/0xe4 [ 64.167302][ T4017] el0t_64_sync+0x1a0/0x1a4 [ 64.168669][ T4017] [ 64.168669][ T4017] -> #0 (&sb->s_type->i_mutex_key#17){+.+.}-{3:3}: [ 64.171160][ T4017] __lock_acquire+0x32d4/0x7638 [ 64.172627][ T4017] lock_acquire+0x240/0x77c [ 64.174036][ T4017] down_write+0xbc/0x12c [ 64.175341][ T4017] ntfs_file_mmap+0x4b0/0x688 [ 64.176754][ T4017] mmap_region+0xcb4/0x12f0 [ 64.178203][ T4017] do_mmap+0x6c0/0xcec [ 64.179536][ T4017] vm_mmap_pgoff+0x1a4/0x2b4 [ 64.180923][ T4017] ksys_mmap_pgoff+0x458/0x668 [ 64.182373][ T4017] __arm64_sys_mmap+0xf8/0x110 [ 64.183820][ T4017] invoke_syscall+0x98/0x2b8 [ 64.185211][ T4017] el0_svc_common+0x138/0x258 [ 64.186680][ T4017] do_el0_svc+0x58/0x14c [ 64.188031][ T4017] el0_svc+0x7c/0x1f0 [ 64.189317][ T4017] el0t_64_sync_handler+0x84/0xe4 [ 64.190808][ T4017] el0t_64_sync+0x1a0/0x1a4 [ 64.192150][ T4017] [ 64.192150][ T4017] other info that might help us debug this: [ 64.192150][ T4017] [ 64.194949][ T4017] Possible unsafe locking scenario: [ 64.194949][ T4017] [ 64.197031][ T4017] CPU0 CPU1 [ 64.198548][ T4017] ---- ---- [ 64.200127][ T4017] lock(&mm->mmap_lock); [ 64.201389][ T4017] lock(&sb->s_type->i_mutex_key#17); [ 64.203674][ T4017] lock(&mm->mmap_lock); [ 64.205540][ T4017] lock(&sb->s_type->i_mutex_key#17); [ 64.207147][ T4017] [ 64.207147][ T4017] *** DEADLOCK *** [ 64.207147][ T4017] [ 64.209508][ T4017] 1 lock held by syz-executor402/4017: [ 64.211102][ T4017] #0: ffff0000c7f89258 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x15c/0x2b4 [ 64.213821][ T4017] [ 64.213821][ T4017] stack backtrace: [ 64.215490][ T4017] CPU: 1 PID: 4017 Comm: syz-executor402 Not tainted 5.15.165-syzkaller #0 [ 64.217850][ T4017] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 [ 64.220589][ T4017] Call trace: [ 64.221425][ T4017] dump_backtrace+0x0/0x530 [ 64.222590][ T4017] show_stack+0x2c/0x3c [ 64.223696][ T4017] dump_stack_lvl+0x108/0x170 [ 64.224934][ T4017] dump_stack+0x1c/0x58 [ 64.226113][ T4017] print_circular_bug+0x150/0x1b8 [ 64.227435][ T4017] check_noncircular+0x2cc/0x378 [ 64.228730][ T4017] __lock_acquire+0x32d4/0x7638 [ 64.230035][ T4017] lock_acquire+0x240/0x77c [ 64.231212][ T4017] down_write+0xbc/0x12c [ 64.232361][ T4017] ntfs_file_mmap+0x4b0/0x688 [ 64.233650][ T4017] mmap_region+0xcb4/0x12f0 [ 64.234895][ T4017] do_mmap+0x6c0/0xcec [ 64.235988][ T4017] vm_mmap_pgoff+0x1a4/0x2b4 [ 64.237209][ T4017] ksys_mmap_pgoff+0x458/0x668 [ 64.238555][ T4017] __arm64_sys_mmap+0xf8/0x110 [ 64.239810][ T4017] invoke_syscall+0x98/0x2b8 [ 64.241108][ T4017] el0_svc_common+0x138/0x258 [ 64.242493][ T4017] do_el0_svc+0x58/0x14c [ 64.243802][ T4017] el0_svc+0x7c/0x1f0 [ 64.244875][ T4017] el0t_64_sync_handler+0x84/0xe4 [ 64.246311][ T4017] el0t_64_sync+0x1a0/0x1a4 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program