DUID 00:04:4b:a6:d8:97:08:21:27:2e:fd:cf:3e:39:f6:c0:7f:1f no interfaces have a carrier [ 35.757455][ T3213] 8021q: adding VLAN 0 to HW filter on device bond0 [ 35.782969][ T3213] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.216' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 57.295316][ T3541] loop0: detected capacity change from 0 to 512 [ 57.306513][ T3541] EXT4-fs: Warning: mounting with an experimental mount option 'dioread_nolock' for blocksize < PAGE_SIZE [ 57.325580][ T3541] EXT4-fs (loop0): 1 truncate cleaned up [ 57.331271][ T3541] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: writeback. [ 57.344838][ T3541] [ 57.347198][ T3541] ====================================================== [ 57.354229][ T3541] WARNING: possible circular locking dependency detected [ 57.361255][ T3541] 6.1.32-syzkaller #0 Not tainted [ 57.366286][ T3541] ------------------------------------------------------ [ 57.373308][ T3541] syz-executor351/3541 is trying to acquire lock: [ 57.379712][ T3541] ffff88807085a218 (&ea_inode->i_rwsem#8/1){+.+.}-{3:3}, at: ext4_xattr_inode_iget+0x4a3/0x5e0 [ 57.390087][ T3541] [ 57.390087][ T3541] but task is already holding lock: [ 57.397442][ T3541] ffff888070859698 (&ei->i_data_sem){++++}-{3:3}, at: ext4_setattr+0x13fa/0x1a00 [ 57.406580][ T3541] [ 57.406580][ T3541] which lock already depends on the new lock. [ 57.406580][ T3541] [ 57.416981][ T3541] [ 57.416981][ T3541] the existing dependency chain (in reverse order) is: [ 57.425982][ T3541] [ 57.425982][ T3541] -> #1 (&ei->i_data_sem){++++}-{3:3}: [ 57.433621][ T3541] lock_acquire+0x1f8/0x5a0 [ 57.438642][ T3541] down_write+0x36/0x60 [ 57.443323][ T3541] ext4_xattr_set_entry+0x3187/0x3c00 [ 57.449218][ T3541] ext4_xattr_ibody_set+0x11d/0x330 [ 57.454931][ T3541] ext4_xattr_set_handle+0xc72/0x1560 [ 57.460835][ T3541] ext4_xattr_set+0x231/0x3d0 [ 57.466030][ T3541] __vfs_setxattr+0x3e7/0x420 [ 57.471218][ T3541] __vfs_setxattr_noperm+0x12a/0x5e0 [ 57.477014][ T3541] vfs_setxattr+0x21d/0x420 [ 57.482027][ T3541] setxattr+0x250/0x2b0 [ 57.486697][ T3541] path_setxattr+0x1bc/0x2a0 [ 57.491802][ T3541] __x64_sys_setxattr+0xb7/0xd0 [ 57.497162][ T3541] do_syscall_64+0x3d/0xb0 [ 57.502096][ T3541] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 57.508504][ T3541] [ 57.508504][ T3541] -> #0 (&ea_inode->i_rwsem#8/1){+.+.}-{3:3}: [ 57.516761][ T3541] validate_chain+0x1667/0x58e0 [ 57.522127][ T3541] __lock_acquire+0x125b/0x1f80 [ 57.527542][ T3541] lock_acquire+0x1f8/0x5a0 [ 57.532562][ T3541] down_write+0x36/0x60 [ 57.537240][ T3541] ext4_xattr_inode_iget+0x4a3/0x5e0 [ 57.543045][ T3541] ext4_xattr_inode_get+0x17d/0x9a0 [ 57.548763][ T3541] ext4_expand_extra_isize_ea+0xe70/0x1bb0 [ 57.555091][ T3541] __ext4_expand_extra_isize+0x2f7/0x3d0 [ 57.561245][ T3541] __ext4_mark_inode_dirty+0x54f/0x920 [ 57.567228][ T3541] ext4_setattr+0x1493/0x1a00 [ 57.572425][ T3541] notify_change+0xdcd/0x1080 [ 57.577616][ T3541] do_truncate+0x21c/0x300 [ 57.582552][ T3541] path_openat+0x27e2/0x2e60 [ 57.587660][ T3541] do_filp_open+0x230/0x480 [ 57.592682][ T3541] do_sys_openat2+0x13b/0x500 [ 57.597881][ T3541] __x64_sys_creat+0x11f/0x160 [ 57.603170][ T3541] do_syscall_64+0x3d/0xb0 [ 57.608110][ T3541] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 57.614523][ T3541] [ 57.614523][ T3541] other info that might help us debug this: [ 57.614523][ T3541] [ 57.624741][ T3541] Possible unsafe locking scenario: [ 57.624741][ T3541] [ 57.632180][ T3541] CPU0 CPU1 [ 57.637568][ T3541] ---- ---- [ 57.642922][ T3541] lock(&ei->i_data_sem); [ 57.647338][ T3541] lock(&ea_inode->i_rwsem#8/1); [ 57.654894][ T3541] lock(&ei->i_data_sem); [ 57.661848][ T3541] lock(&ea_inode->i_rwsem#8/1); [ 57.666882][ T3541] [ 57.666882][ T3541] *** DEADLOCK *** [ 57.666882][ T3541] [ 57.675022][ T3541] 5 locks held by syz-executor351/3541: [ 57.680553][ T3541] #0: ffff88807e834460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 [ 57.689710][ T3541] #1: ffff888070859810 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: do_truncate+0x208/0x300 [ 57.699982][ T3541] #2: ffff8880708599b0 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_setattr+0xec7/0x1a00 [ 57.710163][ T3541] #3: ffff888070859698 (&ei->i_data_sem){++++}-{3:3}, at: ext4_setattr+0x13fa/0x1a00 [ 57.719825][ T3541] #4: ffff8880708594d8 (&ei->xattr_sem){++++}-{3:3}, at: __ext4_mark_inode_dirty+0x4b0/0x920 [ 57.730091][ T3541] [ 57.730091][ T3541] stack backtrace: [ 57.735990][ T3541] CPU: 1 PID: 3541 Comm: syz-executor351 Not tainted 6.1.32-syzkaller #0 [ 57.744394][ T3541] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 57.754441][ T3541] Call Trace: [ 57.757729][ T3541] [ 57.760657][ T3541] dump_stack_lvl+0x1e3/0x2cb [ 57.765699][ T3541] ? nf_tcp_handle_invalid+0x642/0x642 [ 57.771788][ T3541] ? print_circular_bug+0x12b/0x1a0 [ 57.776984][ T3541] check_noncircular+0x2fa/0x3b0 [ 57.781923][ T3541] ? mark_lock+0x9a/0x340 [ 57.786250][ T3541] ? add_chain_block+0x850/0x850 [ 57.791186][ T3541] ? lockdep_lock+0x11f/0x2a0 [ 57.795996][ T3541] validate_chain+0x1667/0x58e0 [ 57.800853][ T3541] ? reacquire_held_locks+0x660/0x660 [ 57.806230][ T3541] ? __lock_acquire+0x1f80/0x1f80 [ 57.811256][ T3541] ? mark_lock+0x9a/0x340 [ 57.815594][ T3541] __lock_acquire+0x125b/0x1f80 [ 57.820445][ T3541] lock_acquire+0x1f8/0x5a0 [ 57.824944][ T3541] ? ext4_xattr_inode_iget+0x4a3/0x5e0 [ 57.830404][ T3541] ? read_lock_is_recursive+0x10/0x10 [ 57.835777][ T3541] ? __might_sleep+0xb0/0xb0 [ 57.840362][ T3541] ? lockdep_softirqs_off+0x420/0x420 [ 57.845736][ T3541] down_write+0x36/0x60 [ 57.849991][ T3541] ? ext4_xattr_inode_iget+0x4a3/0x5e0 [ 57.855444][ T3541] ext4_xattr_inode_iget+0x4a3/0x5e0 [ 57.860730][ T3541] ext4_xattr_inode_get+0x17d/0x9a0 [ 57.865939][ T3541] ? __xattr_check_inode+0x3f0/0x3f0 [ 57.871219][ T3541] ? kvmalloc_node+0x6e/0x180 [ 57.875891][ T3541] ? rcu_is_watching+0x11/0xb0 [ 57.880656][ T3541] ? __kmalloc_node+0xe3/0x230 [ 57.885419][ T3541] ext4_expand_extra_isize_ea+0xe70/0x1bb0 [ 57.891236][ T3541] ? ext4_xattr_set+0x3d0/0x3d0 [ 57.896081][ T3541] ? rwsem_write_trylock+0x166/0x210 [ 57.901366][ T3541] ? clear_nonspinnable+0x60/0x60 [ 57.906389][ T3541] ? ext4_reserve_inode_write+0x2b3/0x360 [ 57.912108][ T3541] ? dquot_initialize_needed+0x128/0x320 [ 57.917746][ T3541] __ext4_expand_extra_isize+0x2f7/0x3d0 [ 57.923473][ T3541] __ext4_mark_inode_dirty+0x54f/0x920 [ 57.928938][ T3541] ? ext4_blocks_for_truncate+0x270/0x270 [ 57.934667][ T3541] ? ext4_update_disksize_before_punch+0x360/0x360 [ 57.941200][ T3541] ext4_setattr+0x1493/0x1a00 [ 57.945900][ T3541] ? ext4_write_inode+0x740/0x740 [ 57.950934][ T3541] notify_change+0xdcd/0x1080 [ 57.955633][ T3541] do_truncate+0x21c/0x300 [ 57.960058][ T3541] ? put_page_bootmem+0x2e0/0x2e0 [ 57.965091][ T3541] ? ima_bprm_check+0x2b0/0x2b0 [ 57.969955][ T3541] ? bpf_lsm_path_truncate+0x5/0x10 [ 57.975168][ T3541] path_openat+0x27e2/0x2e60 [ 57.979784][ T3541] ? do_filp_open+0x480/0x480 [ 57.984471][ T3541] do_filp_open+0x230/0x480 [ 57.988979][ T3541] ? vfs_tmpfile+0x4a0/0x4a0 [ 57.993582][ T3541] ? _raw_spin_unlock+0x24/0x40 [ 57.998438][ T3541] ? alloc_fd+0x59c/0x640 [ 58.002769][ T3541] do_sys_openat2+0x13b/0x500 [ 58.007458][ T3541] ? do_sys_open+0x220/0x220 [ 58.012065][ T3541] ? restore_fpregs_from_fpstate+0xfc/0x230 [ 58.017973][ T3541] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 58.023953][ T3541] __x64_sys_creat+0x11f/0x160 [ 58.028725][ T3541] ? __x64_compat_sys_openat+0x290/0x290 [ 58.034366][ T3541] ? syscall_enter_from_user_mode+0x2e/0x220 [ 58.040356][ T3541] ? lockdep_hardirqs_on+0x94/0x130 [ 58.045572][ T3541] ? syscall_enter_from_user_mode+0x2e/0x220 [ 58.051565][ T3541] do_syscall_64+0x3d/0xb0 [ 58.055985][ T3541] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 58.061883][ T3541] RIP: 0033:0x7ff56c796c29 [ 58.066297][ T3541] 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 [ 58.085902][ T3541] RSP: 002b:00007ffd15234a18 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 [ 58.094314][ T3541] RAX: ffffffffffffffda RBX: 00316