Warning: Permanently added '10.128.1.8' (ECDSA) to the list of known hosts. executing program [ 35.819909][ T5927] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=5927 'syz-executor391' [ 35.848762][ T5927] loop0: detected capacity change from 0 to 4096 [ 35.852824][ T5927] ntfs3: loop0: Different NTFS' sector size (2048) and media sector size (512) [ 35.868913][ T5927] ntfs3: loop0: ino=1b, "file0" ntfs_iget5 [ 35.870301][ T5927] [ 35.870769][ T5927] ============================================ [ 35.872004][ T5927] WARNING: possible recursive locking detected [ 35.873306][ T5927] 6.3.0-rc7-syzkaller-g14f8db1c0f9a #0 Not tainted [ 35.874684][ T5927] -------------------------------------------- [ 35.876023][ T5927] syz-executor391/5927 is trying to acquire lock: [ 35.877383][ T5927] ffff0000dee80100 (&ni->ni_lock){+.+.}-{3:3}, at: ntfs_set_state+0x1a4/0x5c4 [ 35.879338][ T5927] [ 35.879338][ T5927] but task is already holding lock: [ 35.880913][ T5927] ffff0000dee87700 (&ni->ni_lock){+.+.}-{3:3}, at: ni_write_inode+0x134/0xfb8 [ 35.882788][ T5927] [ 35.882788][ T5927] other info that might help us debug this: [ 35.884565][ T5927] Possible unsafe locking scenario: [ 35.884565][ T5927] [ 35.886185][ T5927] CPU0 [ 35.886895][ T5927] ---- [ 35.887580][ T5927] lock(&ni->ni_lock); [ 35.888421][ T5927] lock(&ni->ni_lock); [ 35.889332][ T5927] [ 35.889332][ T5927] *** DEADLOCK *** [ 35.889332][ T5927] [ 35.891078][ T5927] May be due to missing lock nesting notation [ 35.891078][ T5927] [ 35.892859][ T5927] 3 locks held by syz-executor391/5927: [ 35.894078][ T5927] #0: ffff0000df16c460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 35.896086][ T5927] #1: ffff0000dee879a0 (&sb->s_type->i_mutex_key#16){+.+.}-{3:3}, at: do_truncate+0x1ac/0x28c [ 35.898330][ T5927] #2: ffff0000dee87700 (&ni->ni_lock){+.+.}-{3:3}, at: ni_write_inode+0x134/0xfb8 [ 35.900360][ T5927] [ 35.900360][ T5927] stack backtrace: [ 35.901567][ T5927] CPU: 1 PID: 5927 Comm: syz-executor391 Not tainted 6.3.0-rc7-syzkaller-g14f8db1c0f9a #0 [ 35.903756][ T5927] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 35.906018][ T5927] Call trace: [ 35.906703][ T5927] dump_backtrace+0x1b8/0x1e4 [ 35.907723][ T5927] show_stack+0x2c/0x44 [ 35.908624][ T5927] dump_stack_lvl+0xd0/0x124 [ 35.909607][ T5927] dump_stack+0x1c/0x28 [ 35.910495][ T5927] __lock_acquire+0x6310/0x764c [ 35.911510][ T5927] lock_acquire+0x238/0x718 [ 35.912472][ T5927] __mutex_lock_common+0x190/0x21a0 [ 35.913599][ T5927] mutex_lock_nested+0x2c/0x38 [ 35.914563][ T5927] ntfs_set_state+0x1a4/0x5c4 [ 35.915604][ T5927] ntfs_bad_inode+0x88/0x9c [ 35.916595][ T5927] ntfs_iget5+0x2d4/0x2c18 [ 35.917572][ T5927] ni_update_parent+0x688/0xa58 [ 35.918605][ T5927] ni_write_inode+0xc4c/0xfb8 [ 35.919624][ T5927] ntfs_sync_inode+0x2c/0x3c [ 35.920592][ T5927] ntfs3_setattr+0x644/0x9c8 [ 35.921585][ T5927] notify_change+0xa84/0xd20 [ 35.922565][ T5927] do_truncate+0x1c0/0x28c [ 35.923472][ T5927] vfs_truncate+0x2b8/0x360 [ 35.924422][ T5927] do_sys_truncate+0xec/0x1b4 [ 35.925500][ T5927] __arm64_sys_truncate+0x5c/0x70 [ 35.926606][ T5927] invoke_syscall+0x98/0x2c0 [ 35.927583][ T5927] el0_svc_common+0x138/0x258 [ 35.928611][ T5927] do_el0_svc+0x64/0x198 [ 35.929517][ T5927] el0_svc+0x4c/0x15c [ 35.930347][ T5927] el0t_64_sync_handler+0x84/0xf0 [ 35.931449][ T5927] el0t_64_sync+0x190/0x194 [ 35.932569][ T5927] ntfs3: loop0: Mark volume as dirty due to NTFS errors executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 40.877384][ T1841] ntfs3: loop0: MFT: r=1b, expect seq=5382 instead of 1! executing program [ 40.879234][ T1841] ntfs3: loop0: ino=1c, "file0" failed to open parent directory r=1b to update executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program