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: 11367 Comm: syz.0.3147 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/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 71 d2 3a 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 4b d2 3a ff 4c 89 f0 48 83 c8 01 49 RSP: 0018:ffffc90000a476c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8881154dd190 RCX: dffffc0000000000 RDX: ffffffff819b0210 RSI: 1ffff11021322e4a RDI: ffff88811599d998 RBP: ffffc90000a47720 R08: dffffc0000000000 R09: ffffed1021322e4e R10: ffffed1021322e4e R11: 1ffff11021322e4d R12: 1ffff11022a9ba30 R13: 0000000000000000 R14: ffff88811599d998 R15: ffff8881154dd180 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000100000000 CR3: 000000010d2d7000 CR4: 00000000003506a0 DR0: 0000200000000300 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: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:0x7ff942a9e785 Code: Unable to access opcode bytes at RIP 0x7ff942a9e75b. RSP: 002b:00007fff6f878740 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: 0000000000000000 RBX: 00007ff942cc2fa0 RCX: 00007ff942a9e785 RDX: 00007fff6f878780 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ff942cc4da0 R08: 0000000000000000 R09: 00103315842e8d16 R10: 0000000000000000 R11: 0000000000000293 R12: 00000000000604a2 R13: 00007ff942cc3090 R14: ffffffffffffffff R15: 00007fff6f8788c0 Modules linked in: ---[ end trace c07ab8e09c8436ec ]--- 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 71 d2 3a 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 4b d2 3a ff 4c 89 f0 48 83 c8 01 49 RSP: 0018:ffffc90000a476c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8881154dd190 RCX: dffffc0000000000 RDX: ffffffff819b0210 RSI: 1ffff11021322e4a RDI: ffff88811599d998 RBP: ffffc90000a47720 R08: dffffc0000000000 R09: ffffed1021322e4e R10: ffffed1021322e4e R11: 1ffff11021322e4d R12: 1ffff11022a9ba30 R13: 0000000000000000 R14: ffff88811599d998 R15: ffff8881154dd180 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000100000000 CR3: 000000010d2c0000 CR4: 00000000003506a0 DR0: 0000200000000300 DR1: 0000200000000300 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 71 d2 3a ff call 0xff3ad283 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 4b d2 3a ff call 0xff3ad283 38: 4c 89 f0 mov %r14,%rax 3b: 48 83 c8 01 or $0x1,%rax 3f: 49 rex.WB