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/5315 Modules linked in: CPU: 0 UID: 0 PID: 5315 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 15 69 94 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 95 ec 36 09 44 89 e9 80 e1 07 80 RSP: 0018:ffffc9000e9df280 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffffff905f6360 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 000000000000000b RDI: ffffffff905f6360 RBP: ffffc9000e9df370 R08: ffff888043970d3f R09: 1ffff1100872e1a7 R10: dffffc0000000000 R11: ffffed100872e1a8 R12: 000000000000000b R13: ffff888043970b98 R14: 0000000000000000 R15: 1ffff1100872e173 FS: 00007fa4942fa6c0(0000) GS:ffff88808c519000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560b61631c40 CR3: 000000000e744000 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+0xbf0/0x1080 fs/ext4/inode.c:286 evict+0x624/0xb50 fs/inode.c:822 ext4_orphan_cleanup+0xc7a/0x14c0 fs/ext4/orphan.c:472 __ext4_fill_super fs/ext4/super.c:5713 [inline] ext4_fill_super+0x5cb9/0x65d0 fs/ext4/super.c:5836 get_tree_bdev_flags+0x430/0x4f0 fs/super.c:1887 vfs_get_tree+0x92/0x2a0 fs/super.c:1947 fc_mount fs/namespace.c:1198 [inline] do_new_mount_fc fs/namespace.c:3772 [inline] do_new_mount+0x319/0xdc0 fs/namespace.c:3848 do_mount fs/namespace.c:4181 [inline] __do_sys_mount fs/namespace.c:4397 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4374 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa49339f34a 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:00007fa4942f9e18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fa4942f9ea0 RCX: 00007fa49339f34a RDX: 0000200000000180 RSI: 0000200000000000 RDI: 00007fa4942f9e60 RBP: 0000200000000180 R08: 00007fa4942f9ea0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000000 R13: 00007fa4942f9e60 R14: 0000000000000476 R15: 0000200000001ac0 ---------------- Code disassembly (best guess): 0: 08 4c 89 e7 or %cl,-0x19(%rcx,%rcx,4) 4: e8 15 69 94 ff call 0xff94691e 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 95 ec 36 09 call 0x936ecce 39: 44 89 e9 mov %r13d,%ecx 3c: 80 e1 07 and $0x7,%cl 3f: 80 .byte 0x80