EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue Quota error (device loop0): qtree_write_dquot: Error -2041447053 occurred while creating quota Quota error (device loop0): dq_insert_tree: Quota tree root isn't allocated! Quota error (device loop0): qtree_write_dquot: Error -5 occurred while creating quota 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: 351 Comm: syz-executor531 Not tainted 5.4.81-syzkaller-00864-g616dba5e94cf #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:sb_has_quota_usage_enabled include/linux/quotaops.h:132 [inline] RIP: 0010:sb_has_quota_loaded include/linux/quotaops.h:157 [inline] RIP: 0010:sb_has_quota_active include/linux/quotaops.h:167 [inline] RIP: 0010:dqput+0x50c/0x770 fs/quota/dquot.c:775 Code: 68 48 83 c5 74 48 89 e8 48 c1 e8 03 42 8a 04 28 84 c0 0f 85 f1 01 00 00 44 8b 75 00 48 81 c3 28 01 00 00 48 89 d8 48 c1 e8 03 <42> 8a 04 28 84 c0 0f 85 f0 01 00 00 8b 1b bd 01 00 00 00 44 89 f1 RSP: 0018:ffff8881e8baf778 EFLAGS: 00010202 RAX: 0000000000000025 RBX: 0000000000000128 RCX: ffffffff81b11cb4 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff8651fddb RBP: ffffffff8651fde7 R08: dffffc0000000000 R09: fffffbfff0ca3fbc R10: fffffbfff0ca3fbc R11: 0000000000000000 R12: dffffc0000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffffffff8651fdd7 FS: 0000000001ad6880(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000043f040 CR3: 00000001e8f55000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dqput_all fs/quota/dquot.c:396 [inline] __dquot_initialize+0xa83/0xd70 fs/quota/dquot.c:1531 ext4_xattr_set+0x108/0x330 fs/ext4/xattr.c:2491 __vfs_setxattr+0x3be/0x400 fs/xattr.c:150 __vfs_setxattr_noperm+0x12a/0x3e0 fs/xattr.c:181 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:256 setxattr+0x1e2/0x410 fs/xattr.c:521 path_setxattr+0x164/0x240 fs/xattr.c:540 __do_sys_setxattr fs/xattr.c:555 [inline] __se_sys_setxattr fs/xattr.c:551 [inline] __x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:551 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4448a9 Code: 8d d7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 5b d7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fffbad9d4a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00000000004448a9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000020000040 RBP: 00000000006cf018 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402490 R13: 0000000000402520 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 41b7327c2f442788 ]--- RIP: 0010:sb_has_quota_usage_enabled include/linux/quotaops.h:132 [inline] RIP: 0010:sb_has_quota_loaded include/linux/quotaops.h:157 [inline] RIP: 0010:sb_has_quota_active include/linux/quotaops.h:167 [inline] RIP: 0010:dqput+0x50c/0x770 fs/quota/dquot.c:775 Code: 68 48 83 c5 74 48 89 e8 48 c1 e8 03 42 8a 04 28 84 c0 0f 85 f1 01 00 00 44 8b 75 00 48 81 c3 28 01 00 00 48 89 d8 48 c1 e8 03 <42> 8a 04 28 84 c0 0f 85 f0 01 00 00 8b 1b bd 01 00 00 00 44 89 f1 RSP: 0018:ffff8881e8baf778 EFLAGS: 00010202 RAX: 0000000000000025 RBX: 0000000000000128 RCX: ffffffff81b11cb4 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff8651fddb RBP: ffffffff8651fde7 R08: dffffc0000000000 R09: fffffbfff0ca3fbc R10: fffffbfff0ca3fbc R11: 0000000000000000 R12: dffffc0000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffffffff8651fdd7 FS: 0000000001ad6880(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000043f040 CR3: 00000001e8f55000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400