general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 8407 Comm: syz-executor.3 Not tainted 6.4.0-rc7-syzkaller-00041-ge660abd551f1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:mas_validate_gaps lib/maple_tree.c:6991 [inline] RIP: 0010:mt_validate+0x3266/0x41f0 lib/maple_tree.c:7212 Code: 89 ee e8 0d 79 83 f7 49 83 fd 06 0f 84 17 07 00 00 e8 be 7c 83 f7 49 01 dc 48 ba 00 00 00 00 00 fc ff df 4c 89 e0 48 c1 e8 03 <80> 3c 10 00 0f 85 e9 0c 00 00 4d 8b 24 24 4c 89 ff 4c 89 e6 e8 51 RSP: 0018:ffffc9000394f860 EFLAGS: 00010256 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: ffffffff8a00ca22 RDI: 0000000000000007 RBP: ffff888076f21000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000094001 R12: 0000000000000000 R13: ffff888076f21000 R14: 0000000000000000 R15: 0000001b0d21f000 FS: 00007f3b23238700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe96b0f960 CR3: 0000000086295000 CR4: 0000000000350ee0 Call Trace: validate_mm_mt+0xa1/0x3f0 mm/mmap.c:314 validate_mm+0xa0/0x290 mm/mmap.c:351 remove_mt mm/mmap.c:2200 [inline] do_vmi_align_munmap+0x126b/0x1640 mm/mmap.c:2468 do_vmi_munmap+0x26e/0x2c0 mm/mmap.c:2527 __vm_munmap+0x133/0x3b0 mm/mmap.c:2802 __do_sys_munmap mm/mmap.c:2827 [inline] __se_sys_munmap mm/mmap.c:2824 [inline] __x64_sys_munmap+0x62/0x80 mm/mmap.c:2824 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:0x7f3b2248c389 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:00007f3b23238168 EFLAGS: 00000246 ORIG_RAX: 000000000000000b RAX: ffffffffffffffda RBX: 00007f3b225ac050 RCX: 00007f3b2248c389 RDX: 0000000000000000 RSI: 0000000000002000 RDI: 0000000020ffe000 RBP: 00007f3b224d7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd6dfd22ef R14: 00007f3b23238300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:mas_validate_gaps lib/maple_tree.c:6991 [inline] RIP: 0010:mt_validate+0x3266/0x41f0 lib/maple_tree.c:7212 Code: 89 ee e8 0d 79 83 f7 49 83 fd 06 0f 84 17 07 00 00 e8 be 7c 83 f7 49 01 dc 48 ba 00 00 00 00 00 fc ff df 4c 89 e0 48 c1 e8 03 <80> 3c 10 00 0f 85 e9 0c 00 00 4d 8b 24 24 4c 89 ff 4c 89 e6 e8 51 RSP: 0018:ffffc9000394f860 EFLAGS: 00010256 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: ffffffff8a00ca22 RDI: 0000000000000007 RBP: ffff888076f21000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000094001 R12: 0000000000000000 R13: ffff888076f21000 R14: 0000000000000000 R15: 0000001b0d21f000 FS: 00007f3b23238700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc1289831b8 CR3: 0000000086295000 CR4: 0000000000350ee0 ---------------- Code disassembly (best guess): 0: 89 ee mov %ebp,%esi 2: e8 0d 79 83 f7 callq 0xf7837914 7: 49 83 fd 06 cmp $0x6,%r13 b: 0f 84 17 07 00 00 je 0x728 11: e8 be 7c 83 f7 callq 0xf7837cd4 16: 49 01 dc add %rbx,%r12 19: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 20: fc ff df 23: 4c 89 e0 mov %r12,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) <-- trapping instruction 2e: 0f 85 e9 0c 00 00 jne 0xd1d 34: 4d 8b 24 24 mov (%r12),%r12 38: 4c 89 ff mov %r15,%rdi 3b: 4c 89 e6 mov %r12,%rsi 3e: e8 .byte 0xe8 3f: 51 push %rcx