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: 862 Comm: syz.1.152 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 09 e3 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 e3 e2 3a ff 4c 89 f0 48 83 c8 01 49 RSP: 0018:ffffc90001eaf6c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8881218e0060 RCX: dffffc0000000000 RDX: ffffffff819af490 RSI: 1ffff110223354cb RDI: ffff88812c310ac0 RBP: ffffc90001eaf720 R08: dffffc0000000000 R09: ffffed10223354cf R10: ffffed10223354cf R11: 1ffff110223354ce R12: 0000000000000000 R13: ffff8881218e0058 R14: ffff88812c310ac0 R15: 1ffff1102431c00b FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4a29e46a8c CR3: 000000000660f000 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+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:3243 __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+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:0x7fa86eebb719 Code: Unable to access opcode bytes at RIP 0x7fa86eebb6ef. RSP: 002b:00007fa86e93c0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fa86f072f88 RCX: 00007fa86eebb719 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fa86f072f88 RBP: 00007fa86f072f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa86f072f8c R13: 0000000000000000 R14: 00007ffd83ba7950 R15: 00007ffd83ba7a38 Modules linked in: ---[ end trace 99978cf1361342e1 ]--- 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 09 e3 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 e3 e2 3a ff 4c 89 f0 48 83 c8 01 49 RSP: 0018:ffffc90001eaf6c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8881218e0060 RCX: dffffc0000000000 RDX: ffffffff819af490 RSI: 1ffff110223354cb RDI: ffff88812c310ac0 RBP: ffffc90001eaf720 R08: dffffc0000000000 R09: ffffed10223354cf R10: ffffed10223354cf R11: 1ffff110223354ce R12: 0000000000000000 R13: ffff8881218e0058 R14: ffff88812c310ac0 R15: 1ffff1102431c00b FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efdf6b33a8c CR3: 000000012d199000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- 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 09 e3 3a ff call 0xff3ae31b 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 e3 e2 3a ff call 0xff3ae31b 38: 4c 89 f0 mov %r14,%rax 3b: 48 83 c8 01 or $0x1,%rax 3f: 49 rex.WB