EXT4-fs warning (device loop2): ext4_xattr_inode_create:1471: refuse to create EA inode when umounting ------------[ cut here ]------------ WARNING: CPU: 1 PID: 6802 at fs/ext4/xattr.c:1472 ext4_xattr_inode_create fs/ext4/xattr.c:1472 [inline] WARNING: CPU: 1 PID: 6802 at fs/ext4/xattr.c:1472 ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1590 [inline] WARNING: CPU: 1 PID: 6802 at fs/ext4/xattr.c:1472 ext4_xattr_set_entry+0x162c/0x4330 fs/ext4/xattr.c:1718 Modules linked in: CPU: 1 PID: 6802 Comm: syz-executor.2 Not tainted 6.9.0-syzkaller-01768-ga5131c3fdf26 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:ext4_xattr_inode_create fs/ext4/xattr.c:1472 [inline] RIP: 0010:ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1590 [inline] RIP: 0010:ext4_xattr_set_entry+0x162c/0x4330 fs/ext4/xattr.c:1718 Code: 00 00 e8 d7 c3 29 ff eb 30 e8 d0 c3 29 ff 4c 89 ff 48 c7 c6 28 54 b4 8d ba bf 05 00 00 48 c7 c1 c0 94 df 8b e8 75 12 fc ff 90 <0f> 0b 90 49 c7 c4 ea ff ff ff 4c 8b 7c 24 70 48 8b 44 24 40 42 80 RSP: 0018:ffffc90003957140 EFLAGS: 00010246 RAX: 16a16e2a833d1200 RBX: 0000000000000000 RCX: 16a16e2a833d1200 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc900039573d0 R08: ffffffff8176dd8c R09: fffffbfff1c39d38 R10: dffffc0000000000 R11: fffffbfff1c39d38 R12: ffff88805a8ed2d8 R13: dffffc0000000000 R14: ffffc900039572f0 R15: ffff88802bee6000 FS: 0000555594965480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f97f07a8000 CR3: 0000000051c80000 CR4: 0000000000350ef0 Call Trace: ext4_xattr_block_set+0x6a2/0x3480 fs/ext4/xattr.c:1968 ext4_xattr_move_to_block fs/ext4/xattr.c:2654 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2729 [inline] ext4_expand_extra_isize_ea+0x12d7/0x1cf0 fs/ext4/xattr.c:2821 __ext4_expand_extra_isize+0x2fb/0x3e0 fs/ext4/inode.c:5789 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5832 [inline] __ext4_mark_inode_dirty+0x524/0x880 fs/ext4/inode.c:5910 ext4_dirty_inode+0xce/0x110 fs/ext4/inode.c:5942 __mark_inode_dirty+0x327/0xe20 fs/fs-writeback.c:2486 mark_inode_dirty_sync include/linux/fs.h:2426 [inline] iput+0x1fe/0x930 fs/inode.c:1764 __dentry_kill+0x20d/0x630 fs/dcache.c:603 shrink_kill+0xa9/0x2c0 fs/dcache.c:1048 shrink_dentry_list+0x2c0/0x5b0 fs/dcache.c:1075 shrink_dcache_parent+0xcb/0x3b0 do_one_tree+0x23/0xe0 fs/dcache.c:1538 shrink_dcache_for_umount+0x7d/0x130 fs/dcache.c:1555 generic_shutdown_super+0x6a/0x2d0 fs/super.c:619 kill_block_super+0x44/0x90 fs/super.c:1675 ext4_kill_sb+0x68/0xa0 fs/ext4/super.c:7323 deactivate_locked_super+0xc6/0x130 fs/super.c:472 cleanup_mnt+0x426/0x4c0 fs/namespace.c:1267 task_work_run+0x251/0x310 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbec6c7f097 Code: b0 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 b0 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffe4a0bbf98 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fbec6c7f097 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe4a0bc050 RBP: 00007ffe4a0bc050 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe4a0bd110 R13: 00007fbec6cc9336 R14: 0000000000047d20 R15: 000000000000001e