EXT4-fs warning (device loop7): ext4_xattr_inode_create:1428: refuse to create EA inode when umounting ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6494 at fs/ext4/xattr.c:1429 ext4_xattr_inode_create fs/ext4/xattr.c:1427 [inline] WARNING: CPU: 0 PID: 6494 at fs/ext4/xattr.c:1429 ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1547 [inline] WARNING: CPU: 0 PID: 6494 at fs/ext4/xattr.c:1429 ext4_xattr_set_entry+0x2aca/0x4040 fs/ext4/xattr.c:1675 Modules linked in: CPU: 0 PID: 6494 Comm: syz-executor Not tainted 5.15.169-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:ext4_xattr_inode_create fs/ext4/xattr.c:1429 [inline] RIP: 0010:ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1547 [inline] RIP: 0010:ext4_xattr_set_entry+0x2aca/0x4040 fs/ext4/xattr.c:1675 Code: 03 00 00 e8 a8 2e 52 ff eb 29 e8 a1 2e 52 ff 4c 89 ff 48 c7 c6 46 0d 1d 8c ba 94 05 00 00 48 c7 c1 20 a2 9d 8a e8 16 3f fc ff <0f> 0b 48 c7 c3 ea ff ff ff 41 89 dd 31 ff 89 de e8 d1 31 52 ff 85 RSP: 0018:ffffc900032771e0 EFLAGS: 00010246 RAX: 02494c9e3f873d00 RBX: 0000000000000000 RCX: 02494c9e3f873d00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90003277470 R08: ffffffff81669a2c R09: ffffed10172067a8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801f190820 R13: ffffc90003277390 R14: ffffc90003277828 R15: ffff888020b2c000 FS: 000055559292d500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555929485c8 CR3: 000000007dd5b000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_xattr_block_set+0xb10/0x36a0 fs/ext4/xattr.c:1995 ext4_xattr_move_to_block fs/ext4/xattr.c:2623 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2698 [inline] ext4_expand_extra_isize_ea+0x10d5/0x1bb0 fs/ext4/xattr.c:2790 __ext4_expand_extra_isize+0x2f7/0x3d0 fs/ext4/inode.c:5857 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5900 [inline] __ext4_mark_inode_dirty+0x539/0x860 fs/ext4/inode.c:5978 ext4_dirty_inode+0xbf/0x100 fs/ext4/inode.c:6010 __mark_inode_dirty+0x2fd/0xd60 fs/fs-writeback.c:2464 mark_inode_dirty_sync include/linux/fs.h:2474 [inline] iput+0x1e1/0x8b0 fs/inode.c:1767 __dentry_kill+0x436/0x650 fs/dcache.c:586 shrink_dentry_list+0x398/0x6a0 fs/dcache.c:1181 shrink_dcache_parent+0xc9/0x480 do_one_tree+0x23/0xe0 fs/dcache.c:1662 shrink_dcache_for_umount+0x79/0x120 fs/dcache.c:1679 generic_shutdown_super+0x63/0x310 fs/super.c:447 kill_block_super+0x7a/0xe0 fs/super.c:1427 deactivate_locked_super+0xa0/0x110 fs/super.c:335 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143 task_work_run+0x129/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f3d463d8a47 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffe7e392c38 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f3d4644a1cc RCX: 00007f3d463d8a47 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe7e392cf0 RBP: 00007ffe7e392cf0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe7e393d70 R13: 00007f3d4644a1cc R14: 00000000000465db R15: 00007ffe7e393db0