Warning: Permanently added '10.128.0.106' (ECDSA) to the list of known hosts. executing program [ 36.830755][ T4216] loop0: detected capacity change from 0 to 4096 [ 36.858024][ T4216] [ 36.858561][ T4216] ====================================================== [ 36.859912][ T4216] WARNING: possible circular locking dependency detected [ 36.861298][ T4216] 6.1.35-syzkaller #0 Not tainted [ 36.862340][ T4216] ------------------------------------------------------ [ 36.863770][ T4216] syz-executor339/4216 is trying to acquire lock: [ 36.865060][ T4216] ffff0000d4a4c948 (&mm->mmap_lock){++++}-{3:3}, at: __might_fault+0x9c/0x124 [ 36.866955][ T4216] [ 36.866955][ T4216] but task is already holding lock: [ 36.868557][ T4216] ffff0000e2067050 (&ni->file.run_lock#3){++++}-{3:3}, at: ni_fiemap+0x494/0xe10 [ 36.870451][ T4216] [ 36.870451][ T4216] which lock already depends on the new lock. [ 36.870451][ T4216] [ 36.872531][ T4216] [ 36.872531][ T4216] the existing dependency chain (in reverse order) is: [ 36.874395][ T4216] [ 36.874395][ T4216] -> #1 (&ni->file.run_lock#3){++++}-{3:3}: [ 36.876101][ T4216] down_read+0x64/0x308 [ 36.877086][ T4216] attr_data_get_block+0x220/0x1bdc [ 36.878233][ T4216] ntfs_file_mmap+0x3a4/0x688 [ 36.879340][ T4216] mmap_region+0xdd0/0x1a98 [ 36.880399][ T4216] do_mmap+0xa00/0x1108 [ 36.881418][ T4216] vm_mmap_pgoff+0x1a4/0x2b4 [ 36.882562][ T4216] ksys_mmap_pgoff+0x3c8/0x5b0 [ 36.883722][ T4216] __arm64_sys_mmap+0xf8/0x110 [ 36.884857][ T4216] invoke_syscall+0x98/0x2c0 [ 36.886025][ T4216] el0_svc_common+0x138/0x258 [ 36.887193][ T4216] do_el0_svc+0x64/0x218 [ 36.888177][ T4216] el0_svc+0x58/0x168 [ 36.889088][ T4216] el0t_64_sync_handler+0x84/0xf0 [ 36.890296][ T4216] el0t_64_sync+0x18c/0x190 [ 36.891283][ T4216] [ 36.891283][ T4216] -> #0 (&mm->mmap_lock){++++}-{3:3}: [ 36.892826][ T4216] __lock_acquire+0x3338/0x764c [ 36.893990][ T4216] lock_acquire+0x26c/0x7cc [ 36.895067][ T4216] __might_fault+0xc4/0x124 [ 36.896209][ T4216] fiemap_fill_next_extent+0x1b4/0x424 [ 36.897450][ T4216] ni_fiemap+0x7dc/0xe10 [ 36.898436][ T4216] ntfs_fiemap+0x110/0x168 [ 36.899466][ T4216] do_vfs_ioctl+0x194c/0x26f8 [ 36.900592][ T4216] __arm64_sys_ioctl+0xe4/0x1c8 [ 36.901682][ T4216] invoke_syscall+0x98/0x2c0 [ 36.902699][ T4216] el0_svc_common+0x138/0x258 [ 36.903744][ T4216] do_el0_svc+0x64/0x218 [ 36.904702][ T4216] el0_svc+0x58/0x168 [ 36.905660][ T4216] el0t_64_sync_handler+0x84/0xf0 [ 36.906837][ T4216] el0t_64_sync+0x18c/0x190 [ 36.907886][ T4216] [ 36.907886][ T4216] other info that might help us debug this: [ 36.907886][ T4216] [ 36.910009][ T4216] Possible unsafe locking scenario: [ 36.910009][ T4216] [ 36.911583][ T4216] CPU0 CPU1 [ 36.912706][ T4216] ---- ---- [ 36.913826][ T4216] lock(&ni->file.run_lock#3); [ 36.914850][ T4216] lock(&mm->mmap_lock); [ 36.916252][ T4216] lock(&ni->file.run_lock#3); [ 36.917797][ T4216] lock(&mm->mmap_lock); [ 36.918702][ T4216] [ 36.918702][ T4216] *** DEADLOCK *** [ 36.918702][ T4216] [ 36.920389][ T4216] 2 locks held by syz-executor339/4216: [ 36.921550][ T4216] #0: ffff0000e2066fa0 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_fiemap+0xec/0x168 [ 36.923632][ T4216] #1: ffff0000e2067050 (&ni->file.run_lock#3){++++}-{3:3}, at: ni_fiemap+0x494/0xe10 [ 36.925611][ T4216] [ 36.925611][ T4216] stack backtrace: [ 36.926770][ T4216] CPU: 0 PID: 4216 Comm: syz-executor339 Not tainted 6.1.35-syzkaller #0 [ 36.928513][ T4216] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 [ 36.930702][ T4216] Call trace: [ 36.931372][ T4216] dump_backtrace+0x1c8/0x1f4 [ 36.932369][ T4216] show_stack+0x2c/0x3c [ 36.933181][ T4216] dump_stack_lvl+0x108/0x170 [ 36.934156][ T4216] dump_stack+0x1c/0x58 [ 36.935001][ T4216] print_circular_bug+0x150/0x1b8 [ 36.936034][ T4216] check_noncircular+0x2cc/0x378 [ 36.937028][ T4216] __lock_acquire+0x3338/0x764c [ 36.938000][ T4216] lock_acquire+0x26c/0x7cc [ 36.938963][ T4216] __might_fault+0xc4/0x124 [ 36.939917][ T4216] fiemap_fill_next_extent+0x1b4/0x424 [ 36.941117][ T4216] ni_fiemap+0x7dc/0xe10 [ 36.942031][ T4216] ntfs_fiemap+0x110/0x168 [ 36.942993][ T4216] do_vfs_ioctl+0x194c/0x26f8 [ 36.943937][ T4216] __arm64_sys_ioctl+0xe4/0x1c8 [ 36.945001][ T4216] invoke_syscall+0x98/0x2c0 [ 36.945965][ T4216] el0_svc_common+0x138/0x258 [ 36.946885][ T4216] do_el0_svc+0x64/0x218 [ 36.947724][ T4216] el0_svc+0x58/0x168 [ 36.948584][ T4216] el0t_64_sync_handler+0x84/0xf0 [ 36.949639][ T4216] el0t_64_sync+0x18c/0x190