------------[ cut here ]------------ EA inode 11 i_nlink=2 WARNING: fs/ext4/xattr.c:1056 at ext4_xattr_inode_update_ref+0x4b7/0x5b0 fs/ext4/xattr.c:1056, CPU#0: syz.0.8/5976 Modules linked in: CPU: 0 UID: 0 PID: 5976 Comm: syz.0.8 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:ext4_xattr_inode_update_ref+0x4be/0x5b0 fs/ext4/xattr.c:1056 Code: 40 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 f1 00 00 00 48 8d 3d 29 10 fb 0d 48 8b 73 40 44 89 e2 <67> 48 0f b9 3a e9 06 ff ff ff e8 63 09 2b ff 48 8d 7b 40 48 b8 00 RSP: 0018:ffffc90004b9f178 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff888076ab1f78 RCX: ffffc9000c0a9000 RDX: 0000000000000002 RSI: 000000000000000b RDI: ffffffff908eda50 RBP: ffffc90004b9f240 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000002 R11: 0000000000000001 R12: 0000000000000002 R13: ffffffffffffffff R14: 1ffff92000973e32 R15: ffff888076ab2168 FS: 00007f3814e826c0(0000) GS:ffff8881248f6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30d23ffc CR3: 0000000029ae2000 CR4: 0000000000350ef0 Call Trace: ext4_xattr_inode_dec_ref fs/ext4/xattr.c:1081 [inline] ext4_xattr_set_entry+0x158f/0x1f00 fs/ext4/xattr.c:1723 ext4_xattr_ibody_set+0x3d6/0x5d0 fs/ext4/xattr.c:2272 ext4_xattr_move_to_block fs/ext4/xattr.c:2675 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2743 [inline] ext4_expand_extra_isize_ea+0x148c/0x1ab0 fs/ext4/xattr.c:2831 __ext4_expand_extra_isize+0x346/0x480 fs/ext4/inode.c:6349 ext4_try_to_expand_extra_isize fs/ext4/inode.c:6392 [inline] __ext4_mark_inode_dirty+0x544/0x840 fs/ext4/inode.c:6470 ext4_evict_inode+0x713/0x1730 fs/ext4/inode.c:253 evict+0x3c2/0xad0 fs/inode.c:837 iput_final fs/inode.c:1951 [inline] iput.part.0+0x621/0x1190 fs/inode.c:2003 iput+0x35/0x40 fs/inode.c:1966 ext4_orphan_cleanup+0x731/0x11e0 fs/ext4/orphan.c:472 __ext4_fill_super fs/ext4/super.c:5658 [inline] ext4_fill_super+0x7ec1/0xb570 fs/ext4/super.c:5777 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1691 vfs_get_tree+0x8e/0x330 fs/super.c:1751 fc_mount fs/namespace.c:1199 [inline] do_new_mount_fc fs/namespace.c:3636 [inline] do_new_mount fs/namespace.c:3712 [inline] path_mount+0x7bf/0x23a0 fs/namespace.c:4022 do_mount fs/namespace.c:4035 [inline] __do_sys_mount fs/namespace.c:4224 [inline] __se_sys_mount fs/namespace.c:4201 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:4201 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3813f90eea Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3814e81e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f3814e81ef0 RCX: 00007f3813f90eea RDX: 0000200000000180 RSI: 00002000000001c0 RDI: 00007f3814e81eb0 RBP: 0000200000000180 R08: 00007f3814e81ef0 R09: 0000000000800700 R10: 0000000000800700 R11: 0000000000000246 R12: 00002000000001c0 R13: 00007f3814e81eb0 R14: 000000000000046f R15: 000000000000002c ---------------- Code disassembly (best guess): 0: 40 rex 1: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 8: fc ff df b: 48 89 fa mov %rdi,%rdx e: 48 c1 ea 03 shr $0x3,%rdx 12: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 16: 0f 85 f1 00 00 00 jne 0x10d 1c: 48 8d 3d 29 10 fb 0d lea 0xdfb1029(%rip),%rdi # 0xdfb104c 23: 48 8b 73 40 mov 0x40(%rbx),%rsi 27: 44 89 e2 mov %r12d,%edx * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: e9 06 ff ff ff jmp 0xffffff3a 34: e8 63 09 2b ff call 0xff2b099c 39: 48 8d 7b 40 lea 0x40(%rbx),%rdi 3d: 48 rex.W 3e: b8 .byte 0xb8