EXT4-fs warning (device loop4): ext4_xattr_inode_create:1477: refuse to create EA inode when umounting ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6423 at fs/ext4/xattr.c:1478 ext4_xattr_inode_lookup_create+0x9e4/0x19e4 fs/ext4/xattr.c:1596 Modules linked in: CPU: 0 UID: 0 PID: 6423 Comm: syz-executor Not tainted 6.12.0-rc7-syzkaller-g8e9a54d7181b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ext4_xattr_inode_lookup_create+0x9e4/0x19e4 fs/ext4/xattr.c:1596 lr : ext4_xattr_inode_create fs/ext4/xattr.c:1476 [inline] lr : ext4_xattr_inode_lookup_create+0x9e0/0x19e4 fs/ext4/xattr.c:1596 sp : ffff8000a4696f20 x29: ffff8000a46970c0 x28: 0000000000000001 x27: 0000000000000000 x26: ffffffffffffffea x25: ffff0000ee7002d8 x24: ffff0000eda22068 x23: dfff800000000000 x22: ffff0000eda22000 x21: ffff0000ee7002b0 x20: ffff8000a4697030 x19: ffff7000148d2df8 x18: 1fffe000366c6c76 x17: ffff80008f80d000 x16: ffff8000830ce3b0 x15: 0000000000000001 x14: 1ffff000148d2d08 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000001 x10: 0000000000ff0100 x9 : 07a881edf148fd00 x8 : 07a881edf148fd00 x7 : ffff8000802c419c x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff80008306a370 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000066 Call trace: ext4_xattr_inode_lookup_create+0x9e4/0x19e4 fs/ext4/xattr.c:1596 (P) ext4_xattr_inode_create fs/ext4/xattr.c:1476 [inline] (L) ext4_xattr_inode_lookup_create+0x9e0/0x19e4 fs/ext4/xattr.c:1596 (L) ext4_xattr_block_set+0x224/0x2e08 fs/ext4/xattr.c:1916 ext4_xattr_move_to_block fs/ext4/xattr.c:2670 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2745 [inline] ext4_expand_extra_isize_ea+0xeb4/0x16c0 fs/ext4/xattr.c:2837 __ext4_expand_extra_isize+0x290/0x348 fs/ext4/inode.c:5831 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5874 [inline] __ext4_mark_inode_dirty+0x458/0x868 fs/ext4/inode.c:5952 ext4_dirty_inode+0xd4/0x104 fs/ext4/inode.c:5984 __mark_inode_dirty+0x2b8/0x11dc fs/fs-writeback.c:2493 mark_inode_dirty_sync include/linux/fs.h:2479 [inline] iput+0x1d0/0x8ec fs/inode.c:1900 dentry_unlink_inode+0x3a0/0x4e0 fs/dcache.c:412 __dentry_kill+0x178/0x5e8 fs/dcache.c:615 shrink_kill+0xd4/0x2cc fs/dcache.c:1060 shrink_dentry_list+0x31c/0x768 fs/dcache.c:1087 shrink_dcache_parent+0xc4/0x374 do_one_tree+0x30/0xfc fs/dcache.c:1550 shrink_dcache_for_umount+0xd8/0x188 fs/dcache.c:1567 generic_shutdown_super+0x68/0x2bc fs/super.c:620 kill_block_super+0x44/0x90 fs/super.c:1710 ext4_kill_sb+0x68/0xa4 fs/ext4/super.c:7320 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1373 __cleanup_mnt+0x20/0x30 fs/namespace.c:1380 task_work_run+0x230/0x2e0 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:745 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 371396 hardirqs last enabled at (371395): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1517 [inline] hardirqs last enabled at (371395): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5082 hardirqs last disabled at (371396): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (371378): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (371376): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- EXT4-fs (loop4): unmounting filesystem 00000000-0000-0000-0000-000000000000. syz-executor: attempt to access beyond end of device loop4: rw=2049, sector=45096, nr_sectors = 8 limit=40427 F2FS-fs (loop4): Stopped filesystem due to reason: 3