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: 15447 Comm: syz-executor.0 Not tainted 6.4.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:ext4_acquire_dquot+0x23f/0x400 fs/ext4/super.c:6801 Code: 9c d8 30 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 7f 37 96 ff 48 8b 1b 48 83 c3 28 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 62 37 96 ff bd 78 06 00 00 48 03 RSP: 0018:ffffc9001639f4e0 EFLAGS: 00010206 RAX: 0000000000000005 RBX: 0000000000000028 RCX: 0000000000040000 RDX: ffffc900047e3000 RSI: 000000000000201e RDI: 000000000000201f RBP: ffff888030e2bee4 R08: ffffffff824cfd65 R09: ffffed10061c57df R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000049 R14: dffffc0000000000 R15: ffff888030e2bdc0 FS: 00007fa0e6bf5700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fec0d616000 CR3: 000000007ae29000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dqget+0x98f/0xdb0 fs/quota/dquot.c:914 __dquot_initialize+0x462/0xe20 fs/quota/dquot.c:1492 ext4_file_open+0x30c/0x750 fs/ext4/file.c:904 do_dentry_open+0x7f9/0x10f0 fs/open.c:920 do_open fs/namei.c:3636 [inline] path_openat+0x27b3/0x3170 fs/namei.c:3791 do_filp_open+0x234/0x490 fs/namei.c:3818 do_sys_openat2+0x13f/0x500 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+0x225/0x270 fs/open.c:1376 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa0e5e8c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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:00007fa0e6bf5168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fa0e5fac120 RCX: 00007fa0e5e8c169 RDX: 0000000000000000 RSI: 0000000000060142 RDI: 0000000020000000 RBP: 00007fa0e5ee7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff65377b0f R14: 00007fa0e6bf5300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_acquire_dquot+0x23f/0x400 fs/ext4/super.c:6801 Code: 9c d8 30 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 7f 37 96 ff 48 8b 1b 48 83 c3 28 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 62 37 96 ff bd 78 06 00 00 48 03 RSP: 0018:ffffc9001639f4e0 EFLAGS: 00010206 RAX: 0000000000000005 RBX: 0000000000000028 RCX: 0000000000040000 RDX: ffffc900047e3000 RSI: 000000000000201e RDI: 000000000000201f RBP: ffff888030e2bee4 R08: ffffffff824cfd65 R09: ffffed10061c57df R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000049 R14: dffffc0000000000 R15: ffff888030e2bdc0 FS: 00007fa0e6bf5700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000207e3000 CR3: 000000007ae29000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 9c pushfq 1: d8 30 fdivs (%rax) 3: 02 00 add (%rax),%al 5: 00 48 89 add %cl,-0x77(%rax) 8: d8 48 c1 fmuls -0x3f(%rax) b: e8 03 42 80 3c callq 0x3c804213 10: 30 00 xor %al,(%rax) 12: 74 08 je 0x1c 14: 48 89 df mov %rbx,%rdi 17: e8 7f 37 96 ff callq 0xff96379b 1c: 48 8b 1b mov (%rbx),%rbx 1f: 48 83 c3 28 add $0x28,%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 62 37 96 ff callq 0xff96379b 39: bd 78 06 00 00 mov $0x678,%ebp 3e: 48 rex.W 3f: 03 .byte 0x3