EXT4-fs warning (device loop2): ext4_xattr_inode_create:1477: refuse to create EA inode when umounting ------------[ cut here ]------------ WARNING: CPU: 1 PID: 21302 at fs/ext4/xattr.c:1478 ext4_xattr_inode_create fs/ext4/xattr.c:1478 [inline] WARNING: CPU: 1 PID: 21302 at fs/ext4/xattr.c:1478 ext4_xattr_inode_lookup_create+0xc25/0x1f20 fs/ext4/xattr.c:1596 Modules linked in: CPU: 1 UID: 0 PID: 21302 Comm: syz-executor Not tainted 6.12.0-rc3-next-20241015-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:1478 [inline] RIP: 0010:ext4_xattr_inode_lookup_create+0xc25/0x1f20 fs/ext4/xattr.c:1596 Code: 8b 4c 24 08 e9 96 03 00 00 e8 67 4d 22 ff 4c 89 ff 48 c7 c6 b2 12 0e 8e ba c5 05 00 00 48 c7 c1 00 6c 20 8c e8 6c 13 fc ff 90 <0f> 0b 90 48 c7 44 24 08 ea ff ff ff 4c 8b 74 24 58 e9 7b 03 00 00 RSP: 0018:ffffc900096a7240 EFLAGS: 00010246 RAX: 9fc6ee35a6bb2800 RBX: 0000000000000000 RCX: 9fc6ee35a6bb2800 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc900096a7410 R08: ffffffff8174a1ec R09: 1ffff920012d4dbc R10: dffffc0000000000 R11: fffff520012d4dbd R12: dffffc0000000000 R13: ffff88807a2caa78 R14: ffffc900096a7350 R15: ffff888064278000 FS: 0000555586d37500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007feabdeb6f98 CR3: 000000001bfde000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_xattr_block_set+0x274/0x3980 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+0x12d7/0x1cf0 fs/ext4/xattr.c:2837 __ext4_expand_extra_isize+0x2fb/0x3e0 fs/ext4/inode.c:5831 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5874 [inline] __ext4_mark_inode_dirty+0x524/0x880 fs/ext4/inode.c:5952 ext4_dirty_inode+0xce/0x110 fs/ext4/inode.c:5984 __mark_inode_dirty+0x2ee/0xe90 fs/fs-writeback.c:2493 mark_inode_dirty_sync include/linux/fs.h:2489 [inline] iput+0x1f1/0xa50 fs/inode.c:1967 __dentry_kill+0x20d/0x630 fs/dcache.c:625 shrink_kill+0xa9/0x2c0 fs/dcache.c:1070 shrink_dentry_list+0x2c0/0x5b0 fs/dcache.c:1097 shrink_dcache_parent+0xcb/0x3b0 do_one_tree+0x23/0xe0 fs/dcache.c:1560 shrink_dcache_for_umount+0xb4/0x180 fs/dcache.c:1577 generic_shutdown_super+0x6a/0x2d0 fs/super.c:620 kill_block_super+0x44/0x90 fs/super.c:1710 ext4_kill_sb+0x68/0xa0 fs/ext4/super.c:7320 deactivate_locked_super+0xc4/0x130 fs/super.c:473 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1373 task_work_run+0x24f/0x310 kernel/task_work.c:239 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+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb5d2d7f327 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:00007ffce253b4a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fb5d2d7f327 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffce253b560 RBP: 00007ffce253b560 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffce253c5e0 R13: 00007fb5d2df0134 R14: 00000000001cd865 R15: 00007ffce253c620