general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 6829 Comm: syz.4.1951 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/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 bf 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 be 3a ff 4c 89 f0 48 83 c8 01 49 RSP: 0018:ffffc90000c4f6c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888125772060 RCX: dffffc0000000000 RDX: ffffffff819b06e0 RSI: 1ffff1102132629a RDI: ffff888140286d10 RBP: ffffc90000c4f720 R08: dffffc0000000000 R09: ffffed102132629e R10: ffffed102132629e R11: 1ffff1102132629d R12: 0000000000000000 R13: ffff888125772058 R14: ffff888140286d10 R15: 1ffff11024aee40b FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000000660f000 CR4: 00000000003506b0 DR0: 0000200000000280 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:0x7fafd04c0749 Code: Unable to access opcode bytes at RIP 0x7fafd04c071f. RSP: 002b:00007fafcef070e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007fafd0717098 RCX: 00007fafd04c0749 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fafd071709c RBP: 00007fafd0717090 R08: 000f25dd4417596e R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fafd0717128 R14: 00007ffde0606d00 R15: 00007ffde0606de8 Modules linked in: ---[ end trace 9fe3e34cf4b3389e ]--- 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 bf 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 be 3a ff 4c 89 f0 48 83 c8 01 49 RSP: 0018:ffffc90000c4f6c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888125772060 RCX: dffffc0000000000 RDX: ffffffff819b06e0 RSI: 1ffff1102132629a RDI: ffff888140286d10 RBP: ffffc90000c4f720 R08: dffffc0000000000 R09: ffffed102132629e R10: ffffed102132629e R11: 1ffff1102132629d R12: 0000000000000000 R13: ffff888125772058 R14: ffff888140286d10 R15: 1ffff11024aee40b FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000002280 CR3: 0000000125281000 CR4: 00000000003506a0 DR0: 0000000000000000 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 09 bf 3a ff call 0xff3abf1b 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 be 3a ff call 0xff3abf1b 38: 4c 89 f0 mov %r14,%rax 3b: 48 83 c8 01 or $0x1,%rax 3f: 49 rex.WB