BUG: unable to handle page fault for address: ffffed1800000020 #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: 17148 Comm: syz-executor Tainted: G W 5.15.167-syzkaller-android13-5.15.167_r00 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 70 64 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 b0 63 0d 00 4d 8d 74 24 a8 4d 8b 7c 24 40 RSP: 0018:ffffc90000cbf990 EFLAGS: 00010a02 RAX: 1ffff11800000020 RBX: 1ffff11022e0cdca RCX: ffff8881160793c0 RDX: 0000000000000000 RSI: 0000000000000304 RDI: ffff88c000000100 RBP: ffffc90000cbf9f8 R08: ffffffff81a546e9 R09: ffffed1021d38803 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88c0000000c0 R13: dffffc0000000000 R14: 0000000000000304 R15: ffff888117066e50 FS: 000055558164b500(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed1800000020 CR3: 000000010dd69000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __vma_adjust+0x873/0x2c10 mm/mmap.c:876 __split_vma+0x35e/0x470 split_vma+0x7c/0xd0 mm/mmap.c:2813 mprotect_fixup+0x54e/0x770 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:0x7fe6bad557d7 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:00007ffe5d583f38 EFLAGS: 00000206 ORIG_RAX: 000000000000000a RAX: ffffffffffffffda RBX: 00007fe6baee4700 RCX: 00007fe6bad557d7 RDX: 0000000000000001 RSI: 0000000000094000 RDI: 00007fe6bae49000 RBP: 00007ffe5d584078 R08: 000055558164c810 R09: 000055558164c830 R10: 0000000000000005 R11: 0000000000000206 R12: 00007ffe5d584090 R13: 00007ffe5d584078 R14: 00007ffe5d584010 R15: 00007ffe5d584008 Modules linked in: CR2: ffffed1800000020 ---[ end trace b1184e34e7c80a43 ]--- 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 70 64 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 b0 63 0d 00 4d 8d 74 24 a8 4d 8b 7c 24 40 RSP: 0018:ffffc90000cbf990 EFLAGS: 00010a02 RAX: 1ffff11800000020 RBX: 1ffff11022e0cdca RCX: ffff8881160793c0 RDX: 0000000000000000 RSI: 0000000000000304 RDI: ffff88c000000100 RBP: ffffc90000cbf9f8 R08: ffffffff81a546e9 R09: ffffed1021d38803 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88c0000000c0 R13: dffffc0000000000 R14: 0000000000000304 R15: ffff888117066e50 FS: 000055558164b500(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed1800000020 CR3: 000000010dd69000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- 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 70 64 0d 00 call 0xd6486 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 b0 63 0d 00 call 0xd63e6 36: 4d 8d 74 24 a8 lea -0x58(%r12),%r14 3b: 4d 8b 7c 24 40 mov 0x40(%r12),%r15