EXT4-fs warning (device loop1): ext4_xattr_inode_create:1422: refuse to create EA inode when umounting ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6086 at fs/ext4/xattr.c:1423 ext4_xattr_inode_create fs/ext4/xattr.c:1421 [inline] WARNING: CPU: 0 PID: 6086 at fs/ext4/xattr.c:1423 ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1541 [inline] WARNING: CPU: 0 PID: 6086 at fs/ext4/xattr.c:1423 ext4_xattr_set_entry+0x2ad3/0x3fb0 fs/ext4/xattr.c:1669 Modules linked in: CPU: 0 PID: 6086 Comm: syz-executor Not tainted 5.15.162-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:ext4_xattr_inode_create fs/ext4/xattr.c:1423 [inline] RIP: 0010:ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1541 [inline] RIP: 0010:ext4_xattr_set_entry+0x2ad3/0x3fb0 fs/ext4/xattr.c:1669 Code: 03 00 00 e8 cf 40 52 ff eb 29 e8 c8 40 52 ff 4c 89 ff 48 c7 c6 42 38 18 8c ba 8e 05 00 00 48 c7 c1 20 a0 9d 8a e8 0d 3f fc ff <0f> 0b 48 c7 c3 ea ff ff ff 41 89 dd 31 ff 89 de e8 f8 43 52 ff 85 RSP: 0018:ffffc90002e971e0 EFLAGS: 00010246 RAX: cc58b7da86538900 RBX: 0000000000000000 RCX: cc58b7da86538900 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90002e97470 R08: ffffffff816683dc R09: fffff520005d2d55 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888022f8e820 R13: 000000000000feeb R14: ffffc90002e97828 R15: ffff88807ad6e000 FS: 00005555569d4500(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc4bb51a2d8 CR3: 000000001c84b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_xattr_block_set+0xb10/0x36a0 fs/ext4/xattr.c:1989 ext4_xattr_move_to_block fs/ext4/xattr.c:2616 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2691 [inline] ext4_expand_extra_isize_ea+0x10d5/0x1bb0 fs/ext4/xattr.c:2783 __ext4_expand_extra_isize+0x2f7/0x3d0 fs/ext4/inode.c:5840 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5883 [inline] __ext4_mark_inode_dirty+0x539/0x860 fs/ext4/inode.c:5961 ext4_dirty_inode+0xbf/0x100 fs/ext4/inode.c:5993 __mark_inode_dirty+0x2fd/0xd60 fs/fs-writeback.c:2464 mark_inode_dirty_sync include/linux/fs.h:2467 [inline] iput+0x1e1/0x8b0 fs/inode.c:1728 __dentry_kill+0x436/0x650 fs/dcache.c:582 shrink_dentry_list+0x398/0x6a0 fs/dcache.c:1177 shrink_dcache_parent+0xc9/0x480 do_one_tree+0x23/0xe0 fs/dcache.c:1658 shrink_dcache_for_umount+0x79/0x120 fs/dcache.c:1675 generic_shutdown_super+0x66/0x2c0 fs/super.c:447 kill_block_super+0x7a/0xe0 fs/super.c:1414 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:164 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:0x7f1070854f07 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:00007ffe3dd00808 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f10708c1515 RCX: 00007f1070854f07 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe3dd008c0 RBP: 00007ffe3dd008c0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe3dd01990 R13: 00007f10708c1515 R14: 000000000003ad1f R15: 000000000000001b