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: 2296 Comm: syz.1.677 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:rb_set_parent_color include/linux/rbtree_augmented.h:165 [inline] RIP: 0010:____rb_erase_color lib/rbtree.c:359 [inline] RIP: 0010:__rb_erase_color+0x25f/0xaf0 lib/rbtree.c:413 Code: 8b 4d c0 80 3c 01 00 74 09 48 8b 7d c8 e8 f9 d0 3a ff 4d 89 66 10 4c 89 33 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 e7 e8 d3 d0 3a ff 4c 89 f0 48 83 c8 01 49 RSP: 0018:ffffc90000d876c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888126217628 RCX: dffffc0000000000 RDX: ffffffff819b0210 RSI: 1ffff11021992b5e RDI: ffff88811a26b748 RBP: ffffc90000d87720 R08: dffffc0000000000 R09: ffffed1021992b62 R10: ffffed1021992b62 R11: 1ffff11021992b61 R12: 0000000000000000 R13: ffff888126217620 R14: ffff88811a26b748 R15: 1ffff11024c42ec4 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000012 CR3: 000000000660f000 CR4: 00000000003506a0 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+0xadf/0xb00 mm/interval_tree.c:23 __remove_shared_vm_struct mm/mmap.c:160 [inline] unlink_file_vma+0xda/0xf0 mm/mmap.c:175 free_pgtables+0x139/0x280 mm/memory.c:490 exit_mmap+0x407/0x860 mm/mmap.c:3247 __mmput+0x93/0x320 kernel/fork.c:1180 mmput+0x50/0x150 kernel/fork.c:1203 exit_mm kernel/exit.c:554 [inline] do_exit+0x9d2/0x27a0 kernel/exit.c:876 do_group_exit+0x141/0x310 kernel/exit.c:1003 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+0x87/0xd0 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:0x7f4c1346bba9 Code: Unable to access opcode bytes at RIP 0x7f4c1346bb7f. RSP: 002b:00007f4c11ed40e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f4c136b2fa8 RCX: 00007f4c1346bba9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4c136b2fa8 RBP: 00007f4c136b2fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4c136b3038 R14: 00007ffc3548e3a0 R15: 00007ffc3548e488 Modules linked in: ---[ end trace e4a8978fda38567d ]--- RIP: 0010:rb_set_parent_color include/linux/rbtree_augmented.h:165 [inline] RIP: 0010:____rb_erase_color lib/rbtree.c:359 [inline] RIP: 0010:__rb_erase_color+0x25f/0xaf0 lib/rbtree.c:413 Code: 8b 4d c0 80 3c 01 00 74 09 48 8b 7d c8 e8 f9 d0 3a ff 4d 89 66 10 4c 89 33 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 e7 e8 d3 d0 3a ff 4c 89 f0 48 83 c8 01 49 RSP: 0018:ffffc90000d876c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888126217628 RCX: dffffc0000000000 RDX: ffffffff819b0210 RSI: 1ffff11021992b5e RDI: ffff88811a26b748 RBP: ffffc90000d87720 R08: dffffc0000000000 R09: ffffed1021992b62 R10: ffffed1021992b62 R11: 1ffff11021992b61 R12: 0000000000000000 R13: ffff888126217620 R14: ffff88811a26b748 R15: 1ffff11024c42ec4 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000100000000 CR3: 000000012ff68000 CR4: 00000000003506b0 DR0: 0000000000000000 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 f9 d0 3a ff call 0xff3ad10b 12: 4d 89 66 10 mov %r12,0x10(%r14) 16: 4c 89 33 mov %r14,(%rbx) 19: 4c 89 e0 mov %r12,%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 e7 mov %r12,%rdi 33: e8 d3 d0 3a ff call 0xff3ad10b 38: 4c 89 f0 mov %r14,%rax 3b: 48 83 c8 01 or $0x1,%rax 3f: 49 rex.WB