general protection fault, probably for non-canonical address 0xe3147c5505b5d758: 0000 [#1] PREEMPT SMP KASAN KASAN: maybe wild-memory-access in range [0x18a402a82daebac0-0x18a402a82daebac7] CPU: 1 PID: 1103 Comm: syz.2.236 Not tainted 5.15.167-syzkaller-1075754-g3bfe08931bff #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:____rb_erase_color lib/rbtree.c:242 [inline] RIP: 0010:__rb_erase_color+0x60/0xa60 lib/rbtree.c:413 Code: 03 48 89 45 c8 42 80 3c 20 00 74 08 48 89 df e8 76 ba 2a ff 4c 8b 33 4d 39 f7 0f 84 87 01 00 00 4c 89 e0 4d 89 f4 49 c1 ec 03 <41> 80 3c 04 00 74 08 4c 89 f7 e8 51 ba 2a ff 48 89 5d a8 41 f6 06 RSP: 0018:ffffc90002bef6a0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888120a6fbec RCX: ffff888115a2e2c0 RDX: ffffffff81a56f80 RSI: ffff8881099037e0 RDI: ffff88812daebac0 RBP: ffffc90002bef700 R08: ffffffff81a55040 R09: ffffed1021320700 R10: 0000000000000000 R11: dffffc0000000001 R12: 0314805505b5d758 R13: ffff888120a6fbe4 R14: 18a402a82daebac0 R15: ffff88812daebac0 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fabcfd63a8c CR3: 000000012d72a000 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:159 [inline] unlink_file_vma+0xd9/0xf0 mm/mmap.c:174 free_pgtables+0x13f/0x280 mm/memory.c:490 exit_mmap+0x405/0x940 mm/mmap.c:3217 __mmput+0x95/0x310 kernel/fork.c:1179 mmput+0x5b/0x170 kernel/fork.c:1202 exit_mm kernel/exit.c:554 [inline] do_exit+0xb9c/0x2ca0 kernel/exit.c:867 do_group_exit+0x141/0x310 kernel/exit.c:1002 get_signal+0x7a3/0x1630 kernel/signal.c:2904 arch_do_signal_or_restart+0xbd/0x1680 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0xa0/0xe0 kernel/entry/common.c:178 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x26/0x160 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f159d8ea719 Code: Unable to access opcode bytes at RIP 0x7f159d8ea6ef. RSP: 002b:00007f159d36b0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f159daa1f88 RCX: 00007f159d8ea719 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f159daa1f88 RBP: 00007f159daa1f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f159daa1f8c R13: 0000000000000000 R14: 00007fff4936db30 R15: 00007fff4936dc18 Modules linked in: ---[ end trace e302ba5af34ff5d6 ]--- RIP: 0010:____rb_erase_color lib/rbtree.c:242 [inline] RIP: 0010:__rb_erase_color+0x60/0xa60 lib/rbtree.c:413 Code: 03 48 89 45 c8 42 80 3c 20 00 74 08 48 89 df e8 76 ba 2a ff 4c 8b 33 4d 39 f7 0f 84 87 01 00 00 4c 89 e0 4d 89 f4 49 c1 ec 03 <41> 80 3c 04 00 74 08 4c 89 f7 e8 51 ba 2a ff 48 89 5d a8 41 f6 06 RSP: 0018:ffffc90002bef6a0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888120a6fbec RCX: ffff888115a2e2c0 RDX: ffffffff81a56f80 RSI: ffff8881099037e0 RDI: ffff88812daebac0 RBP: ffffc90002bef700 R08: ffffffff81a55040 R09: ffffed1021320700 R10: 0000000000000000 R11: dffffc0000000001 R12: 0314805505b5d758 R13: ffff888120a6fbe4 R14: 18a402a82daebac0 R15: ffff88812daebac0 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcb89ac5f78 CR3: 000000010d8d6000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 03 48 89 add -0x77(%rax),%ecx 3: 45 c8 42 80 3c rex.RB enter $0x8042,$0x3c 8: 20 00 and %al,(%rax) a: 74 08 je 0x14 c: 48 89 df mov %rbx,%rdi f: e8 76 ba 2a ff call 0xff2aba8a 14: 4c 8b 33 mov (%rbx),%r14 17: 4d 39 f7 cmp %r14,%r15 1a: 0f 84 87 01 00 00 je 0x1a7 20: 4c 89 e0 mov %r12,%rax 23: 4d 89 f4 mov %r14,%r12 26: 49 c1 ec 03 shr $0x3,%r12 * 2a: 41 80 3c 04 00 cmpb $0x0,(%r12,%rax,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 f7 mov %r14,%rdi 34: e8 51 ba 2a ff call 0xff2aba8a 39: 48 89 5d a8 mov %rbx,-0x58(%rbp) 3d: 41 rex.B 3e: f6 .byte 0xf6 3f: 06 (bad)