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: 5791 Comm: syz.1.1897 Not tainted 5.15.185-syzkaller-00032-g0d918fa8e88d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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 f1 e1 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 cb e1 3a ff 4c 89 f0 48 83 c8 01 49 RSP: 0018:ffffc900015877c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888110abb068 RCX: dffffc0000000000 RDX: ffffffff819aeab0 RSI: 1ffff1102131fc19 RDI: ffff888127473e38 RBP: ffffc90001587820 R08: dffffc0000000000 R09: ffffed102131fc1d R10: ffffed102131fc1d R11: 1ffff1102131fc1c R12: 1ffff1102215760b R13: 0000000000000000 R14: ffff888127473e38 R15: ffff888110abb058 FS: 00007fa484d026c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000d5000 CR3: 000000012a21d000 CR4: 00000000003506b0 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: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 copy_process+0x25ae/0x3210 kernel/fork.c:2600 kernel_clone+0x23f/0x940 kernel/fork.c:2737 __do_sys_clone kernel/fork.c:2863 [inline] __se_sys_clone kernel/fork.c:2847 [inline] __x64_sys_clone+0x176/0x1d0 kernel/fork.c:2847 x64_sys_call+0x41f/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:57 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fa4866ba929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa484d01fe8 EFLAGS: 00000202 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007fa4868e2080 RCX: 00007fa4866ba929 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000c0001480 RBP: 00007fa48673cb39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fa4868e2080 R15: 00007ffff256b7e8 Modules linked in: ---[ end trace 873f80c443cf2d8e ]--- 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 f1 e1 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 cb e1 3a ff 4c 89 f0 48 83 c8 01 49 RSP: 0018:ffffc900015877c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888110abb068 RCX: dffffc0000000000 RDX: ffffffff819aeab0 RSI: 1ffff1102131fc19 RDI: ffff888127473e38 RBP: ffffc90001587820 R08: dffffc0000000000 R09: ffffed102131fc1d R10: ffffed102131fc1d R11: 1ffff1102131fc1c R12: 1ffff1102215760b R13: 0000000000000000 R14: ffff888127473e38 R15: ffff888110abb058 FS: 00007fa484d026c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000047d000 CR3: 000000012a21d000 CR4: 00000000003506a0 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 f1 e1 3a ff call 0xff3ae203 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 cb e1 3a ff call 0xff3ae203 38: 4c 89 f0 mov %r14,%rax 3b: 48 83 c8 01 or $0x1,%rax 3f: 49 rex.WB