Warning: Permanently added '10.128.0.110' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program executing program [ 44.324365][ T3510] loop1: detected capacity change from 0 to 4096 [ 44.335097][ T3511] loop2: detected capacity change from 0 to 4096 [ 44.361195][ T3517] loop5: detected capacity change from 0 to 4096 [ 44.376358][ T3512] loop0: detected capacity change from 0 to 4096 [ 44.398987][ T3518] loop3: detected capacity change from 0 to 4096 [ 44.407520][ T3519] loop4: detected capacity change from 0 to 4096 [ 44.733074][ T3526] [ 44.735520][ T3526] ====================================================== [ 44.742622][ T3526] WARNING: possible circular locking dependency detected [ 44.749647][ T3526] 5.15.138-syzkaller #0 Not tainted [ 44.754867][ T3526] ------------------------------------------------------ [ 44.762064][ T3526] syz-executor140/3526 is trying to acquire lock: [ 44.768477][ T3526] ffff888070cc9e80 (&ni->ni_lock/4){+.+.}-{3:3}, at: attr_data_get_block+0x41f/0x24e0 [ 44.778175][ T3526] executing program executing program [ 44.778175][ T3526] but task is already holding lock: [ 44.785540][ T3526] ffff888078a00828 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x175/0x2d0 [ 44.794791][ T3526] [ 44.794791][ T3526] which lock already depends on the new lock. [ 44.794791][ T3526] [ 44.805282][ T3526] [ 44.805282][ T3526] the existing dependency chain (in reverse order) is: [ 44.814298][ T3526] [ 44.814298][ T3526] -> #1 (&mm->mmap_lock){++++}-{3:3}: [ 44.821952][ T3526] lock_acquire+0x1db/0x4f0 [ 44.826991][ T3526] __might_fault+0xb4/0x110 executing program [ 44.832041][ T3526] _copy_to_user+0x28/0x130 [ 44.837075][ T3526] fiemap_fill_next_extent+0x231/0x410 [ 44.843068][ T3526] ni_fiemap+0x1007/0x1230 [ 44.848200][ T3526] ntfs_fiemap+0x12e/0x170 [ 44.853148][ T3526] do_vfs_ioctl+0x1934/0x2b70 [ 44.858356][ T3526] __se_sys_ioctl+0x81/0x160 [ 44.863472][ T3526] do_syscall_64+0x3d/0xb0 [ 44.868508][ T3526] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 44.875021][ T3526] [ 44.875021][ T3526] -> #0 (&ni->ni_lock/4){+.+.}-{3:3}: executing program [ 44.882587][ T3526] validate_chain+0x1646/0x58b0 [ 44.887968][ T3526] __lock_acquire+0x1295/0x1ff0 [ 44.893348][ T3526] lock_acquire+0x1db/0x4f0 [ 44.898386][ T3526] __mutex_lock_common+0x1da/0x25a0 [ 44.904119][ T3526] mutex_lock_nested+0x17/0x20 [ 44.909413][ T3526] attr_data_get_block+0x41f/0x24e0 [ 44.915143][ T3526] ntfs_file_mmap+0x458/0x7e0 [ 44.920348][ T3526] mmap_region+0x10e7/0x1670 [ 44.925471][ T3526] do_mmap+0x78d/0xe00 [ 44.930200][ T3526] vm_mmap_pgoff+0x1ca/0x2d0 [ 44.935325][ T3526] ksys_mmap_pgoff+0x559/0x780 [ 44.940660][ T3526] do_syscall_64+0x3d/0xb0 [ 44.945607][ T3526] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 44.952031][ T3526] [ 44.952031][ T3526] other info that might help us debug this: [ 44.952031][ T3526] [ 44.962259][ T3526] Possible unsafe locking scenario: [ 44.962259][ T3526] [ 44.969711][ T3526] CPU0 CPU1 [ 44.975079][ T3526] ---- ---- [ 44.980447][ T3526] lock(&mm->mmap_lock); [ 44.984787][ T3526] lock(&ni->ni_lock/4); [ 44.992176][ T3526] lock(&mm->mmap_lock); [ 44.999035][ T3526] lock(&ni->ni_lock/4); [ 45.003379][ T3526] [ 45.003379][ T3526] *** DEADLOCK *** [ 45.003379][ T3526] [ 45.011604][ T3526] 1 lock held by syz-executor140/3526: [ 45.017055][ T3526] #0: ffff888078a00828 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x175/0x2d0 [ 45.026468][ T3526] [ 45.026468][ T3526] stack backtrace: [ 45.032359][ T3526] CPU: 1 PID: 3526 Comm: syz-executor140 Not tainted 5.15.138-syzkaller #0 [ 45.040959][ T3526] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 [ 45.051031][ T3526] Call Trace: [ 45.054318][ T3526] [ 45.057253][ T3526] dump_stack_lvl+0x1e3/0x2cb [ 45.061950][ T3526] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 45.067608][ T3526] ? print_circular_bug+0x12b/0x1a0 [ 45.072822][ T3526] check_noncircular+0x2f8/0x3b0 [ 45.077769][ T3526] ? add_chain_block+0x850/0x850 executing program [ 45.082800][ T3526] ? lockdep_lock+0x11f/0x2a0 [ 45.087583][ T3526] validate_chain+0x1646/0x58b0 [ 45.092537][ T3526] ? lockdep_lock+0x2a0/0x2a0 [ 45.097300][ T3526] ? reacquire_held_locks+0x660/0x660 [ 45.102864][ T3526] ? validate_chain+0x13b7/0x58b0 [ 45.107905][ T3526] ? look_up_lock_class+0x77/0x120 [ 45.113127][ T3526] ? register_lock_class+0x100/0x9a0 [ 45.118441][ T3526] ? is_dynamic_key+0x1f0/0x1f0 [ 45.123324][ T3526] ? mark_lock+0x98/0x340 [ 45.127697][ T3526] __lock_acquire+0x1295/0x1ff0 [ 45.132569][ T3526] lock_acquire+0x1db/0x4f0 [ 45.137317][ T3526] ? attr_data_get_block+0x41f/0x24e0 [ 45.142889][ T3526] ? read_lock_is_recursive+0x10/0x10 [ 45.148368][ T3526] ? __might_sleep+0xc0/0xc0 [ 45.152985][ T3526] ? asm_sysvec_apic_timer_interrupt+0x16/0x20 [ 45.159256][ T3526] __mutex_lock_common+0x1da/0x25a0 [ 45.164555][ T3526] ? attr_data_get_block+0x41f/0x24e0 [ 45.170035][ T3526] ? attr_data_get_block+0x41f/0x24e0 [ 45.175421][ T3526] ? attr_data_get_block+0x2ba/0x24e0 executing program [ 45.180885][ T3526] ? mutex_lock_io_nested+0x60/0x60 [ 45.186091][ T3526] ? up_read+0x20/0x20 [ 45.190168][ T3526] ? stack_trace_save+0x113/0x1c0 [ 45.195206][ T3526] ? run_lookup_entry+0xad/0x560 [ 45.200321][ T3526] mutex_lock_nested+0x17/0x20 [ 45.205108][ T3526] attr_data_get_block+0x41f/0x24e0 [ 45.210333][ T3526] ? kmem_cache_alloc+0xf3/0x280 [ 45.215292][ T3526] ? mmap_region+0xad4/0x1670 [ 45.219986][ T3526] ? ksys_mmap_pgoff+0x559/0x780 [ 45.224969][ T3526] ? do_syscall_64+0x3d/0xb0 [ 45.229591][ T3526] ? get_pre_allocated+0x130/0x130 [ 45.234734][ T3526] ntfs_file_mmap+0x458/0x7e0 [ 45.239425][ T3526] ? ntfs_compat_ioctl+0x30/0x30 [ 45.244456][ T3526] ? kmem_cache_alloc+0x90/0x280 [ 45.249408][ T3526] mmap_region+0x10e7/0x1670 [ 45.254193][ T3526] ? file_mmap_ok+0x150/0x150 [ 45.258882][ T3526] ? apparmor_capable+0x12e/0x190 [ 45.263919][ T3526] ? bpf_lsm_capable+0x5/0x10 [ 45.268598][ T3526] ? security_capable+0x86/0xb0 [ 45.273447][ T3526] do_mmap+0x78d/0xe00 [ 45.277531][ T3526] vm_mmap_pgoff+0x1ca/0x2d0 executing program [ 45.282130][ T3526] ? account_locked_vm+0xe0/0xe0 [ 45.287074][ T3526] ? __fget_files+0x413/0x480 [ 45.291759][ T3526] ksys_mmap_pgoff+0x559/0x780 [ 45.296536][ T3526] ? mmap_region+0x1670/0x1670 [ 45.301314][ T3526] ? syscall_enter_from_user_mode+0x2e/0x230 [ 45.307304][ T3526] ? lockdep_hardirqs_on+0x94/0x130 [ 45.312515][ T3526] do_syscall_64+0x3d/0xb0 [ 45.316941][ T3526] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 45.322854][ T3526] RIP: 0033:0x7f5821c42639 executing program executing program [ 45.327284][ T3526] 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 [ 45.346982][ T3526] RSP: 002b:00007f5821bde208 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 [ 45.355401][ T3526] RAX: ffffffffffffffda RBX: 00007f5821ce9618 RCX: 00007f5821c42639 [ 45.363388][ T3526] RDX: 00000000027fffff RSI: 0000000000600000 RDI: 0000000020000000 [ 45.371456][ T3526] RBP: 00007f5821ce9610 R08: 0000000000000004 R09: 0000000000000000 executing program executing program executing program [ 45.380311][ T3526] R10: 0000000004002011 R11: 0000000000000246 R12: 00007f5821cb5b5c [ 45.388495][ T3526] R13: 00007f5821c960c0 R14: 6465646165726874 R15: 0030656c69662f2e [ 45.396479][ T3526] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program