general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f] CPU: 1 PID: 11420 Comm: syz-executor317 Not tainted 6.4.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:ext4_acquire_dquot+0xc5/0x3d0 fs/ext4/super.c:6810 Code: c1 ea 03 80 3c 02 00 0f 85 0e 03 00 00 4f 8b bc e5 30 02 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7f 28 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 dd 02 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b RSP: 0018:ffffc9000ae676c8 EFLAGS: 00010216 RAX: dffffc0000000000 RBX: ffffffff8a6454c0 RCX: 0000000000000000 RDX: 0000000000000005 RSI: ffffffff823ae5ca RDI: 0000000000000028 RBP: ffff8880774ec380 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888071d56000 R14: ffff8880774ec3a0 R15: 0000000000000000 FS: 00007f1e20ffe700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555617f668 CR3: 000000001ec58000 CR4: 0000000000350ee0 Call Trace: dqget+0x67d/0x1080 fs/quota/dquot.c:914 __dquot_initialize+0x560/0xbe0 fs/quota/dquot.c:1492 dquot_initialize fs/quota/dquot.c:1550 [inline] dquot_file_open fs/quota/dquot.c:2181 [inline] dquot_file_open+0x90/0xb0 fs/quota/dquot.c:2175 ext4_file_open fs/ext4/file.c:904 [inline] ext4_file_open+0x35d/0xbf0 fs/ext4/file.c:873 do_dentry_open+0x6cc/0x13f0 fs/open.c:920 do_open fs/namei.c:3636 [inline] path_openat+0x1baa/0x2750 fs/namei.c:3791 do_filp_open+0x1ba/0x410 fs/namei.c:3818 do_sys_openat2+0x16d/0x4c0 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_open fs/open.c:1380 [inline] __se_sys_open fs/open.c:1376 [inline] __x64_sys_open+0x11d/0x1c0 fs/open.c:1376 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f1e2945c489 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 18 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1e20ffe2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f1e294d97a0 RCX: 00007f1e2945c489 RDX: 0000000000000000 RSI: 000000000014937e RDI: 0000000020000180 RBP: 00007f1e294a666c R08: 00007f1e20ffe700 R09: 0000000000000000 R10: 00007f1e20ffe700 R11: 0000000000000246 R12: 756f726776737973 R13: 636f6c6c61646c6f R14: 0030656c69662f2e R15: 00007f1e294d97a8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_acquire_dquot+0xc5/0x3d0 fs/ext4/super.c:6810 Code: c1 ea 03 80 3c 02 00 0f 85 0e 03 00 00 4f 8b bc e5 30 02 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7f 28 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 dd 02 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b RSP: 0018:ffffc9000ae676c8 EFLAGS: 00010216 RAX: dffffc0000000000 RBX: ffffffff8a6454c0 RCX: 0000000000000000 RDX: 0000000000000005 RSI: ffffffff823ae5ca RDI: 0000000000000028 RBP: ffff8880774ec380 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888071d56000 R14: ffff8880774ec3a0 R15: 0000000000000000 FS: 00007f1e20ffe700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1e20ffe718 CR3: 000000001ec58000 CR4: 0000000000350ee0 ---------------- Code disassembly (best guess): 0: c1 ea 03 shr $0x3,%edx 3: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 7: 0f 85 0e 03 00 00 jne 0x31b d: 4f 8b bc e5 30 02 00 mov 0x230(%r13,%r12,8),%r15 14: 00 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 49 8d 7f 28 lea 0x28(%r15),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 dd 02 00 00 jne 0x311 34: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 3b: fc ff df 3e: 4d rex.WRB 3f: 8b .byte 0x8b