Warning: Permanently added '10.128.0.170' (ECDSA) to the list of known hosts. executing program [ 44.532180][ T3963] loop0: detected capacity change from 0 to 4096 [ 44.565786][ T3963] [ 44.566333][ T3963] ====================================================== [ 44.567676][ T3963] WARNING: possible circular locking dependency detected [ 44.569065][ T3963] 5.15.118-syzkaller #0 Not tainted [ 44.570129][ T3963] ------------------------------------------------------ [ 44.571568][ T3963] syz-executor225/3963 is trying to acquire lock: [ 44.572897][ T3963] ffff0000c1d4e898 (&mm->mmap_lock){++++}-{3:3}, at: __might_fault+0xa0/0x128 [ 44.574701][ T3963] [ 44.574701][ T3963] but task is already holding lock: [ 44.576178][ T3963] ffff0000df44f050 (&ni->file.run_lock#3){++++}-{3:3}, at: ni_fiemap+0x494/0xe10 [ 44.578051][ T3963] [ 44.578051][ T3963] which lock already depends on the new lock. [ 44.578051][ T3963] [ 44.580246][ T3963] [ 44.580246][ T3963] the existing dependency chain (in reverse order) is: [ 44.582076][ T3963] [ 44.582076][ T3963] -> #1 (&ni->file.run_lock#3){++++}-{3:3}: [ 44.583723][ T3963] down_read+0xc0/0x398 [ 44.584671][ T3963] attr_data_get_block+0x21c/0x1c18 [ 44.585888][ T3963] ntfs_file_mmap+0x3a4/0x688 [ 44.586941][ T3963] mmap_region+0xcb4/0x12f0 [ 44.587926][ T3963] do_mmap+0x6c0/0xcec [ 44.588870][ T3963] vm_mmap_pgoff+0x1a4/0x2b4 [ 44.589885][ T3963] ksys_mmap_pgoff+0x458/0x668 [ 44.590972][ T3963] __arm64_sys_mmap+0xf8/0x110 [ 44.592040][ T3963] invoke_syscall+0x98/0x2b8 [ 44.593121][ T3963] el0_svc_common+0x138/0x258 [ 44.594169][ T3963] do_el0_svc+0x58/0x14c [ 44.595134][ T3963] el0_svc+0x7c/0x1f0 [ 44.596071][ T3963] el0t_64_sync_handler+0x84/0xe4 [ 44.597193][ T3963] el0t_64_sync+0x1a0/0x1a4 [ 44.598246][ T3963] [ 44.598246][ T3963] -> #0 (&mm->mmap_lock){++++}-{3:3}: [ 44.599808][ T3963] __lock_acquire+0x32cc/0x7620 [ 44.600931][ T3963] lock_acquire+0x240/0x77c [ 44.601945][ T3963] __might_fault+0xc8/0x128 [ 44.602971][ T3963] fiemap_fill_next_extent+0x1b4/0x44c [ 44.604205][ T3963] ni_fiemap+0x7dc/0xe10 [ 44.605162][ T3963] ntfs_fiemap+0x110/0x168 [ 44.606179][ T3963] do_vfs_ioctl+0x1bcc/0x2a38 [ 44.607238][ T3963] __arm64_sys_ioctl+0xe4/0x1c8 [ 44.608378][ T3963] invoke_syscall+0x98/0x2b8 [ 44.609429][ T3963] el0_svc_common+0x138/0x258 [ 44.610489][ T3963] do_el0_svc+0x58/0x14c [ 44.611429][ T3963] el0_svc+0x7c/0x1f0 [ 44.612371][ T3963] el0t_64_sync_handler+0x84/0xe4 [ 44.613566][ T3963] el0t_64_sync+0x1a0/0x1a4 [ 44.614625][ T3963] [ 44.614625][ T3963] other info that might help us debug this: [ 44.614625][ T3963] [ 44.616684][ T3963] Possible unsafe locking scenario: [ 44.616684][ T3963] [ 44.618189][ T3963] CPU0 CPU1 [ 44.619305][ T3963] ---- ---- [ 44.620434][ T3963] lock(&ni->file.run_lock#3); [ 44.621411][ T3963] lock(&mm->mmap_lock); [ 44.622786][ T3963] lock(&ni->file.run_lock#3); [ 44.624380][ T3963] lock(&mm->mmap_lock); [ 44.625236][ T3963] [ 44.625236][ T3963] *** DEADLOCK *** [ 44.625236][ T3963] [ 44.626860][ T3963] 2 locks held by syz-executor225/3963: [ 44.628012][ T3963] #0: ffff0000df44efa0 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_fiemap+0xec/0x168 [ 44.630000][ T3963] #1: ffff0000df44f050 (&ni->file.run_lock#3){++++}-{3:3}, at: ni_fiemap+0x494/0xe10 [ 44.631930][ T3963] [ 44.631930][ T3963] stack backtrace: [ 44.633192][ T3963] CPU: 1 PID: 3963 Comm: syz-executor225 Not tainted 5.15.118-syzkaller #0 [ 44.634968][ T3963] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 [ 44.636983][ T3963] Call trace: [ 44.637638][ T3963] dump_backtrace+0x0/0x530 [ 44.638576][ T3963] show_stack+0x2c/0x3c [ 44.639418][ T3963] dump_stack_lvl+0x108/0x170 [ 44.640416][ T3963] dump_stack+0x1c/0x58 [ 44.641237][ T3963] print_circular_bug+0x150/0x1b8 [ 44.642253][ T3963] check_noncircular+0x2cc/0x378 [ 44.643239][ T3963] __lock_acquire+0x32cc/0x7620 [ 44.644240][ T3963] lock_acquire+0x240/0x77c [ 44.645170][ T3963] __might_fault+0xc8/0x128 [ 44.646081][ T3963] fiemap_fill_next_extent+0x1b4/0x44c [ 44.647194][ T3963] ni_fiemap+0x7dc/0xe10 [ 44.648051][ T3963] ntfs_fiemap+0x110/0x168 [ 44.648962][ T3963] do_vfs_ioctl+0x1bcc/0x2a38 [ 44.649899][ T3963] __arm64_sys_ioctl+0xe4/0x1c8 [ 44.650870][ T3963] invoke_syscall+0x98/0x2b8 [ 44.651811][ T3963] el0_svc_common+0x138/0x258 [ 44.652768][ T3963] do_el0_svc+0x58/0x14c [ 44.653617][ T3963] el0_svc+0x7c/0x1f0 [ 44.654456][ T3963] el0t_64_sync_handler+0x84/0xe4 [ 44.655527][ T3963] el0t_64_sync+0x1a0/0x1a4