general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 4227 Comm: syz.4.1433 Tainted: G W 5.15.182-syzkaller-00462-g57725b368731 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:rb_set_parent_color include/linux/rbtree_augmented.h:165 [inline] RIP: 0010:____rb_erase_color lib/rbtree.c:255 [inline] RIP: 0010:__rb_erase_color+0xe7/0xaf0 lib/rbtree.c:413 Code: 8b 4d c0 80 3c 01 00 74 09 48 8b 7d c8 e8 11 18 3b ff 4d 89 6e 08 4c 89 33 4c 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 ef e8 eb 17 3b ff 4c 89 f0 48 83 c8 01 49 RSP: 0018:ffffc90000cef6c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88811ad06758 RCX: dffffc0000000000 RDX: ffffffff819ae360 RSI: 1ffff110225b8e4a RDI: ffff888105dc44f8 RBP: ffffc90000cef720 R08: dffffc0000000000 R09: ffffed10225b8e4e R10: ffffed10225b8e4e R11: 1ffff110225b8e4d R12: 1ffff110235a0ce9 R13: 0000000000000000 R14: ffff888105dc44f8 R15: ffff88811ad06748 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000003139 CR3: 000000012665d000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000200000000300 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+0xadf/0xb00 mm/interval_tree.c:23 __remove_shared_vm_struct mm/mmap.c:159 [inline] unlink_file_vma+0xd7/0xf0 mm/mmap.c:174 free_pgtables+0x139/0x280 mm/memory.c:490 exit_mmap+0x407/0x860 mm/mmap.c:3235 __mmput+0x93/0x320 kernel/fork.c:1180 mmput+0x50/0x150 kernel/fork.c:1203 exit_mm kernel/exit.c:554 [inline] do_exit+0x9ca/0x27a0 kernel/exit.c:867 do_group_exit+0x141/0x310 kernel/exit.c:1002 get_signal+0x66a/0x1480 kernel/signal.c:2907 arch_do_signal_or_restart+0xc1/0x10f0 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0xa7/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+0x1a/0x30 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fdee0eb2969 Code: Unable to access opcode bytes at RIP 0x7fdee0eb293f. RSP: 002b:00007fdedf4fa0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007fdee10da088 RCX: 00007fdee0eb2969 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fdee10da08c RBP: 00007fdee10da080 R08: 0021dd5a1edae2c4 R09: 0000000000000000 R10: 0000000000000337 R11: 0000000000000246 R12: 00007fdee10da08c R13: 0000000000000000 R14: 00007ffc3bcff360 R15: 00007ffc3bcff448 Modules linked in: ---[ end trace be1c742b5acfa13b ]--- RIP: 0010:rb_set_parent_color include/linux/rbtree_augmented.h:165 [inline] RIP: 0010:____rb_erase_color lib/rbtree.c:255 [inline] RIP: 0010:__rb_erase_color+0xe7/0xaf0 lib/rbtree.c:413 Code: 8b 4d c0 80 3c 01 00 74 09 48 8b 7d c8 e8 11 18 3b ff 4d 89 6e 08 4c 89 33 4c 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 ef e8 eb 17 3b ff 4c 89 f0 48 83 c8 01 49 RSP: 0018:ffffc90000cef6c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88811ad06758 RCX: dffffc0000000000 RDX: ffffffff819ae360 RSI: 1ffff110225b8e4a RDI: ffff888105dc44f8 RBP: ffffc90000cef720 R08: dffffc0000000000 R09: ffffed10225b8e4e R10: ffffed10225b8e4e R11: 1ffff110225b8e4d R12: 1ffff110235a0ce9 R13: 0000000000000000 R14: ffff888105dc44f8 R15: ffff88811ad06748 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000010000 CR3: 00000001337d6000 CR4: 00000000003506b0 DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: 8b 4d c0 mov -0x40(%rbp),%ecx 3: 80 3c 01 00 cmpb $0x0,(%rcx,%rax,1) 7: 74 09 je 0x12 9: 48 8b 7d c8 mov -0x38(%rbp),%rdi d: e8 11 18 3b ff call 0xff3b1823 12: 4d 89 6e 08 mov %r13,0x8(%r14) 16: 4c 89 33 mov %r14,(%rbx) 19: 4c 89 e8 mov %r13,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 4c 89 ef mov %r13,%rdi 33: e8 eb 17 3b ff call 0xff3b1823 38: 4c 89 f0 mov %r14,%rax 3b: 48 83 c8 01 or $0x1,%rax 3f: 49 rex.WB