BUG: unable to handle page fault for address: ffffed1800000017 #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: 0 PID: 6653 Comm: syz-executor.4 Tainted: G W 5.15.148-syzkaller-00718-g993bed180178 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 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:401 [inline] RIP: 0010:__rb_erase_color+0xa08/0xa60 lib/rbtree.c:413 Code: 4c 89 ef e8 8a 20 2b ff 4d 89 65 00 4d 85 f6 49 bc 00 00 00 00 00 fc ff df 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 b9 1f 2b ff 49 8d 46 08 4d 39 6e RSP: 0018:ffffc90000a97580 EFLAGS: 00010a06 RAX: 1ffff11800000017 RBX: ffff88c0000000b8 RCX: dffffc0000000000 RDX: ffffffff81a50880 RSI: ffff88810fe266a0 RDI: ffff888105bb63d0 RBP: ffffc90000a975e0 R08: ffffffff81a4e940 R09: ffffed1021fc4cd8 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88815f82b180 R14: ffff88c0000000a8 R15: ffff888114d5dd10 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed1800000017 CR3: 0000000155107000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 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:486 exit_mmap+0x3e7/0x6f0 mm/mmap.c:3210 __mmput+0x95/0x310 kernel/fork.c:1179 mmput+0x5b/0x170 kernel/fork.c:1202 exit_mm kernel/exit.c:552 [inline] do_exit+0xb9c/0x2ca0 kernel/exit.c:865 do_group_exit+0x141/0x310 kernel/exit.c:1000 get_signal+0x7a3/0x1630 kernel/signal.c:2896 arch_do_signal_or_restart+0xbd/0x1680 arch/x86/kernel/signal.c:867 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:208 irqentry_exit_to_user_mode+0x9/0x20 kernel/entry/common.c:314 irqentry_exit+0x12/0x40 kernel/entry/common.c:405 exc_page_fault+0x47a/0x830 arch/x86/mm/fault.c:1608 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:568 RIP: 0033:0x3694cf9af7c8 Code: Unable to access opcode bytes at RIP 0x3694cf9af79e. RSP: 002b:0000000020000048 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f526cbdbf80 RCX: 00007f526caadda9 RDX: 0000000020000080 RSI: 0000000020000040 RDI: 0000000001000000 RBP: 00007f526cafa47a R08: 0000000020000100 R09: 0000000020000100 R10: 00000000200000c0 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007f526cbdbf80 R15: 00007ffd82b71b28 Modules linked in: CR2: ffffed1800000017 ---[ end trace 504277a34af2d235 ]--- 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:401 [inline] RIP: 0010:__rb_erase_color+0xa08/0xa60 lib/rbtree.c:413 Code: 4c 89 ef e8 8a 20 2b ff 4d 89 65 00 4d 85 f6 49 bc 00 00 00 00 00 fc ff df 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 b9 1f 2b ff 49 8d 46 08 4d 39 6e RSP: 0018:ffffc90000a97580 EFLAGS: 00010a06 RAX: 1ffff11800000017 RBX: ffff88c0000000b8 RCX: dffffc0000000000 RDX: ffffffff81a50880 RSI: ffff88810fe266a0 RDI: ffff888105bb63d0 RBP: ffffc90000a975e0 R08: ffffffff81a4e940 R09: ffffed1021fc4cd8 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88815f82b180 R14: ffff88c0000000a8 R15: ffff888114d5dd10 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed1800000017 CR3: 0000000155107000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: 4c 89 ef mov %r13,%rdi 3: e8 8a 20 2b ff call 0xff2b2092 8: 4d 89 65 00 mov %r12,0x0(%r13) c: 4d 85 f6 test %r14,%r14 f: 49 bc 00 00 00 00 00 movabs $0xdffffc0000000000,%r12 16: fc ff df 19: 48 8b 5d a0 mov -0x60(%rbp),%rbx 1d: 74 29 je 0x48 1f: 49 8d 5e 10 lea 0x10(%r14),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 b9 1f 2b ff call 0xff2b1ff2 39: 49 8d 46 08 lea 0x8(%r14),%rax 3d: 4d rex.WRB 3e: 39 .byte 0x39 3f: 6e outsb %ds:(%rsi),(%dx)