Warning: Permanently added '10.128.0.159' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program [ 50.811518][ T3551] loop1: detected capacity change from 0 to 4096 [ 50.818343][ T3550] loop2: detected capacity change from 0 to 4096 [ 50.825755][ T3559] loop5: detected capacity change from 0 to 4096 [ 50.832392][ T3558] loop4: detected capacity change from 0 to 4096 [ 50.840965][ T3551] ntfs3: loop1: Different NTFS' sector size (4096) and media sector size (512) [ 50.852152][ T3558] ntfs3: loop4: Different NTFS' sector size (4096) and media sector size (512) [ 50.856189][ T3556] loop0: detected capacity change from 0 to 4096 [ 50.862516][ T3559] ntfs3: loop5: Different NTFS' sector size (4096) and media sector size (512) [ 50.870521][ T3550] ntfs3: loop2: Different NTFS' sector size (4096) and media sector size (512) [ 50.887999][ T3557] loop3: detected capacity change from 0 to 4096 [ 50.899132][ T3556] ntfs3: loop0: Different NTFS' sector size (4096) and media sector size (512) [ 50.919959][ T3557] ntfs3: loop3: Different NTFS' sector size (4096) and media sector size (512) executing program executing program [ 51.095495][ T3570] [ 51.097853][ T3570] ====================================================== [ 51.104867][ T3570] WARNING: possible circular locking dependency detected [ 51.111881][ T3570] 6.1.33-syzkaller #0 Not tainted [ 51.116901][ T3570] ------------------------------------------------------ [ 51.123914][ T3570] syz-executor315/3570 is trying to acquire lock: [ 51.130326][ T3570] ffff888028cf1f58 (&mm->mmap_lock#2){++++}-{3:3}, at: __might_fault+0x8f/0x110 [ 51.139405][ T3570] [ 51.139405][ T3570] but task is already holding lock: [ 51.146761][ T3570] ffff8880741f2e20 (&indx->run_lock){.+.+}-{3:3}, at: ni_fiemap+0x36f/0x1230 [ 51.155558][ T3570] [ 51.155558][ T3570] which lock already depends on the new lock. [ 51.155558][ T3570] [ 51.165960][ T3570] [ 51.165960][ T3570] the existing dependency chain (in reverse order) is: [ 51.174969][ T3570] [ 51.174969][ T3570] -> #2 (&indx->run_lock){.+.+}-{3:3}: [ 51.182615][ T3570] lock_acquire+0x1f8/0x5a0 [ 51.187642][ T3570] down_read+0x43/0x2e0 [ 51.192339][ T3570] indx_read+0x2c5/0x910 [ 51.197106][ T3570] indx_find+0x498/0xb00 [ 51.201871][ T3570] dir_search_u+0x1b3/0x390 [ 51.206897][ T3570] ntfs_lookup+0x102/0x1f0 [ 51.211840][ T3570] path_openat+0x10fb/0x2e60 [ 51.216958][ T3570] do_filp_open+0x230/0x480 [ 51.221985][ T3570] do_sys_openat2+0x13b/0x500 [ 51.227193][ T3570] __x64_sys_openat+0x243/0x290 [ 51.232574][ T3570] do_syscall_64+0x3d/0xb0 [ 51.237517][ T3570] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 51.243942][ T3570] [ 51.243942][ T3570] -> #1 (&ni->ni_lock/4){+.+.}-{3:3}: [ 51.251513][ T3570] lock_acquire+0x1f8/0x5a0 [ 51.256539][ T3570] __mutex_lock_common+0x1d4/0x2520 [ 51.262260][ T3570] mutex_lock_nested+0x17/0x20 [ 51.267553][ T3570] attr_data_get_block+0x429/0x2520 [ 51.273274][ T3570] ntfs_file_mmap+0x452/0x7e0 [ 51.278486][ T3570] mmap_region+0xf96/0x1fa0 [ 51.283516][ T3570] do_mmap+0x8c5/0xf60 [ 51.288112][ T3570] vm_mmap_pgoff+0x1ca/0x2d0 [ 51.293226][ T3570] ksys_mmap_pgoff+0x4f5/0x6d0 [ 51.298514][ T3570] do_syscall_64+0x3d/0xb0 [ 51.303458][ T3570] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 51.309874][ T3570] [ 51.309874][ T3570] -> #0 (&mm->mmap_lock#2){++++}-{3:3}: [ 51.317623][ T3570] validate_chain+0x1667/0x58e0 [ 51.322996][ T3570] __lock_acquire+0x125b/0x1f80 [ 51.328367][ T3570] lock_acquire+0x1f8/0x5a0 [ 51.333391][ T3570] __might_fault+0xb2/0x110 [ 51.338400][ T3570] _copy_to_user+0x26/0x130 [ 51.343413][ T3570] fiemap_fill_next_extent+0x231/0x410 [ 51.349377][ T3570] ni_fiemap+0xa5a/0x1230 [ 51.354211][ T3570] ntfs_fiemap+0x12e/0x170 [ 51.359133][ T3570] do_vfs_ioctl+0x18e9/0x2a90 [ 51.364312][ T3570] __se_sys_ioctl+0x81/0x160 [ 51.369403][ T3570] do_syscall_64+0x3d/0xb0 [ 51.374327][ T3570] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 51.380734][ T3570] [ 51.380734][ T3570] other info that might help us debug this: [ 51.380734][ T3570] [ 51.390943][ T3570] Chain exists of: [ 51.390943][ T3570] &mm->mmap_lock#2 --> &ni->ni_lock/4 --> &indx->run_lock [ 51.390943][ T3570] [ 51.403971][ T3570] Possible unsafe locking scenario: [ 51.403971][ T3570] [ 51.411398][ T3570] CPU0 CPU1 [ 51.416743][ T3570] ---- ---- [ 51.422086][ T3570] lock(&indx->run_lock); [ 51.426488][ T3570] lock(&ni->ni_lock/4); [ 51.433323][ T3570] lock(&indx->run_lock); [ 51.440239][ T3570] lock(&mm->mmap_lock#2); [ 51.444729][ T3570] [ 51.444729][ T3570] *** DEADLOCK *** [ 51.444729][ T3570] [ 51.452857][ T3570] 2 locks held by syz-executor315/3570: [ 51.458378][ T3570] #0: ffff8880741f2d40 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_fiemap+0xfb/0x170 [ 51.467510][ T3570] #1: ffff8880741f2e20 (&indx->run_lock){.+.+}-{3:3}, at: ni_fiemap+0x36f/0x1230 [ 51.476714][ T3570] [ 51.476714][ T3570] stack backtrace: [ 51.482580][ T3570] CPU: 1 PID: 3570 Comm: syz-executor315 Not tainted 6.1.33-syzkaller #0 [ 51.490969][ T3570] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 51.501002][ T3570] Call Trace: [ 51.504270][ T3570] [ 51.507190][ T3570] dump_stack_lvl+0x1e3/0x2cb [ 51.511857][ T3570] ? nf_tcp_handle_invalid+0x642/0x642 [ 51.517305][ T3570] ? print_circular_bug+0x12b/0x1a0 [ 51.522489][ T3570] check_noncircular+0x2fa/0x3b0 [ 51.527413][ T3570] ? add_chain_block+0x850/0x850 [ 51.532336][ T3570] ? lockdep_lock+0x11f/0x2a0 [ 51.537003][ T3570] ? stack_trace_save+0x1c0/0x1c0 [ 51.542014][ T3570] ? kernel_text_address+0x9f/0xd0 [ 51.547115][ T3570] ? _find_first_zero_bit+0xd0/0x100 [ 51.552389][ T3570] validate_chain+0x1667/0x58e0 [ 51.557226][ T3570] ? check_path+0x21/0x40 [ 51.561546][ T3570] ? lockdep_unlock+0x165/0x300 [ 51.566385][ T3570] ? lockdep_unlock+0x165/0x300 [ 51.571228][ T3570] ? reacquire_held_locks+0x660/0x660 [ 51.576597][ T3570] ? validate_chain+0x13d1/0x58e0 [ 51.581631][ T3570] ? mark_lock+0x9a/0x340 [ 51.585954][ T3570] __lock_acquire+0x125b/0x1f80 [ 51.590794][ T3570] lock_acquire+0x1f8/0x5a0 [ 51.595281][ T3570] ? __might_fault+0x8f/0x110 [ 51.599947][ T3570] ? read_lock_is_recursive+0x10/0x10 [ 51.605309][ T3570] ? __might_sleep+0xb0/0xb0 [ 51.609896][ T3570] __might_fault+0xb2/0x110 [ 51.614396][ T3570] ? __might_fault+0x8f/0x110 [ 51.619063][ T3570] _copy_to_user+0x26/0x130 [ 51.623570][ T3570] fiemap_fill_next_extent+0x231/0x410 [ 51.629042][ T3570] ? vfs_ioctl+0xc0/0xc0 [ 51.633288][ T3570] ? run_lookup_entry+0x3f6/0x560 [ 51.638317][ T3570] ni_fiemap+0xa5a/0x1230 [ 51.642657][ T3570] ? ni_parse_reparse+0x680/0x680 [ 51.647678][ T3570] ? fiemap_prep+0x19a/0x240 [ 51.652252][ T3570] ntfs_fiemap+0x12e/0x170 [ 51.656656][ T3570] ? ntfs_file_open+0x200/0x200 [ 51.661501][ T3570] ? __might_fault+0xb2/0x110 [ 51.666164][ T3570] ? ntfs_file_open+0x200/0x200 [ 51.671003][ T3570] do_vfs_ioctl+0x18e9/0x2a90 [ 51.675678][ T3570] ? __x64_compat_sys_ioctl+0x80/0x80 [ 51.681040][ T3570] ? __lock_acquire+0x1f80/0x1f80 [ 51.686056][ T3570] ? lockdep_hardirqs_on+0x94/0x130 [ 51.691248][ T3570] ? __kmem_cache_free+0x25c/0x3c0 [ 51.696345][ T3570] ? tomoyo_path_number_perm+0x5f4/0x7b0 [ 51.701964][ T3570] ? tomoyo_path_number_perm+0x657/0x7b0 [ 51.707588][ T3570] ? tomoyo_check_path_acl+0x1c0/0x1c0 [ 51.713040][ T3570] ? rcu_lock_release+0x9/0x20 [ 51.717800][ T3570] ? bpf_lsm_file_ioctl+0x5/0x10 [ 51.722725][ T3570] ? security_file_ioctl+0x7d/0xa0 [ 51.727824][ T3570] __se_sys_ioctl+0x81/0x160 [ 51.732402][ T3570] do_syscall_64+0x3d/0xb0 [ 51.736802][ T3570] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 51.742682][ T3570] RIP: 0033:0x7f064a57c439 [ 51.747082][ T3570] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 31 18 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 51.766683][ T3570] RSP: 002b:00007f06422de208 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 51.775089][ T3570] RAX: ffffffffffffffda RBX: 00007f064a6187a8 RCX: 00007f064a57c439 [ 51.783056][ T3570] RDX: 0000000020000080 RSI: 00000000c020660b RDI: 0000000000000005 executing program executing program executing program [ 51.791013][ T3570] RBP: 00007f064a6187a0 R08: 0000000000000000 R09: 0000000000000000 [ 51.798972][ T3570] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f064a6187ac [ 51.806930][ T3570] R13: 00007fff976e268f R14: 00007f06422de300 R15: 0000000000022000 [ 51.814897][ T3570] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program