Warning: Permanently added '10.128.0.236' (ECDSA) to the list of known hosts. executing program executing program executing program executing program syzkaller login: [ 36.264325][ T4413] loop5: detected capacity change from 0 to 512 [ 36.267298][ T4415] loop1: detected capacity change from 0 to 512 [ 36.269233][ T4414] loop4: detected capacity change from 0 to 512 executing program executing program [ 36.279020][ T4414] EXT4-fs: Quota format mount options ignored when QUOTA feature is enabled [ 36.282302][ T4415] EXT4-fs: Quota format mount options ignored when QUOTA feature is enabled [ 36.285178][ T4413] EXT4-fs: Quota format mount options ignored when QUOTA feature is enabled [ 36.289010][ T4412] loop0: detected capacity change from 0 to 512 [ 36.299482][ T4412] EXT4-fs: Quota format mount options ignored when QUOTA feature is enabled [ 36.303740][ T4419] loop2: detected capacity change from 0 to 512 [ 36.305679][ T4420] loop3: detected capacity change from 0 to 512 [ 36.307461][ T4421] I/O error, dev loop2, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2 [ 36.307525][ T4421] I/O error, dev loop2, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2 [ 36.312441][ T4421] Buffer I/O error on dev loop2, logical block 0, async page read [ 36.313099][ T4420] EXT4-fs: Quota format mount options ignored when QUOTA feature is enabled [ 36.317633][ T4419] EXT4-fs: Quota format mount options ignored when QUOTA feature is enabled [ 36.323680][ T4413] EXT4-fs (loop5): mounted filesystem 00000000-0000-0000-0000-000000000000 without journal. Quota mode: writeback. [ 36.326893][ T4415] EXT4-fs (loop1): mounted filesystem 00000000-0000-0000-0000-000000000000 without journal. Quota mode: writeback. [ 36.330548][ T4414] EXT4-fs (loop4): mounted filesystem 00000000-0000-0000-0000-000000000000 without journal. Quota mode: writeback. [ 36.339500][ T4412] EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 without journal. Quota mode: writeback. [ 36.343759][ T4420] EXT4-fs (loop3): mounted filesystem 00000000-0000-0000-0000-000000000000 without journal. Quota mode: writeback. [ 36.390092][ T4419] EXT4-fs (loop2): mounted filesystem 00000000-0000-0000-0000-000000000000 without journal. Quota mode: writeback. executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 36.676393][ T4452] ------------[ cut here ]------------ [ 36.678030][ T4452] Looking for class "&ea_inode->i_rwsem" with key ext4_fs_type, but found a different class "&sb->s_type->i_mutex_key" with the same key [ 36.681933][ T4452] WARNING: CPU: 0 PID: 4452 at kernel/locking/lockdep.c:940 look_up_lock_class+0x158/0x160 [ 36.684646][ T4452] Modules linked in: [ 36.685673][ T4452] CPU: 0 PID: 4452 Comm: syz-executor318 Not tainted 6.2.0-rc2-syzkaller-16046-gae87308093bc #0 [ 36.688582][ T4452] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 36.691260][ T4452] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 36.693410][ T4452] pc : look_up_lock_class+0x158/0x160 [ 36.694939][ T4452] lr : look_up_lock_class+0x154/0x160 [ 36.696407][ T4452] sp : ffff80000ff434e0 [ 36.697536][ T4452] x29: ffff80000ff434e0 x28: 0000000000000000 x27: 0000000000000000 [ 36.699683][ T4452] x26: ffff0000cafac6f0 x25: ffff800008877514 x24: 0000000000000000 [ 36.701812][ T4452] x23: ffff80000f058000 x22: 0000000000000001 x21: ffff80000d6a1e68 [ 36.703969][ T4452] x20: 0000000000000000 x19: ffff80000ddabc98 x18: 0000000000000000 [ 36.706144][ T4452] x17: 0000000000000000 x16: 0000000000000001 x15: 0000000000000000 [ 36.708320][ T4452] x14: 000000000000000d x13: 205d323534345420 x12: 5b5d303330383736 [ 36.710473][ T4452] x11: ff808000081cbbc8 x10: 0000000000000000 x9 : b4969308ab43b000 [ 36.712631][ T4452] x8 : b4969308ab43b000 x7 : 205b5d3033303837 x6 : ffff80000c121738 [ 36.714811][ T4452] x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 [ 36.716962][ T4452] x2 : 0000000000000000 x1 : 0000000100000000 x0 : ffff80000ddabc98 [ 36.719117][ T4452] Call trace: [ 36.720036][ T4452] look_up_lock_class+0x158/0x160 [ 36.721360][ T4452] register_lock_class+0x4c/0x2f8 [ 36.722728][ T4452] __lock_acquire+0xa8/0x3084 [ 36.723995][ T4452] lock_acquire+0x100/0x1f8 [ 36.725201][ T4452] down_write+0x5c/0x88 [ 36.726313][ T4452] ext4_xattr_inode_update_ref+0x4c/0x2cc [ 36.727902][ T4452] ext4_xattr_block_set+0x4b4/0x1404 [ 36.729305][ T4452] ext4_xattr_set_handle+0x724/0x9a0 [ 36.730732][ T4452] ext4_xattr_set+0x104/0x1d4 [ 36.732019][ T4452] ext4_xattr_trusted_set+0x4c/0x64 [ 36.733426][ T4452] __vfs_setxattr+0x290/0x29c [ 36.734706][ T4452] __vfs_setxattr_noperm+0xcc/0x320 [ 36.736242][ T4452] __vfs_setxattr_locked+0x16c/0x194 [ 36.737725][ T4452] vfs_setxattr+0xf4/0x1f4 [ 36.739007][ T4452] path_setxattr+0x32c/0x424 [ 36.740252][ T4452] __arm64_sys_setxattr+0x2c/0x40 [ 36.741606][ T4452] el0_svc_common+0x138/0x220 [ 36.742886][ T4452] do_el0_svc+0x48/0x140 [ 36.744049][ T4452] el0_svc+0x58/0x150 [ 36.745132][ T4452] el0t_64_sync_handler+0x84/0xf0 [ 36.746533][ T4452] el0t_64_sync+0x190/0x194 [ 36.747748][ T4452] irq event stamp: 5901 [ 36.748907][ T4452] hardirqs last enabled at (5901): [] _raw_spin_unlock_irqrestore+0x48/0x8c [ 36.751718][ T4452] hardirqs last disabled at (5900): [] _raw_spin_lock_irqsave+0xa4/0xb4 [ 36.754373][ T4452] softirqs last enabled at (5822): [] _stext+0x2e4/0x37c [ 36.756703][ T4452] softirqs last disabled at (5811): [] ____do_softirq+0x14/0x20 [ 36.759167][ T4452] ---[ end trace 0000000000000000 ]--- [ 36.760667][ T4452] [ 36.761268][ T4452] ====================================================== [ 36.763156][ T4452] WARNING: possible circular locking dependency detected [ 36.765028][ T4452] 6.2.0-rc2-syzkaller-16046-gae87308093bc #0 Tainted: G W [ 36.767316][ T4452] ------------------------------------------------------ [ 36.769208][ T4452] syz-executor318/4452 is trying to acquire lock: [ 36.770948][ T4452] ffff0000cafac6f0 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_xattr_inode_update_ref+0x4c/0x2cc [ 36.773965][ T4452] [ 36.773965][ T4452] but task is already holding lock: [ 36.775940][ T4452] ffff0000caf2a708 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0xd0/0x9a0 [ 36.778571][ T4452] [ 36.778571][ T4452] which lock already depends on the new lock. [ 36.778571][ T4452] [ 36.781428][ T4452] [ 36.781428][ T4452] the existing dependency chain (in reverse order) is: [ 36.783783][ T4452] [ 36.783783][ T4452] -> #1 (&ei->xattr_sem){++++}-{3:3}: [ 36.785758][ T4452] down_read+0x5c/0x78 [ 36.787009][ T4452] ext4_xattr_get+0x90/0x418 [ 36.788391][ T4452] ext4_xattr_security_get+0x40/0x54 [ 36.789992][ T4452] __vfs_getxattr+0x258/0x268 [ 36.791412][ T4452] cap_inode_need_killpriv+0x34/0x5c [ 36.792952][ T4452] security_inode_need_killpriv+0x34/0x88 [ 36.794631][ T4452] __file_remove_privs+0xc4/0x270 [ 36.796134][ T4452] file_modified_flags+0x60/0x330 [ 36.797652][ T4452] file_modified+0x24/0x34 [ 36.798954][ T4452] ext4_buffered_write_iter+0x12c/0x294 [ 36.800605][ T4452] ext4_file_write_iter+0x84/0x40c [ 36.802100][ T4452] vfs_write+0x2dc/0x46c [ 36.803379][ T4452] ksys_write+0xb4/0x160 [ 36.804625][ T4452] __arm64_sys_write+0x24/0x34 [ 36.806068][ T4452] el0_svc_common+0x138/0x220 [ 36.807480][ T4452] do_el0_svc+0x48/0x140 [ 36.808794][ T4452] el0_svc+0x58/0x150 [ 36.810003][ T4452] el0t_64_sync_handler+0x84/0xf0 [ 36.811479][ T4452] el0t_64_sync+0x190/0x194 [ 36.812811][ T4452] [ 36.812811][ T4452] -> #0 (&sb->s_type->i_mutex_key#8){++++}-{3:3}: [ 36.815104][ T4452] __lock_acquire+0x1530/0x3084 [ 36.816593][ T4452] lock_acquire+0x100/0x1f8 [ 36.817919][ T4452] down_write+0x5c/0x88 [ 36.819156][ T4452] ext4_xattr_inode_update_ref+0x4c/0x2cc [ 36.820852][ T4452] ext4_xattr_block_set+0x4b4/0x1404 [ 36.822419][ T4452] ext4_xattr_set_handle+0x724/0x9a0 [ 36.824001][ T4452] ext4_xattr_set+0x104/0x1d4 [ 36.825392][ T4452] ext4_xattr_trusted_set+0x4c/0x64 [ 36.826977][ T4452] __vfs_setxattr+0x290/0x29c [ 36.828342][ T4452] __vfs_setxattr_noperm+0xcc/0x320 [ 36.829874][ T4452] __vfs_setxattr_locked+0x16c/0x194 [ 36.831433][ T4452] vfs_setxattr+0xf4/0x1f4 [ 36.832770][ T4452] path_setxattr+0x32c/0x424 [ 36.834138][ T4452] __arm64_sys_setxattr+0x2c/0x40 [ 36.835648][ T4452] el0_svc_common+0x138/0x220 [ 36.837020][ T4452] do_el0_svc+0x48/0x140 [ 36.838308][ T4452] el0_svc+0x58/0x150 [ 36.839513][ T4452] el0t_64_sync_handler+0x84/0xf0 [ 36.841024][ T4452] el0t_64_sync+0x190/0x194 [ 36.842380][ T4452] [ 36.842380][ T4452] other info that might help us debug this: [ 36.842380][ T4452] [ 36.845129][ T4452] Possible unsafe locking scenario: [ 36.845129][ T4452] [ 36.847121][ T4452] CPU0 CPU1 [ 36.848543][ T4452] ---- ---- [ 36.849958][ T4452] lock(&ei->xattr_sem); [ 36.851125][ T4452] lock(&sb->s_type->i_mutex_key#8); [ 36.853248][ T4452] lock(&ei->xattr_sem); [ 36.855105][ T4452] lock(&sb->s_type->i_mutex_key#8); [ 36.856539][ T4452] [ 36.856539][ T4452] *** DEADLOCK *** [ 36.856539][ T4452] [ 36.858681][ T4452] 3 locks held by syz-executor318/4452: [ 36.860206][ T4452] #0: ffff0000c9463460 (sb_writers#3){.+.+}-{0:0}, at: mnt_want_write+0x20/0x64 [ 36.862743][ T4452] #1: ffff0000caf2aa40 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_setxattr+0xd4/0x1f4 [ 36.865484][ T4452] #2: ffff0000caf2a708 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0xd0/0x9a0 [ 36.868159][ T4452] [ 36.868159][ T4452] stack backtrace: [ 36.869752][ T4452] CPU: 0 PID: 4452 Comm: syz-executor318 Tainted: G W 6.2.0-rc2-syzkaller-16046-gae87308093bc #0 [ 36.872966][ T4452] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 36.875682][ T4452] Call trace: [ 36.876545][ T4452] dump_backtrace+0x1c4/0x1f0 [ 36.877776][ T4452] show_stack+0x2c/0x3c [ 36.878868][ T4452] dump_stack_lvl+0x104/0x16c [ 36.880101][ T4452] dump_stack+0x1c/0x58 [ 36.881213][ T4452] print_circular_bug+0x2c4/0x2c8 [ 36.882557][ T4452] check_noncircular+0x14c/0x154 [ 36.883850][ T4452] __lock_acquire+0x1530/0x3084 [ 36.885112][ T4452] lock_acquire+0x100/0x1f8 [ 36.886322][ T4452] down_write+0x5c/0x88 [ 36.887421][ T4452] ext4_xattr_inode_update_ref+0x4c/0x2cc [ 36.888975][ T4452] ext4_xattr_block_set+0x4b4/0x1404 [ 36.890360][ T4452] ext4_xattr_set_handle+0x724/0x9a0 [ 36.891764][ T4452] ext4_xattr_set+0x104/0x1d4 [ 36.893005][ T4452] ext4_xattr_trusted_set+0x4c/0x64 [ 36.894399][ T4452] __vfs_setxattr+0x290/0x29c [ 36.895650][ T4452] __vfs_setxattr_noperm+0xcc/0x320 [ 36.897051][ T4452] __vfs_setxattr_locked+0x16c/0x194 [ 36.898488][ T4452] vfs_setxattr+0xf4/0x1f4 [ 36.899648][ T4452] path_setxattr+0x32c/0x424 [ 36.900868][ T4452] __arm64_sys_setxattr+0x2c/0x40 [ 36.902216][ T4452] el0_svc_common+0x138/0x220 [ 36.903464][ T4452] do_el0_svc+0x48/0x140 [ 36.904585][ T4452] el0_svc+0x58/0x150 [ 36.905632][ T4452] el0t_64_sync_handler+0x84/0xf0 [ 36.906963][ T4452] el0t_64_sync+0x190/0x194 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program