loop0: detected capacity change from 0 to 512 ------------[ cut here ]------------ EA inode 11 i_nlink=0 WARNING: fs/ext4/xattr.c:1059 at ext4_xattr_inode_update_ref+0x4cc/0x590 fs/ext4/xattr.c:1057, CPU#0: syz.0.0/5337 Modules linked in: CPU: 0 UID: 0 PID: 5337 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:ext4_xattr_inode_update_ref+0x50c/0x590 fs/ext4/xattr.c:1057 Code: 08 4c 89 e7 e8 85 13 96 ff 4d 8b 24 24 48 b8 00 00 00 00 00 fc ff df 41 0f b6 04 07 84 c0 75 73 41 8b 55 00 48 89 df 4c 89 e6 <67> 48 0f b9 3a e9 5f fe ff ff e8 15 f0 0d 09 44 89 e9 80 e1 07 80 RSP: 0018:ffffc9000f08f260 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffffff90386070 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 000000000000000b RDI: ffffffff90386070 RBP: ffffc9000f08f350 R08: ffff888047d3a02f R09: 1ffff11008fa7405 R10: dffffc0000000000 R11: ffffed1008fa7406 R12: 000000000000000b R13: ffff888047d39e88 R14: 0000000000000000 R15: 1ffff11008fa73d1 FS: 00007f79e53a26c0(0000) GS:ffff88808c85e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055bfe6f87b60 CR3: 000000001277b000 CR4: 0000000000352ef0 Call Trace: ext4_xattr_inode_dec_ref fs/ext4/xattr.c:1082 [inline] ext4_xattr_inode_dec_ref_all+0x7c0/0xec0 fs/ext4/xattr.c:1228 ext4_xattr_delete_inode+0xb42/0xd10 fs/ext4/xattr.c:2952 ext4_evict_inode+0xc31/0x10c0 fs/ext4/inode.c:284 evict+0x624/0xb50 fs/inode.c:828 ext4_orphan_cleanup+0xc7a/0x14c0 fs/ext4/orphan.c:472 __ext4_fill_super fs/ext4/super.c:5701 [inline] ext4_fill_super+0x5cb7/0x65c0 fs/ext4/super.c:5824 get_tree_bdev_flags+0x430/0x4f0 fs/super.c:1634 vfs_get_tree+0x92/0x2a0 fs/super.c:1694 fc_mount fs/namespace.c:1198 [inline] do_new_mount_fc fs/namespace.c:3765 [inline] do_new_mount+0x319/0xdc0 fs/namespace.c:3841 do_mount fs/namespace.c:4174 [inline] __do_sys_mount fs/namespace.c:4390 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4367 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f79e459e0ca Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f79e53a1e18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f79e53a1ea0 RCX: 00007f79e459e0ca RDX: 0000200000000040 RSI: 0000200000000000 RDI: 00007f79e53a1e60 RBP: 0000200000000040 R08: 00007f79e53a1ea0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000000 R13: 00007f79e53a1e60 R14: 000000000000047a R15: 0000200000000b40 ---------------- Code disassembly (best guess): 0: 08 4c 89 e7 or %cl,-0x19(%rcx,%rcx,4) 4: e8 85 13 96 ff call 0xff96138e 9: 4d 8b 24 24 mov (%r12),%r12 d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 14: fc ff df 17: 41 0f b6 04 07 movzbl (%r15,%rax,1),%eax 1c: 84 c0 test %al,%al 1e: 75 73 jne 0x93 20: 41 8b 55 00 mov 0x0(%r13),%edx 24: 48 89 df mov %rbx,%rdi 27: 4c 89 e6 mov %r12,%rsi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: e9 5f fe ff ff jmp 0xfffffe93 34: e8 15 f0 0d 09 call 0x90df04e 39: 44 89 e9 mov %r13d,%ecx 3c: 80 e1 07 and $0x7,%cl 3f: 80 .byte 0x80