general protection fault, probably for non-canonical address 0xdffffc000000005d: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000002e8-0x00000000000002ef] CPU: 0 PID: 5903 Comm: modprobe Not tainted 6.3.0-rc3-next-20230323-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:vma_merge+0x234/0x1fd0 mm/mmap.c:952 Code: 08 00 0f 84 b0 03 00 00 e8 e9 54 bf ff 48 8b 44 24 08 48 8d b8 a8 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 4d 18 00 00 48 8b 44 24 08 48 8b b0 a8 00 00 00 RSP: 0018:ffffc9000b91fac8 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: ffff88802735fc00 RCX: 0000000000000000 RDX: 000000000000005d RSI: ffffffff81c37957 RDI: 00000000000002ee RBP: ffff88801b1b4100 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 1ffff1100fa52432 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdb7fb81000 R15: ffff88802bae2c80 FS: 00007fdb7fb5d800(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe53d2ceab0 CR3: 00000000768f8000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mprotect_fixup+0x353/0xbd0 mm/mprotect.c:676 do_mprotect_pkey+0x878/0xd20 mm/mprotect.c:862 __do_sys_mprotect mm/mprotect.c:883 [inline] __se_sys_mprotect mm/mprotect.c:880 [inline] __x64_sys_mprotect+0x78/0xb0 mm/mprotect.c:880 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:0x7fdb7fea8297 Code: 44 00 00 b8 0b 00 00 00 0f 05 48 3d 01 f0 ff ff 73 01 c3 48 8d 0d 21 1f 01 00 f7 d8 89 01 48 83 c8 ff c3 b8 0a 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8d 0d 01 1f 01 00 f7 d8 89 01 48 83 RSP: 002b:00007ffdba1afef8 EFLAGS: 00000206 ORIG_RAX: 000000000000000a RAX: ffffffffffffffda RBX: 00007fdb7fe879b0 RCX: 00007fdb7fea8297 RDX: 0000000000000001 RSI: 0000000000001000 RDI: 00007fdb7fb81000 RBP: 00007ffdba1b0010 R08: 0000000000000000 R09: 00007fdb7fce0140 R10: 00007fdb7fb81c90 R11: 0000000000000206 R12: 00007fdb7fe879b0 R13: 0000000000000007 R14: 0000005a00000007 R15: 00007fdb7fb68878 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:vma_merge+0x234/0x1fd0 mm/mmap.c:952 Code: 08 00 0f 84 b0 03 00 00 e8 e9 54 bf ff 48 8b 44 24 08 48 8d b8 a8 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 4d 18 00 00 48 8b 44 24 08 48 8b b0 a8 00 00 00 RSP: 0018:ffffc9000b91fac8 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: ffff88802735fc00 RCX: 0000000000000000 RDX: 000000000000005d RSI: ffffffff81c37957 RDI: 00000000000002ee RBP: ffff88801b1b4100 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 1ffff1100fa52432 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdb7fb81000 R15: ffff88802bae2c80 FS: 00007fdb7fb5d800(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa44af85058 CR3: 00000000768f8000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 08 00 or %al,(%rax) 2: 0f 84 b0 03 00 00 je 0x3b8 8: e8 e9 54 bf ff callq 0xffbf54f6 d: 48 8b 44 24 08 mov 0x8(%rsp),%rax 12: 48 8d b8 a8 00 00 00 lea 0xa8(%rax),%rdi 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 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 4d 18 00 00 jne 0x1881 34: 48 8b 44 24 08 mov 0x8(%rsp),%rax 39: 48 8b b0 a8 00 00 00 mov 0xa8(%rax),%rsi