forked to background, child pid 3214 [ 27.544357][ T3215] 8021q: adding VLAN 0 to HW filter on device bond0 [ 27.558495][ T3215] eql: remember to turn off Van-Jacobson compression on your slave devices [ 27.725622][ T3287] ssh-keygen (3287) used greatest stack depth: 19416 bytes left Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.5' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 53.497295][ T3539] loop0: detected capacity change from 0 to 4096 [ 53.506834][ T3539] ntfs3: loop0: Different NTFS' sector size (2048) and media sector size (512) [ 53.541186][ T3539] ntfs3: loop0: ino=1b, "file0" ntfs_iget5 [ 53.547240][ T3539] [ 53.549580][ T3539] ============================================ [ 53.555707][ T3539] WARNING: possible recursive locking detected [ 53.561934][ T3539] 6.1.31-syzkaller #0 Not tainted [ 53.566956][ T3539] -------------------------------------------- [ 53.573088][ T3539] syz-executor204/3539 is trying to acquire lock: [ 53.579484][ T3539] ffff888074e00100 (&ni->ni_lock){+.+.}-{3:3}, at: ntfs_set_state+0x217/0x6f0 [ 53.588362][ T3539] [ 53.588362][ T3539] but task is already holding lock: [ 53.595809][ T3539] ffff888074de5980 (&ni->ni_lock){+.+.}-{3:3}, at: ni_write_inode+0x151/0x1240 [ 53.604780][ T3539] [ 53.604780][ T3539] other info that might help us debug this: [ 53.612839][ T3539] Possible unsafe locking scenario: [ 53.612839][ T3539] [ 53.620280][ T3539] CPU0 [ 53.623555][ T3539] ---- [ 53.626817][ T3539] lock(&ni->ni_lock); [ 53.630974][ T3539] lock(&ni->ni_lock); [ 53.635119][ T3539] [ 53.635119][ T3539] *** DEADLOCK *** [ 53.635119][ T3539] [ 53.643246][ T3539] May be due to missing lock nesting notation [ 53.643246][ T3539] [ 53.651570][ T3539] 3 locks held by syz-executor204/3539: [ 53.657124][ T3539] #0: ffff888028d96460 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 [ 53.666282][ T3539] #1: ffff888074de5c20 (&sb->s_type->i_mutex_key#15){+.+.}-{3:3}, at: do_truncate+0x208/0x300 [ 53.676638][ T3539] #2: ffff888074de5980 (&ni->ni_lock){+.+.}-{3:3}, at: ni_write_inode+0x151/0x1240 [ 53.686129][ T3539] [ 53.686129][ T3539] stack backtrace: [ 53.692017][ T3539] CPU: 1 PID: 3539 Comm: syz-executor204 Not tainted 6.1.31-syzkaller #0 [ 53.700423][ T3539] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 53.710485][ T3539] Call Trace: [ 53.713780][ T3539] [ 53.716711][ T3539] dump_stack_lvl+0x1e3/0x2cb [ 53.721410][ T3539] ? nf_tcp_handle_invalid+0x642/0x642 [ 53.726868][ T3539] ? panic+0x75d/0x75d [ 53.730937][ T3539] validate_chain+0x4726/0x58e0 [ 53.735777][ T3539] ? lockdep_lock+0x2a0/0x2a0 [ 53.740476][ T3539] ? reacquire_held_locks+0x660/0x660 [ 53.745856][ T3539] ? look_up_lock_class+0x77/0x140 [ 53.750975][ T3539] ? register_lock_class+0x100/0x990 [ 53.756352][ T3539] ? validate_chain+0x115/0x58e0 [ 53.761309][ T3539] ? is_dynamic_key+0x1f0/0x1f0 [ 53.766167][ T3539] ? mark_lock+0x9a/0x340 [ 53.770487][ T3539] __lock_acquire+0x125b/0x1f80 [ 53.775330][ T3539] lock_acquire+0x1f8/0x5a0 [ 53.779819][ T3539] ? ntfs_set_state+0x217/0x6f0 [ 53.785008][ T3539] ? read_lock_is_recursive+0x10/0x10 [ 53.790374][ T3539] ? __might_sleep+0xb0/0xb0 [ 53.794955][ T3539] ? mark_lock+0x9a/0x340 [ 53.799273][ T3539] __mutex_lock_common+0x1d4/0x2520 [ 53.804459][ T3539] ? ntfs_set_state+0x217/0x6f0 [ 53.809559][ T3539] ? ktime_get_coarse_real_ts64+0x36/0x120 [ 53.815360][ T3539] ? seqcount_lockdep_reader_access+0x153/0x220 [ 53.821597][ T3539] ? lockdep_hardirqs_on+0x94/0x130 [ 53.826803][ T3539] ? ntfs_set_state+0x217/0x6f0 [ 53.831670][ T3539] ? seqcount_lockdep_reader_access+0x1d3/0x220 [ 53.837926][ T3539] ? mutex_lock_io_nested+0x60/0x60 [ 53.843134][ T3539] ? ktime_get_coarse_real_ts64+0x107/0x120 [ 53.849030][ T3539] mutex_lock_nested+0x17/0x20 [ 53.853803][ T3539] ntfs_set_state+0x217/0x6f0 [ 53.858480][ T3539] ? do_raw_spin_unlock+0x137/0x8a0 [ 53.863673][ T3539] ? ntfs_mark_rec_free+0x2b0/0x2b0 [ 53.868872][ T3539] ? make_bad_inode+0xf9/0x1a0 [ 53.875469][ T3539] ntfs_iget5+0x39d/0x3750 [ 53.879893][ T3539] ? register_lock_class+0x100/0x990 [ 53.885177][ T3539] ? mark_lock+0x9a/0x340 [ 53.889498][ T3539] ? is_dynamic_key+0x1f0/0x1f0 [ 53.894337][ T3539] ? mi_enum_attr+0x536/0x720 [ 53.898999][ T3539] ? mi_find_attr+0x28b/0x2a0 [ 53.903665][ T3539] ? ni_find_attr+0x389/0x8b0 [ 53.908417][ T3539] ? check_index_root+0x680/0x680 [ 53.913432][ T3539] ? ni_load_mi+0x110/0x110 [ 53.917927][ T3539] ni_update_parent+0x802/0xc80 [ 53.922771][ T3539] ? ni_write_inode+0x1240/0x1240 [ 53.927782][ T3539] ? mi_enum_attr+0x536/0x720 [ 53.932445][ T3539] ? mi_find_attr+0x28b/0x2a0 [ 53.937109][ T3539] ni_write_inode+0xe7a/0x1240 [ 53.941870][ T3539] ? ni_is_dirty+0x190/0x190 [ 53.946448][ T3539] ? current_time+0x1f2/0x2f0 [ 53.951122][ T3539] ? ntfs3_setattr+0x718/0xb70 [ 53.955885][ T3539] ntfs3_setattr+0x7c2/0xb70 [ 53.960555][ T3539] ? put_page+0x250/0x250 [ 53.964875][ T3539] ? rwsem_write_trylock+0x166/0x210 [ 53.970154][ T3539] ? bpf_lsm_inode_setattr+0x5/0x10 [ 53.975443][ T3539] ? put_page+0x250/0x250 [ 53.979763][ T3539] notify_change+0xdcd/0x1080 [ 53.984430][ T3539] do_truncate+0x21c/0x300 [ 53.988838][ T3539] ? put_page_bootmem+0x2e0/0x2e0 [ 53.993859][ T3539] ? bpf_lsm_path_truncate+0x5/0x10 [ 53.999135][ T3539] vfs_truncate+0x2dd/0x3a0 [ 54.003631][ T3539] do_sys_truncate+0xda/0x190 [ 54.008300][ T3539] ? break_lease+0xd0/0xd0 [ 54.012708][ T3539] ? syscall_enter_from_user_mode+0x2e/0x220 [ 54.018687][ T3539] ? lockdep_hardirqs_on+0x94/0x130 [ 54.023928][ T3539] ? syscall_enter_from_user_mode+0x2e/0x220 [ 54.029915][ T3539] do_syscall_64+0x3d/0xb0 [ 54.034412][ T3539] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 54.040306][ T3539] RIP: 0033:0x7fab4af017a9 [ 54.044711][ T3539] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 [ 54.064308][ T3539] RSP: 002b:00007ffc73ed4d88 EFLAGS: 00000246 ORIG_RAX: 000000000000004c [ 54.072714][ T3539] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fab4af017a9 [ 54.080675][ T3539] RDX: 00007fab4aebfe23 RSI: 0000000000000003 RDI: 0000000020000000 [ 54.088635][ T3539] RBP: 00007fab4aec1040 R08: 00000000000