BUG: unable to handle page fault for address: ffffed1800000027 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 23fff2067 P4D 23fff2067 PUD 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 10644 Comm: syz-executor Tainted: G W 5.15.161-syzkaller-00425-gb92c0d35d015 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:vma_last_pgoff mm/interval_tree.c:20 [inline] RIP: 0010:vma_interval_tree_augment_compute_max mm/interval_tree.c:23 [inline] RIP: 0010:vma_interval_tree_augment_propagate mm/interval_tree.c:23 [inline] RIP: 0010:__rb_erase_augmented include/linux/rbtree_augmented.h:295 [inline] RIP: 0010:rb_erase_augmented include/linux/rbtree_augmented.h:303 [inline] RIP: 0010:rb_erase_augmented_cached include/linux/rbtree_augmented.h:314 [inline] RIP: 0010:vma_interval_tree_remove+0x634/0xba0 mm/interval_tree.c:23 Code: 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 80 63 0d 00 4c 89 3b 4d 85 e4 74 c1 49 8d 7c 24 40 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 05 e8 c0 62 0d 00 4d 8d 74 24 a8 4d 8b 7c 24 40 RSP: 0018:ffffc90000a97990 EFLAGS: 00010a06 RAX: 1ffff11800000027 RBX: 1ffff11023d2acec RCX: ffff88810f3293c0 RDX: 0000000000000000 RSI: 0000000000000304 RDI: ffff88c000000138 RBP: ffffc90000a979f8 R08: ffffffff81a54579 R09: ffffed10237512a4 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88c0000000f8 R13: dffffc0000000000 R14: 0000000000000304 R15: ffff88811e956760 FS: 0000555555ce6500(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed1800000027 CR3: 0000000125513000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: __vma_adjust+0x873/0x2c10 mm/mmap.c:876 __split_vma+0x35e/0x470 split_vma+0x7c/0xd0 mm/mmap.c:2813 mprotect_fixup+0x55e/0x7f0 mm/mprotect.c:490 do_mprotect_pkey+0x79e/0xb20 mm/mprotect.c:646 __do_sys_mprotect mm/mprotect.c:673 [inline] __se_sys_mprotect mm/mprotect.c:670 [inline] __x64_sys_mprotect+0x80/0x90 mm/mprotect.c:670 x64_sys_call+0x6e/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:11 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5974588fb7 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 0a 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe3d5fe178 EFLAGS: 00000206 ORIG_RAX: 000000000000000a RAX: ffffffffffffffda RBX: 00007f5974717700 RCX: 00007f5974588fb7 RDX: 0000000000000001 RSI: 0000000000094000 RDI: 00007f597467c000 RBP: 00007ffe3d5fe2b8 R08: 0000555555ce7810 R09: 0000555555ce7830 R10: 0000000000000005 R11: 0000000000000206 R12: 00007ffe3d5fe2d0 R13: 00007ffe3d5fe2b8 R14: 00007ffe3d5fe250 R15: 00007ffe3d5fe248 Modules linked in: CR2: ffffed1800000027 ---[ end trace b58505e1323546bb ]--- RIP: 0010:vma_last_pgoff mm/interval_tree.c:20 [inline] RIP: 0010:vma_interval_tree_augment_compute_max mm/interval_tree.c:23 [inline] RIP: 0010:vma_interval_tree_augment_propagate mm/interval_tree.c:23 [inline] RIP: 0010:__rb_erase_augmented include/linux/rbtree_augmented.h:295 [inline] RIP: 0010:rb_erase_augmented include/linux/rbtree_augmented.h:303 [inline] RIP: 0010:rb_erase_augmented_cached include/linux/rbtree_augmented.h:314 [inline] RIP: 0010:vma_interval_tree_remove+0x634/0xba0 mm/interval_tree.c:23 Code: 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 80 63 0d 00 4c 89 3b 4d 85 e4 74 c1 49 8d 7c 24 40 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 05 e8 c0 62 0d 00 4d 8d 74 24 a8 4d 8b 7c 24 40 RSP: 0018:ffffc90000a97990 EFLAGS: 00010a06 RAX: 1ffff11800000027 RBX: 1ffff11023d2acec RCX: ffff88810f3293c0 RDX: 0000000000000000 RSI: 0000000000000304 RDI: ffff88c000000138 RBP: ffffc90000a979f8 R08: ffffffff81a54579 R09: ffffed10237512a4 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88c0000000f8 R13: dffffc0000000000 R14: 0000000000000304 R15: ffff88811e956760 FS: 0000555555ce6500(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed1800000027 CR3: 0000000125513000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: 48 89 d8 mov %rbx,%rax 3: 48 c1 e8 03 shr $0x3,%rax 7: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) c: 74 08 je 0x16 e: 48 89 df mov %rbx,%rdi 11: e8 80 63 0d 00 call 0xd6396 16: 4c 89 3b mov %r15,(%rbx) 19: 4d 85 e4 test %r12,%r12 1c: 74 c1 je 0xffffffdf 1e: 49 8d 7c 24 40 lea 0x40(%r12),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 05 je 0x36 31: e8 c0 62 0d 00 call 0xd62f6 36: 4d 8d 74 24 a8 lea -0x58(%r12),%r14 3b: 4d 8b 7c 24 40 mov 0x40(%r12),%r15