BUG: unable to handle page fault for address: ffffed1800000006 #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: 2465 Comm: syz-executor.2 Tainted: G W 5.15.94-syzkaller-03204-g5448b2fda85f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:__rb_change_child include/linux/rbtree_augmented.h:173 [inline] RIP: 0010:__rb_rotate_set_parents lib/rbtree.c:81 [inline] RIP: 0010:____rb_erase_color lib/rbtree.c:348 [inline] RIP: 0010:__rb_erase_color+0x777/0xa60 lib/rbtree.c:413 Code: 00 49 89 c4 74 08 4c 89 ef e8 75 69 31 ff 48 8b 45 c8 49 89 45 00 4d 85 f6 48 8b 5d a0 74 29 49 8d 5e 10 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 aa 68 31 ff 49 8d 46 08 4d 39 6e RSP: 0018:ffffc90002cc76a0 EFLAGS: 00010a06 RAX: 1ffff11800000006 RBX: ffff88c000000030 RCX: dffffc0000000000 RDX: ffffffff81a3d410 RSI: ffff88810fe6c968 RDI: ffff88811c7e9be8 RBP: ffffc90002cc7700 R08: ffffffff81a3b4d0 R09: ffffed1021fcd931 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88811c7e9be8 R14: ffff88c000000020 R15: ffff88811bc29998 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed1800000006 CR3: 000000000640f000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rb_erase_augmented include/linux/rbtree_augmented.h:305 [inline] rb_erase_augmented_cached include/linux/rbtree_augmented.h:314 [inline] vma_interval_tree_remove+0xb82/0xba0 mm/interval_tree.c:23 __remove_shared_vm_struct mm/mmap.c:158 [inline] unlink_file_vma+0xd9/0xf0 mm/mmap.c:173 free_pgtables+0x13f/0x280 mm/memory.c:473 exit_mmap+0x3e7/0x6f0 mm/mmap.c:3210 __mmput+0x95/0x310 kernel/fork.c:1171 mmput+0x5b/0x170 kernel/fork.c:1194 exit_mm kernel/exit.c:551 [inline] do_exit+0xbb4/0x2b60 kernel/exit.c:862 do_group_exit+0x141/0x310 kernel/exit.c:997 get_signal+0x7a3/0x1630 kernel/signal.c:2891 arch_do_signal_or_restart+0xbd/0x1680 arch/x86/kernel/signal.c:865 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop+0xa0/0xe0 kernel/entry/common.c:172 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x26/0x160 kernel/entry/common.c:300 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7ff05ba830f9 Code: Unable to access opcode bytes at RIP 0x7ff05ba830cf. RSP: 002b:00007ff05b5b4218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007ff05bba3128 RCX: 00007ff05ba830f9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007ff05bba3128 RBP: 00007ff05bba3120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff05bba312c R13: 00007fff7328c6bf R14: 00007ff05b5b4300 R15: 0000000000022000 Modules linked in: CR2: ffffed1800000006 ---[ end trace e70d58b242e7b1fb ]--- RIP: 0010:__rb_change_child include/linux/rbtree_augmented.h:173 [inline] RIP: 0010:__rb_rotate_set_parents lib/rbtree.c:81 [inline] RIP: 0010:____rb_erase_color lib/rbtree.c:348 [inline] RIP: 0010:__rb_erase_color+0x777/0xa60 lib/rbtree.c:413 Code: 00 49 89 c4 74 08 4c 89 ef e8 75 69 31 ff 48 8b 45 c8 49 89 45 00 4d 85 f6 48 8b 5d a0 74 29 49 8d 5e 10 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 aa 68 31 ff 49 8d 46 08 4d 39 6e RSP: 0018:ffffc90002cc76a0 EFLAGS: 00010a06 RAX: 1ffff11800000006 RBX: ffff88c000000030 RCX: dffffc0000000000 RDX: ffffffff81a3d410 RSI: ffff88810fe6c968 RDI: ffff88811c7e9be8 RBP: ffffc90002cc7700 R08: ffffffff81a3b4d0 R09: ffffed1021fcd931 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88811c7e9be8 R14: ffff88c000000020 R15: ffff88811bc29998 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed1800000006 CR3: 000000000640f000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 49 89 c4 mov %rax,%r12 3: 74 08 je 0xd 5: 4c 89 ef mov %r13,%rdi 8: e8 75 69 31 ff callq 0xff316982 d: 48 8b 45 c8 mov -0x38(%rbp),%rax 11: 49 89 45 00 mov %rax,0x0(%r13) 15: 4d 85 f6 test %r14,%r14 18: 48 8b 5d a0 mov -0x60(%rbp),%rbx 1c: 74 29 je 0x47 1e: 49 8d 5e 10 lea 0x10(%r14),%rbx 22: 48 89 d8 mov %rbx,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 48 89 df mov %rbx,%rdi 33: e8 aa 68 31 ff callq 0xff3168e2 38: 49 8d 46 08 lea 0x8(%r14),%rax 3c: 4d rex.WRB 3d: 39 .byte 0x39 3e: 6e outsb %ds:(%rsi),(%dx)