EXT4-fs (loop5): 1 truncate cleaned up EXT4-fs (loop5): mounted filesystem without journal. Opts: debug_want_extra_isize=0x0000000000000080,quota,auto_da_alloc=0x0000000000000800,max_batch_time=0x0000000000000008,noload,usrjquota=,,errors=continue kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 3821 Comm: syz-executor.5 Not tainted 5.4.219-syzkaller-00013-g4a947285bcca #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:ext4_xattr_set_entry+0x48e/0x37b0 fs/ext4/xattr.c:1603 Code: 24 70 48 89 d8 48 c1 e8 03 48 89 84 24 08 01 00 00 42 80 3c 38 00 74 08 48 89 df e8 2c f1 c0 ff 4c 8b 33 4c 89 f0 48 c1 e8 03 <42> 8a 04 38 84 c0 0f 85 6c 2d 00 00 4c 89 e0 48 2b 44 24 08 48 89 RSP: 0018:ffff8881eacaf000 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8881eacaf3e0 RCX: 0000000000040000 RDX: ffffc90002556000 RSI: 0000000000000785 RDI: 0000000000000786 RBP: ffff8881eacaf270 R08: ffffffff81d2bed8 R09: ffffed103529a80b R10: ffffed103529a80b R11: 1ffff1103529a80a R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f76cffa4700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f76d134d000 CR3: 00000001e9222000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_xattr_ibody_set+0x71/0x290 fs/ext4/xattr.c:2244 ext4_xattr_set_handle+0xbf7/0x14e0 fs/ext4/xattr.c:2401 ext4_initxattrs+0xa1/0x110 fs/ext4/xattr_security.c:43 security_inode_init_security+0x26c/0x3c0 security/security.c:1009 __ext4_new_inode+0x3207/0x4140 fs/ext4/ialloc.c:1168 ext4_create+0x253/0x5d0 fs/ext4/namei.c:2739 lookup_open fs/namei.c:3309 [inline] do_last fs/namei.c:3401 [inline] path_openat+0x1ea2/0x3ea0 fs/namei.c:3614 do_filp_open+0x208/0x450 fs/namei.c:3644 do_sys_open+0x393/0x7e0 fs/open.c:1113 do_syscall_64+0xcb/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 Modules linked in: ---[ end trace 340261b97d01aa66 ]--- RIP: 0010:ext4_xattr_set_entry+0x48e/0x37b0 fs/ext4/xattr.c:1603 Code: 24 70 48 89 d8 48 c1 e8 03 48 89 84 24 08 01 00 00 42 80 3c 38 00 74 08 48 89 df e8 2c f1 c0 ff 4c 8b 33 4c 89 f0 48 c1 e8 03 <42> 8a 04 38 84 c0 0f 85 6c 2d 00 00 4c 89 e0 48 2b 44 24 08 48 89 RSP: 0018:ffff8881eacaf000 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8881eacaf3e0 RCX: 0000000000040000 RDX: ffffc90002556000 RSI: 0000000000000785 RDI: 0000000000000786 RBP: ffff8881eacaf270 R08: ffffffff81d2bed8 R09: ffffed103529a80b R10: ffffed103529a80b R11: 1ffff1103529a80a R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f76cffa4700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f75f9dcd718 CR3: 00000001e9222000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 24 70 and $0x70,%al 2: 48 89 d8 mov %rbx,%rax 5: 48 c1 e8 03 shr $0x3,%rax 9: 48 89 84 24 08 01 00 mov %rax,0x108(%rsp) 10: 00 11: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) 16: 74 08 je 0x20 18: 48 89 df mov %rbx,%rdi 1b: e8 2c f1 c0 ff callq 0xffc0f14c 20: 4c 8b 33 mov (%rbx),%r14 23: 4c 89 f0 mov %r14,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 8a 04 38 mov (%rax,%r15,1),%al <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 6c 2d 00 00 jne 0x2da2 36: 4c 89 e0 mov %r12,%rax 39: 48 2b 44 24 08 sub 0x8(%rsp),%rax 3e: 48 rex.W 3f: 89 .byte 0x89