DUID 00:04:a4:d9:44:a1:3e:a2:79:db:da:6d:5d:0b:f7:25:ed:85 forked to background, child pid 3213 [ 32.816303][ T3214] 8021q: adding VLAN 0 to HW filter on device bond0 [ 32.830610][ T3214] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.178' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 53.724852][ T3542] loop0: detected capacity change from 0 to 512 [ 53.748329][ T3542] EXT4-fs: Warning: mounting with an experimental mount option 'dioread_nolock' for blocksize < PAGE_SIZE [ 53.765969][ T3542] EXT4-fs (loop0): 1 truncate cleaned up [ 53.771620][ T3542] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: writeback. [ 53.787647][ T3542] [ 53.790015][ T3542] ====================================================== [ 53.797043][ T3542] WARNING: possible circular locking dependency detected [ 53.804069][ T3542] 6.1.32-syzkaller #0 Not tainted [ 53.809093][ T3542] ------------------------------------------------------ [ 53.816094][ T3542] syz-executor411/3542 is trying to acquire lock: [ 53.822492][ T3542] ffff8880763bde48 (&ea_inode->i_rwsem#8/1){+.+.}-{3:3}, at: ext4_xattr_inode_iget+0x4a3/0x5e0 [ 53.832859][ T3542] [ 53.832859][ T3542] but task is already holding lock: [ 53.840204][ T3542] ffff8880763bd2c8 (&ei->i_data_sem){++++}-{3:3}, at: ext4_setattr+0x13fa/0x1a00 [ 53.849351][ T3542] [ 53.849351][ T3542] which lock already depends on the new lock. [ 53.849351][ T3542] [ 53.859739][ T3542] [ 53.859739][ T3542] the existing dependency chain (in reverse order) is: [ 53.868748][ T3542] [ 53.868748][ T3542] -> #1 (&ei->i_data_sem){++++}-{3:3}: [ 53.876389][ T3542] lock_acquire+0x1f8/0x5a0 [ 53.881409][ T3542] down_write+0x36/0x60 [ 53.886100][ T3542] ext4_xattr_set_entry+0x3187/0x3c00 [ 53.891988][ T3542] ext4_xattr_ibody_set+0x11d/0x330 [ 53.897704][ T3542] ext4_xattr_set_handle+0xc72/0x1560 [ 53.903602][ T3542] ext4_xattr_set+0x231/0x3d0 [ 53.908803][ T3542] __vfs_setxattr+0x3e7/0x420 [ 53.913993][ T3542] __vfs_setxattr_noperm+0x12a/0x5e0 [ 53.919795][ T3542] vfs_setxattr+0x21d/0x420 [ 53.924814][ T3542] setxattr+0x250/0x2b0 [ 53.929484][ T3542] path_setxattr+0x1bc/0x2a0 [ 53.934595][ T3542] __x64_sys_setxattr+0xb7/0xd0 [ 53.939982][ T3542] do_syscall_64+0x3d/0xb0 [ 53.944930][ T3542] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 53.951341][ T3542] [ 53.951341][ T3542] -> #0 (&ea_inode->i_rwsem#8/1){+.+.}-{3:3}: [ 53.959596][ T3542] validate_chain+0x1667/0x58e0 [ 53.964967][ T3542] __lock_acquire+0x125b/0x1f80 [ 53.970336][ T3542] lock_acquire+0x1f8/0x5a0 [ 53.975353][ T3542] down_write+0x36/0x60 [ 53.980026][ T3542] ext4_xattr_inode_iget+0x4a3/0x5e0 [ 53.985828][ T3542] ext4_xattr_inode_get+0x17d/0x9a0 [ 53.991544][ T3542] ext4_expand_extra_isize_ea+0xe70/0x1bb0 [ 53.997868][ T3542] __ext4_expand_extra_isize+0x2f7/0x3d0 [ 54.004044][ T3542] __ext4_mark_inode_dirty+0x54f/0x920 [ 54.010024][ T3542] ext4_setattr+0x1493/0x1a00 [ 54.015217][ T3542] notify_change+0xdcd/0x1080 [ 54.020402][ T3542] do_truncate+0x21c/0x300 [ 54.025332][ T3542] path_openat+0x27e2/0x2e60 [ 54.030434][ T3542] do_filp_open+0x230/0x480 [ 54.035450][ T3542] do_sys_openat2+0x13b/0x500 [ 54.040645][ T3542] __x64_sys_creat+0x11f/0x160 [ 54.045930][ T3542] do_syscall_64+0x3d/0xb0 [ 54.050866][ T3542] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 54.057276][ T3542] [ 54.057276][ T3542] other info that might help us debug this: [ 54.057276][ T3542] [ 54.067497][ T3542] Possible unsafe locking scenario: [ 54.067497][ T3542] [ 54.074935][ T3542] CPU0 CPU1 [ 54.080285][ T3542] ---- ---- [ 54.085632][ T3542] lock(&ei->i_data_sem); [ 54.090037][ T3542] lock(&ea_inode->i_rwsem#8/1); [ 54.097586][ T3542] lock(&ei->i_data_sem); [ 54.104519][ T3542] lock(&ea_inode->i_rwsem#8/1); [ 54.109558][ T3542] [ 54.109558][ T3542] *** DEADLOCK *** [ 54.109558][ T3542] [ 54.117690][ T3542] 5 locks held by syz-executor411/3542: [ 54.123231][ T3542] #0: ffff888024618460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 [ 54.132384][ T3542] #1: ffff8880763bd440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: do_truncate+0x208/0x300 [ 54.142654][ T3542] #2: ffff8880763bd5e0 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_setattr+0xec7/0x1a00 [ 54.152830][ T3542] #3: ffff8880763bd2c8 (&ei->i_data_sem){++++}-{3:3}, at: ext4_setattr+0x13fa/0x1a00 [ 54.162403][ T3542] #4: ffff8880763bd108 (&ei->xattr_sem){++++}-{3:3}, at: __ext4_mark_inode_dirty+0x4b0/0x920 [ 54.172669][ T3542] [ 54.172669][ T3542] stack backtrace: [ 54.178547][ T3542] CPU: 0 PID: 3542 Comm: syz-executor411 Not tainted 6.1.32-syzkaller #0 [ 54.186956][ T3542] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 54.197005][ T3542] Call Trace: [ 54.200285][ T3542] [ 54.203214][ T3542] dump_stack_lvl+0x1e3/0x2cb [ 54.207896][ T3542] ? nf_tcp_handle_invalid+0x642/0x642 [ 54.213389][ T3542] ? print_circular_bug+0x12b/0x1a0 [ 54.218588][ T3542] check_noncircular+0x2fa/0x3b0 [ 54.223532][ T3542] ? mark_lock+0x9a/0x340 [ 54.227860][ T3542] ? add_chain_block+0x850/0x850 [ 54.232805][ T3542] ? lockdep_lock+0x11f/0x2a0 [ 54.237495][ T3542] validate_chain+0x1667/0x58e0 [ 54.242352][ T3542] ? reacquire_held_locks+0x660/0x660 [ 54.247726][ T3542] ? __lock_acquire+0x1f80/0x1f80 [ 54.252755][ T3542] ? mark_lock+0x9a/0x340 [ 54.257083][ T3542] __lock_acquire+0x125b/0x1f80 [ 54.261941][ T3542] lock_acquire+0x1f8/0x5a0 [ 54.266444][ T3542] ? ext4_xattr_inode_iget+0x4a3/0x5e0 [ 54.271903][ T3542] ? read_lock_is_recursive+0x10/0x10 [ 54.277271][ T3542] ? __might_sleep+0xb0/0xb0 [ 54.281862][ T3542] ? lockdep_softirqs_off+0x420/0x420 [ 54.287235][ T3542] down_write+0x36/0x60 [ 54.291393][ T3542] ? ext4_xattr_inode_iget+0x4a3/0x5e0 [ 54.296847][ T3542] ext4_xattr_inode_iget+0x4a3/0x5e0 [ 54.302136][ T3542] ext4_xattr_inode_get+0x17d/0x9a0 [ 54.307337][ T3542] ? __xattr_check_inode+0x3f0/0x3f0 [ 54.312619][ T3542] ? kvmalloc_node+0x6e/0x180 [ 54.317290][ T3542] ? rcu_is_watching+0x11/0xb0 [ 54.322053][ T3542] ? __kmalloc_node+0xe3/0x230 [ 54.326814][ T3542] ext4_expand_extra_isize_ea+0xe70/0x1bb0 [ 54.332636][ T3542] ? ext4_xattr_set+0x3d0/0x3d0 [ 54.337481][ T3542] ? rwsem_write_trylock+0x166/0x210 [ 54.342786][ T3542] ? clear_nonspinnable+0x60/0x60 [ 54.347814][ T3542] ? ext4_reserve_inode_write+0x2b3/0x360 [ 54.353550][ T3542] ? dquot_initialize_needed+0x128/0x320 [ 54.359181][ T3542] __ext4_expand_extra_isize+0x2f7/0x3d0 [ 54.364815][ T3542] __ext4_mark_inode_dirty+0x54f/0x920 [ 54.370274][ T3542] ? ext4_blocks_for_truncate+0x270/0x270 [ 54.375986][ T3542] ? ext4_update_disksize_before_punch+0x360/0x360 [ 54.382497][ T3542] ext4_setattr+0x1493/0x1a00 [ 54.387185][ T3542] ? ext4_write_inode+0x740/0x740 [ 54.392218][ T3542] notify_change+0xdcd/0x1080 [ 54.396897][ T3542] do_truncate+0x21c/0x300 [ 54.401325][ T3542] ? put_page_bootmem+0x2e0/0x2e0 [ 54.406358][ T3542] ? ima_bprm_check+0x2b0/0x2b0 [ 54.411205][ T3542] ? bpf_lsm_path_truncate+0x5/0x10 [ 54.416405][ T3542] path_openat+0x27e2/0x2e60 [ 54.421024][ T3542] ? do_filp_open+0x480/0x480 [ 54.425710][ T3542] do_filp_open+0x230/0x480 [ 54.430214][ T3542] ? vfs_tmpfile+0x4a0/0x4a0 [ 54.434811][ T3542] ? _raw_spin_unlock+0x24/0x40 [ 54.439676][ T3542] ? alloc_fd+0x59c/0x640 [ 54.444008][ T3542] do_sys_openat2+0x13b/0x500 [ 54.448694][ T3542] ? do_sys_open+0x220/0x220 [ 54.453286][ T3542] ? restore_fpregs_from_fpstate+0xfc/0x230 [ 54.459187][ T3542] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 54.465180][ T3542] __x64_sys_creat+0x11f/0x160 [ 54.469953][ T3542] ? __x64_compat_sys_openat+0x290/0x290 [ 54.475591][ T3542] ? syscall_enter_from_user_mode+0x2e/0x220 [ 54.481574][ T3542] ? lockdep_hardirqs_on+0x94/0x130 [ 54.486780][ T3542] ? syscall_enter_from_user_mode+0x2e/0x220 [ 54.492765][ T3542] do_syscall_64+0x3d/0xb0 [ 54.497179][ T3542] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 54.503068][ T3542] RIP: 0033:0x7f1b81bcbc29 [ 54.507482][ T3542] 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.527085][