Warning: Permanently added '10.128.1.144' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program executing program syzkaller login: [ 71.953704][ T5068] loop3: detected capacity change from 0 to 4096 [ 71.973932][ T5072] loop5: detected capacity change from 0 to 4096 [ 71.995452][ T5070] loop2: detected capacity change from 0 to 4096 [ 72.024786][ T5065] loop1: detected capacity change from 0 to 4096 [ 72.024982][ T5066] loop0: detected capacity change from 0 to 4096 [ 72.040939][ T5071] loop4: detected capacity change from 0 to 4096 [ 72.082441][ T5066] ntfs3: loop0: Failed to initialize $Extend/$ObjId. [ 72.117450][ T5068] ntfs3: loop3: Failed to initialize $Extend/$ObjId. [ 72.126641][ T5071] ntfs3: loop4: Failed to initialize $Extend/$ObjId. [ 72.145104][ T5072] ntfs3: loop5: Failed to initialize $Extend/$ObjId. [ 72.161402][ T5065] ntfs3: loop1: Failed to initialize $Extend/$ObjId. [ 72.182278][ T5070] ntfs3: loop2: Failed to initialize $Extend/$ObjId. [ 72.430951][ T5075] [ 72.433340][ T5075] ====================================================== [ 72.440375][ T5075] WARNING: possible circular locking dependency detected [ 72.447423][ T5075] 6.7.0-rc1-syzkaller-00012-g9bacdd8996c7 #0 Not tainted [ 72.454463][ T5075] ------------------------------------------------------ [ 72.461503][ T5075] syz-executor242/5075 is trying to acquire lock: [ 72.467947][ T5075] ffff8880755a8100 (&ni->ni_lock#2/4){+.+.}-{3:3}, at: attr_data_get_block+0x46d/0x2da0 [ 72.477784][ T5075] [ 72.477784][ T5075] but task is already holding lock: [ 72.485165][ T5075] ffff88802a1c01a0 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x181/0x420 [ 72.494186][ T5075] [ 72.494186][ T5075] which lock already depends on the new lock. [ 72.494186][ T5075] [ 72.504612][ T5075] [ 72.504612][ T5075] the existing dependency chain (in reverse order) is: [ 72.513643][ T5075] [ 72.513643][ T5075] -> #1 (&mm->mmap_lock){++++}-{3:3}: [ 72.521243][ T5075] lock_acquire+0x1e3/0x530 [ 72.526388][ T5075] __might_fault+0xc1/0x120 [ 72.531528][ T5075] _copy_to_user+0x2a/0xa0 [ 72.536492][ T5075] fiemap_fill_next_extent+0x235/0x410 [ 72.542509][ T5075] ni_fiemap+0x100b/0x1230 [ 72.547491][ T5075] ntfs_fiemap+0x132/0x180 [ 72.552462][ T5075] do_vfs_ioctl+0x19ea/0x2b40 [ 72.557699][ T5075] __se_sys_ioctl+0x81/0x170 [ 72.562861][ T5075] do_syscall_64+0x45/0x110 [ 72.567954][ T5075] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 72.574405][ T5075] executing program [ 72.574405][ T5075] -> #0 (&ni->ni_lock#2/4){+.+.}-{3:3}: [ 72.582200][ T5075] validate_chain+0x18e4/0x59f0 [ 72.587605][ T5075] __lock_acquire+0x1345/0x1fd0 [ 72.593011][ T5075] lock_acquire+0x1e3/0x530 [ 72.598068][ T5075] __mutex_lock+0x136/0xd60 [ 72.603134][ T5075] attr_data_get_block+0x46d/0x2da0 [ 72.608922][ T5075] ntfs_file_mmap+0x453/0x7a0 [ 72.614156][ T5075] mmap_region+0xf47/0x1fa0 [ 72.619314][ T5075] do_mmap+0x76b/0xde0 [ 72.623944][ T5075] vm_mmap_pgoff+0x1e2/0x420 [ 72.629094][ T5075] ksys_mmap_pgoff+0x4ff/0x6d0 [ 72.634434][ T5075] do_syscall_64+0x45/0x110 [ 72.639493][ T5075] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 72.645947][ T5075] [ 72.645947][ T5075] other info that might help us debug this: [ 72.645947][ T5075] [ 72.656202][ T5075] Possible unsafe locking scenario: [ 72.656202][ T5075] [ 72.663675][ T5075] CPU0 CPU1 [ 72.669061][ T5075] ---- ---- [ 72.674452][ T5075] lock(&mm->mmap_lock); [ 72.678814][ T5075] lock(&ni->ni_lock#2/4); [ 72.685902][ T5075] lock(&mm->mmap_lock); [ 72.692784][ T5075] lock(&ni->ni_lock#2/4); [ 72.697511][ T5075] [ 72.697511][ T5075] *** DEADLOCK *** [ 72.697511][ T5075] [ 72.705679][ T5075] 1 lock held by syz-executor242/5075: [ 72.711165][ T5075] #0: ffff88802a1c01a0 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x181/0x420 [ 72.720633][ T5075] [ 72.720633][ T5075] stack backtrace: [ 72.726539][ T5075] CPU: 1 PID: 5075 Comm: syz-executor242 Not tainted 6.7.0-rc1-syzkaller-00012-g9bacdd8996c7 #0 [ 72.736987][ T5075] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 [ 72.747070][ T5075] Call Trace: [ 72.750373][ T5075] [ 72.753338][ T5075] dump_stack_lvl+0x1e7/0x2d0 [ 72.758057][ T5075] ? nf_tcp_handle_invalid+0x650/0x650 [ 72.763564][ T5075] ? print_circular_bug+0x12b/0x1a0 [ 72.768821][ T5075] check_noncircular+0x366/0x490 [ 72.773804][ T5075] ? print_deadlock_bug+0x610/0x610 executing program [ 72.779055][ T5075] ? lockdep_lock+0x123/0x2b0 [ 72.783767][ T5075] ? _find_first_zero_bit+0xd4/0x100 [ 72.789096][ T5075] validate_chain+0x18e4/0x59f0 [ 72.793997][ T5075] ? reacquire_held_locks+0x690/0x690 [ 72.799404][ T5075] ? deref_stack_reg+0x1c7/0x250 [ 72.804395][ T5075] ? look_up_lock_class+0x77/0x160 [ 72.809549][ T5075] ? register_lock_class+0x102/0x970 [ 72.814886][ T5075] ? is_dynamic_key+0x260/0x260 [ 72.819777][ T5075] ? mark_lock+0x9a/0x350 [ 72.824147][ T5075] __lock_acquire+0x1345/0x1fd0 executing program [ 72.829048][ T5075] lock_acquire+0x1e3/0x530 [ 72.833589][ T5075] ? attr_data_get_block+0x46d/0x2da0 [ 72.839004][ T5075] ? read_lock_is_recursive+0x20/0x20 [ 72.844420][ T5075] ? __might_sleep+0xe0/0xe0 [ 72.849055][ T5075] ? is_bpf_text_address+0x26/0x2a0 [ 72.854288][ T5075] ? is_bpf_text_address+0x28d/0x2a0 [ 72.859608][ T5075] ? is_bpf_text_address+0x26/0x2a0 [ 72.864841][ T5075] __mutex_lock+0x136/0xd60 [ 72.869384][ T5075] ? attr_data_get_block+0x46d/0x2da0 [ 72.874797][ T5075] ? attr_data_get_block+0x34b/0x2da0 [ 72.880209][ T5075] ? attr_data_get_block+0x46d/0x2da0 [ 72.885616][ T5075] ? mutex_lock_nested+0x20/0x20 [ 72.890586][ T5075] ? __up_read+0x2bd/0x6a0 [ 72.895037][ T5075] ? up_read+0x20/0x20 [ 72.899141][ T5075] ? stack_trace_save+0x117/0x1c0 [ 72.904206][ T5075] ? run_lookup_entry+0xb1/0x560 [ 72.909187][ T5075] ? stack_trace_snprint+0xf0/0xf0 [ 72.914346][ T5075] attr_data_get_block+0x46d/0x2da0 [ 72.919584][ T5075] ? __stack_depot_save+0x20/0x650 [ 72.924730][ T5075] ? kasan_set_track+0x61/0x70 [ 72.929538][ T5075] ? do_mmap+0x76b/0xde0 [ 72.933822][ T5075] ? entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 72.939936][ T5075] ? get_pre_allocated+0x130/0x130 [ 72.945104][ T5075] ? __asan_memset+0x23/0x40 [ 72.949735][ T5075] ? lockdep_init_map_type+0xa1/0x900 [ 72.955153][ T5075] ntfs_file_mmap+0x453/0x7a0 [ 72.959880][ T5075] ? lockdep_softirqs_off+0x430/0x430 [ 72.965306][ T5075] ? ntfs_compat_ioctl+0x30/0x30 [ 72.970291][ T5075] ? vma_iter_config+0xe7/0x280 [ 72.975187][ T5075] mmap_region+0xf47/0x1fa0 executing program executing program [ 72.979734][ T5075] ? mark_lock+0x9a/0x350 [ 72.984121][ T5075] ? file_mmap_ok+0x150/0x150 [ 72.988843][ T5075] ? cap_mmap_addr+0x162/0x2c0 [ 72.993646][ T5075] ? bpf_lsm_capable+0x9/0x10 [ 72.998364][ T5075] ? security_capable+0x8a/0xb0 [ 73.003254][ T5075] do_mmap+0x76b/0xde0 [ 73.007369][ T5075] vm_mmap_pgoff+0x1e2/0x420 [ 73.012020][ T5075] ? account_locked_vm+0x220/0x220 [ 73.017174][ T5075] ? __fget_files+0x29/0x480 [ 73.021807][ T5075] ? __fget_files+0x29/0x480 [ 73.026447][ T5075] ksys_mmap_pgoff+0x4ff/0x6d0 [ 73.031263][ T5075] do_syscall_64+0x45/0x110 [ 73.035809][ T5075] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 73.041752][ T5075] RIP: 0033:0x7f2d0e94b639 [ 73.046209][ T5075] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 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 b0 ff ff ff f7 d8 64 89 01 48 [ 73.065862][ T5075] RSP: 002b:00007f2d0e8e7208 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 [ 73.074405][ T5075] RAX: ffffffffffffffda RBX: 00007f2d0e9f2618 RCX: 00007f2d0e94b639 executing program executing program executing program executing program [ 73.082410][ T5075] RDX: 00000000027fffff RSI: 0000000000600000 RDI: 0000000020000000 [ 73.090414][ T5075] RBP: 00007f2d0e9f2610 R08: 0000000000000004 R09: 0000000000000000 [ 73.098422][ T5075] R10: 0000000004002011 R11: 0000000000000246 R12: 00007f2d0e9beb5c [ 73.106425][ T5075] R13: 00007f2d0e99f0c0 R14: 6465646165726874 R15: 0030656c69662f2e [ 73.114441][ T5075] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program