general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f] CPU: 0 PID: 462 Comm: syz-executor.3 Not tainted 5.15.106-syzkaller-00249-g19c0ed55a470 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:ext4_acquire_dquot+0x22e/0x3f0 fs/ext4/super.c:6161 Code: 9c d8 80 01 00 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 b0 fa ba ff 4c 8b 33 49 83 c6 28 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 93 fa ba ff bb c8 03 00 00 49 03 RSP: 0018:ffffc90001197498 EFLAGS: 00010206 RAX: 0000000000000005 RBX: ffff888118f71188 RCX: ffff88811674cf00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000003 RBP: ffffc900011974e8 R08: ffffffff81f637df R09: ffffed1023802e63 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000162 R13: 0000000000000049 R14: 0000000000000028 R15: dffffc0000000000 FS: 00007f7e451a3700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f653b507180 CR3: 000000011642b000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dqget+0x9d4/0xde0 fs/quota/dquot.c:914 __dquot_initialize+0x45e/0xe10 fs/quota/dquot.c:1492 dquot_initialize fs/quota/dquot.c:1550 [inline] dquot_file_open+0x83/0xb0 fs/quota/dquot.c:2174 ext4_file_open+0x2cf/0x700 fs/ext4/file.c:883 do_dentry_open+0x81c/0xfd0 fs/open.c:828 vfs_open+0x73/0x80 fs/open.c:958 do_open fs/namei.c:3538 [inline] path_openat+0x26f0/0x2f40 fs/namei.c:3672 do_filp_open+0x21c/0x460 fs/namei.c:3699 do_sys_openat2+0x13b/0x500 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x221/0x270 fs/open.c:1254 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f7e45630169 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:00007f7e451a3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7e4574ff80 RCX: 00007f7e45630169 RDX: 0000000000000000 RSI: 000000000014937e RDI: 0000000020000180 RBP: 00007f7e4568bca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcf08ab58f R14: 00007f7e451a3300 R15: 0000000000022000 Modules linked in: ---[ end trace 36cb06f4fd08b586 ]--- RIP: 0010:ext4_acquire_dquot+0x22e/0x3f0 fs/ext4/super.c:6161 Code: 9c d8 80 01 00 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 b0 fa ba ff 4c 8b 33 49 83 c6 28 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 93 fa ba ff bb c8 03 00 00 49 03 RSP: 0018:ffffc90001197498 EFLAGS: 00010206 RAX: 0000000000000005 RBX: ffff888118f71188 RCX: ffff88811674cf00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000003 RBP: ffffc900011974e8 R08: ffffffff81f637df R09: ffffed1023802e63 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000162 R13: 0000000000000049 R14: 0000000000000028 R15: dffffc0000000000 FS: 00007f7e451a3700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe95f092f8 CR3: 000000011642b000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 9c pushfq 1: d8 80 01 00 00 48 fadds 0x48000001(%rax) 7: 89 d8 mov %ebx,%eax 9: 48 c1 e8 03 shr $0x3,%rax d: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) 12: 74 08 je 0x1c 14: 48 89 df mov %rbx,%rdi 17: e8 b0 fa ba ff callq 0xffbafacc 1c: 4c 8b 33 mov (%rbx),%r14 1f: 49 83 c6 28 add $0x28,%r14 23: 4c 89 f0 mov %r14,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 f7 mov %r14,%rdi 34: e8 93 fa ba ff callq 0xffbafacc 39: bb c8 03 00 00 mov $0x3c8,%ebx 3e: 49 rex.WB 3f: 03 .byte 0x3