Warning: Permanently added '10.128.1.122' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program [ 55.003968][ T3503] loop0: detected capacity change from 0 to 4096 [ 55.031393][ T3513] loop4: detected capacity change from 0 to 4096 [ 55.044754][ T3516] loop1: detected capacity change from 0 to 4096 [ 55.052711][ T3517] loop5: detected capacity change from 0 to 4096 [ 55.060730][ T3503] ntfs3: loop0: Different NTFS' sector size (4096) and media sector size (512) [ 55.062203][ T3513] ntfs3: loop4: Different NTFS' sector size (4096) and media sector size (512) [ 55.077837][ T3514] loop2: detected capacity change from 0 to 4096 [ 55.081656][ T3516] ntfs3: loop1: Different NTFS' sector size (4096) and media sector size (512) [ 55.088580][ T3515] loop3: detected capacity change from 0 to 4096 [ 55.096419][ T3517] ntfs3: loop5: Different NTFS' sector size (4096) and media sector size (512) [ 55.114325][ T3514] ntfs3: loop2: Different NTFS' sector size (4096) and media sector size (512) [ 55.136462][ T3515] ntfs3: loop3: Different NTFS' sector size (4096) and media sector size (512) [ 55.325808][ T3524] [ 55.328354][ T3524] ====================================================== [ 55.335549][ T3524] WARNING: possible circular locking dependency detected [ 55.342590][ T3524] 5.15.115-syzkaller #0 Not tainted [ 55.347798][ T3524] ------------------------------------------------------ [ 55.354837][ T3524] syz-executor334/3524 is trying to acquire lock: [ 55.361265][ T3524] ffff88807494d220 (&ni->ni_lock/4){+.+.}-{3:3}, at: attr_data_get_block+0x41f/0x24e0 [ 55.370894][ T3524] [ 55.370894][ T3524] but task is already holding lock: [ 55.373935][ T3528] syz-executor334[3528]: segfault at 20000040 ip 00007f62e339943c sp 00007f62db14b310 error 6 [ 55.378278][ T3524] ffff888022bbe328 (&mm->mmap_lock#2){++++}-{3:3}, at: vm_mmap_pgoff+0x175/0x2d0 [ 55.388855][ T3528] in syz-executor3348725492[7f62e3397000+9b000] [ 55.397788][ T3524] [ 55.397788][ T3524] which lock already depends on the new lock. [ 55.397788][ T3524] [ 55.397795][ T3524] [ 55.397795][ T3524] the existing dependency chain (in reverse order) is: [ 55.397802][ T3524] [ 55.397802][ T3524] -> #2 (&mm->mmap_lock#2){++++}-{3:3}: [ 55.397838][ T3524] lock_acquire+0x1db/0x4f0 [ 55.397863][ T3524] __might_fault+0xb4/0x110 [ 55.404417][ T3516] syz-executor334[3516]: segfault at 20000090 ip 00007f62e3399570 sp 00007f62e338d310 error 6 [ 55.414572][ T3524] _copy_to_user+0x28/0x130 [ 55.414594][ T3524] fiemap_fill_next_extent+0x231/0x410 [ 55.414614][ T3524] ni_fiemap+0xa5a/0x1230 [ 55.414630][ T3524] ntfs_fiemap+0x12e/0x170 [ 55.423904][ T3515] syz-executor334[3515]: segfault at 20000090 ip 00007f62e3399570 sp 00007f62e338d310 error 6 [ 55.431378][ T3524] do_vfs_ioctl+0x1934/0x2b70 [ 55.431397][ T3524] __se_sys_ioctl+0x81/0x160 [ 55.431412][ T3524] do_syscall_64+0x3d/0xb0 [ 55.431430][ T3524] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 55.436649][ T3515] in syz-executor3348725492[7f62e3397000+9b000] [ 55.441469][ T3524] [ 55.441469][ T3524] -> #1 (&indx->run_lock){.+.+}-{3:3}: [ 55.441501][ T3524] lock_acquire+0x1db/0x4f0 [ 55.441524][ T3524] down_read+0x45/0x2e0 [ 55.451980][ T3528] [ 55.456760][ T3524] indx_read+0x2c5/0x910 [ 55.456782][ T3524] indx_find+0x467/0xb60 [ 55.456801][ T3524] dir_search_u+0x1b3/0x390 [ 55.456821][ T3524] ntfs_lookup+0x102/0x1f0 [ 55.462983][ T3516] in syz-executor3348725492[7f62e3397000+9b000] [ 55.467603][ T3524] path_openat+0x110e/0x2f20 [ 55.467625][ T3524] do_filp_open+0x21c/0x460 [ 55.467649][ T3524] do_sys_openat2+0x13b/0x500 executing program executing program [ 55.472769][ T3528] Code: 05 c7 45 08 00 00 00 00 77 4c 8b 45 04 49 63 44 85 00 4c 01 e8 ff e0 0f 1f 80 00 00 00 00 ba 2e 00 00 00 45 31 c0 31 c9 31 c0 <66> 89 14 25 40 00 00 20 be 9c ff ff ff ba 40 00 00 20 bf 01 01 00 [ 55.482873][ T3524] __x64_sys_openat+0x243/0x290 [ 55.482894][ T3524] do_syscall_64+0x3d/0xb0 [ 55.482914][ T3524] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 55.482935][ T3524] [ 55.482935][ T3524] -> #0 (&ni->ni_lock/4 [ 55.488385][ T3515] [ 55.493240][ T3524] ){+.+.}-{3:3}: [ 55.493256][ T3524] validate_chain+0x1646/0x58b0 [ 55.493275][ T3524] __lock_acquire+0x1295/0x1ff0 [ 55.493296][ T3524] lock_acquire+0x1db/0x4f0 [ 55.493315][ T3524] __mutex_lock_common+0x1da/0x25a0 [ 55.498418][ T3516] [ 55.504632][ T3524] mutex_lock_nested+0x17/0x20 [ 55.504656][ T3524] attr_data_get_block+0x41f/0x24e0 [ 55.504679][ T3524] ntfs_file_mmap+0x458/0x7e0 [ 55.504696][ T3524] mmap_region+0x10e7/0x1670 [ 55.511253][ T3515] Code: 48 83 f8 ff 0f 84 18 ff ff ff 48 89 05 e9 8b 0e 00 e9 0c ff ff ff 0f 1f 40 00 66 0f ef c0 b9 80 00 00 20 ba 0b 66 20 c0 31 c0 04 25 90 00 00 20 00 00 00 00 bf 10 00 00 00 48 c7 04 25 80 00 [ 55.518652][ T3524] do_mmap+0x78d/0xe00 [ 55.518673][ T3524] vm_mmap_pgoff+0x1ca/0x2d0 [ 55.518690][ T3524] ksys_mmap_pgoff+0x559/0x780 [ 55.518708][ T3524] do_syscall_64+0x3d/0xb0 [ 55.524212][ T3516] Code: 48 83 f8 ff 0f 84 18 ff ff ff 48 89 05 e9 8b 0e 00 e9 0c ff ff ff 0f 1f 40 00 66 0f ef c0 b9 80 00 00 20 ba 0b 66 20 c0 31 c0 04 25 90 00 00 20 00 00 00 00 bf 10 00 00 00 48 c7 04 25 80 00 [ 55.528409][ T3524] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 55.528433][ T3524] [ 55.528433][ T3524] other info that might help us debug this: [ 55.528433][ T3524] [ 55.528440][ T3524] Chain exists of: [ 55.528440][ T3524] &ni->ni_lock/4 --> &indx->run_lock --> &mm->mmap_lock#2 [ 55.528440][ T3524] [ 55.754785][ T3524] Possible unsafe locking scenario: [ 55.754785][ T3524] [ 55.762259][ T3524] CPU0 CPU1 [ 55.767635][ T3524] ---- ---- [ 55.773013][ T3524] lock(&mm->mmap_lock#2); executing program [ 55.777550][ T3524] lock(&indx->run_lock); [ 55.784513][ T3524] lock(&mm->mmap_lock#2); [ 55.791562][ T3524] lock(&ni->ni_lock/4); [ 55.795937][ T3524] [ 55.795937][ T3524] *** DEADLOCK *** [ 55.795937][ T3524] [ 55.804092][ T3524] 1 lock held by syz-executor334/3524: [ 55.809565][ T3524] #0: ffff888022bbe328 (&mm->mmap_lock#2){++++}-{3:3}, at: vm_mmap_pgoff+0x175/0x2d0 [ 55.819188][ T3524] [ 55.819188][ T3524] stack backtrace: [ 55.825172][ T3524] CPU: 1 PID: 3524 Comm: syz-executor334 Not tainted 5.15.115-syzkaller #0 [ 55.833784][ T3524] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 55.843858][ T3524] Call Trace: [ 55.847153][ T3524] [ 55.850099][ T3524] dump_stack_lvl+0x1e3/0x2cb [ 55.854797][ T3524] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 55.860471][ T3524] ? print_circular_bug+0x12b/0x1a0 [ 55.865697][ T3524] check_noncircular+0x2f8/0x3b0 [ 55.870656][ T3524] ? add_chain_block+0x850/0x850 [ 55.875624][ T3524] ? lockdep_lock+0x11f/0x2a0 [ 55.880340][ T3524] validate_chain+0x1646/0x58b0 [ 55.885216][ T3524] ? lockdep_lock+0x2a0/0x2a0 [ 55.890113][ T3524] ? reacquire_held_locks+0x660/0x660 [ 55.895499][ T3524] ? validate_chain+0x112/0x58b0 [ 55.900449][ T3524] ? look_up_lock_class+0x77/0x120 [ 55.905582][ T3524] ? register_lock_class+0x100/0x9a0 [ 55.910898][ T3524] ? is_dynamic_key+0x1f0/0x1f0 [ 55.915774][ T3524] ? mark_lock+0x98/0x340 [ 55.920119][ T3524] __lock_acquire+0x1295/0x1ff0 [ 55.924998][ T3524] lock_acquire+0x1db/0x4f0 [ 55.929518][ T3524] ? attr_data_get_block+0x41f/0x24e0 [ 55.934924][ T3524] ? read_lock_is_recursive+0x10/0x10 [ 55.940315][ T3524] ? __might_sleep+0xc0/0xc0 [ 55.944921][ T3524] __mutex_lock_common+0x1da/0x25a0 [ 55.950145][ T3524] ? attr_data_get_block+0x41f/0x24e0 [ 55.955538][ T3524] ? attr_data_get_block+0x41f/0x24e0 [ 55.960937][ T3524] ? attr_data_get_block+0x2ba/0x24e0 [ 55.966324][ T3524] ? mutex_lock_io_nested+0x60/0x60 [ 55.971549][ T3524] ? up_read+0x20/0x20 [ 55.975644][ T3524] ? stack_trace_save+0x113/0x1c0 [ 55.980769][ T3524] ? run_lookup_entry+0x416/0x560 [ 55.985817][ T3524] mutex_lock_nested+0x17/0x20 [ 55.990622][ T3524] attr_data_get_block+0x41f/0x24e0 [ 55.995844][ T3524] ? kmem_cache_alloc+0xf3/0x280 [ 56.000797][ T3524] ? mmap_region+0xad4/0x1670 [ 56.005493][ T3524] ? ksys_mmap_pgoff+0x559/0x780 [ 56.010465][ T3524] ? do_syscall_64+0x3d/0xb0 [ 56.015082][ T3524] ? get_pre_allocated+0x130/0x130 [ 56.020250][ T3524] ntfs_file_mmap+0x458/0x7e0 executing program [ 56.024944][ T3524] ? ntfs_compat_ioctl+0x30/0x30 [ 56.029897][ T3524] ? kmem_cache_alloc+0x70/0x280 [ 56.034872][ T3524] mmap_region+0x10e7/0x1670 [ 56.039497][ T3524] ? file_mmap_ok+0x150/0x150 [ 56.044192][ T3524] ? cap_mmap_addr+0x15e/0x2d0 [ 56.048976][ T3524] ? bpf_lsm_mmap_addr+0x5/0x10 [ 56.053850][ T3524] ? get_unmapped_area+0x317/0x380 [ 56.058998][ T3524] do_mmap+0x78d/0xe00 [ 56.063133][ T3524] vm_mmap_pgoff+0x1ca/0x2d0 [ 56.067751][ T3524] ? account_locked_vm+0xe0/0xe0 [ 56.072713][ T3524] ? __fget_files+0x413/0x480 executing program [ 56.077423][ T3524] ksys_mmap_pgoff+0x559/0x780 [ 56.082229][ T3524] ? mmap_region+0x1670/0x1670 [ 56.087013][ T3524] ? syscall_enter_from_user_mode+0x2e/0x230 [ 56.093101][ T3524] ? lockdep_hardirqs_on+0x94/0x130 [ 56.098331][ T3524] do_syscall_64+0x3d/0xb0 [ 56.102770][ T3524] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 56.108693][ T3524] RIP: 0033:0x7f62e33e12d9 executing program [ 56.113125][ T3524] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 15 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 [ 56.132745][ T3524] RSP: 002b:00007f62db16c2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 [ 56.141173][ T3524] RAX: ffffffffffffffda RBX: 00007f62e34847b8 RCX: 00007f62e33e12d9 [ 56.149171][ T3524] RDX: 0000000002000006 RSI: 0000000000b36000 RDI: 0000000020000000 [ 56.157167][ T3524] RBP: 00007f62e34847b0 R08: 0000000000000004 R09: 0000000000000000 [ 56.165158][ T3524] R10: 0000000000028011 R11: 0000000000000246 R12: 00007f62e34847bc executing program [ 56.173148][ T3524] R13: 00007f62e3451284 R14: 0030656c69662f2e R15: 0000000000022000 [ 56.181144][ T3524] [ 56.328636][ T3513] syz-executor334[3513]: segfault at 20000040 ip 00007f62e339943c sp 00007f62e338d310 error 6 [ 56.361189][ T3513] Code: 05 c7 45 08 00 00 00 00 77 4c 8b 45 04 49 63 44 85 00 4c 01 e8 ff e0 0f 1f 80 00 00 00 00 ba 2e 00 00 00 45 31 c0 31 c9 31 c0 <66> 89 14 25 40 00 00 20 be 9c ff ff ff ba 40 00 00 20 bf 01 01 00 [ 56.368172][ T3549] syz-executor334[3549]: segfault at 20000090 ip 00007f62e3399570 sp 00007f62db14b310 error 6 in syz-executor3348725492[7f62e3397000+9b000] executing program [ 56.410328][ T3549] Code: 48 83 f8 ff 0f 84 18 ff ff ff 48 89 05 e9 8b 0e 00 e9 0c ff ff ff 0f 1f 40 00 66 0f ef c0 b9 80 00 00 20 ba 0b 66 20 c0 31 c0 04 25 90 00 00 20 00 00 00 00 bf 10 00 00 00 48 c7 04 25 80 00 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program