EXT4-fs warning (device loop1): ext4_xattr_inode_create:1428: refuse to create EA inode when umounting ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4166 at fs/ext4/xattr.c:1429 ext4_xattr_inode_create fs/ext4/xattr.c:1427 [inline] WARNING: CPU: 0 PID: 4166 at fs/ext4/xattr.c:1429 ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1547 [inline] WARNING: CPU: 0 PID: 4166 at fs/ext4/xattr.c:1429 ext4_xattr_set_entry+0x2bda/0x4130 fs/ext4/xattr.c:1675 Modules linked in: CPU: 0 PID: 4166 Comm: syz-executor Not tainted 5.15.176-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+0x2bda/0x4130 fs/ext4/xattr.c:1675 Code: 03 00 00 e8 c8 02 52 ff eb 29 e8 c1 02 52 ff 4c 89 ff 48 c7 c6 ef 5d 3e 8c ba 94 05 00 00 48 c7 c1 80 a5 bd 8a e8 c6 3b fc ff <0f> 0b 48 c7 c3 ea ff ff ff 41 89 dd 31 ff 89 de e8 f1 05 52 ff 85 RSP: 0018:ffffc90002eff1e0 EFLAGS: 00010246 RAX: bb5144ae52d43a00 RBX: 0000000000000000 RCX: bb5144ae52d43a00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90002eff470 R08: ffffffff8166aa6c R09: ffffed10171c67a8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88805cfcb450 R13: ffffc90002eff390 R14: ffffc90002eff828 R15: ffff8880779c2000 FS: 000055556211d500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffa945389c CR3: 00000000651b0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_xattr_block_set+0x69a/0x36a0 fs/ext4/xattr.c:1926 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:0x7fee97088057 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:00007ffe29802568 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fee971028f4 RCX: 00007fee97088057 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe29802620 RBP: 00007ffe29802620 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe298036a0 R13: 00007fee971028f4 R14: 00007ffe298036e0 R15: 0000000000000008