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: 1550 Comm: syz-executor Tainted: G W 5.15.180-syzkaller-android13-5.15.180_r00 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:____rb_erase_color lib/rbtree.c:354 [inline] RIP: 0010:__rb_erase_color+0x1e6/0xaf0 lib/rbtree.c:413 Code: 00 fc ff df 48 89 4d c0 80 3c 01 00 74 08 48 89 df e8 9e 28 3b ff 4c 8b 2b 4d 89 ef 49 c1 ef 03 48 b8 00 00 00 00 00 fc ff df <41> 80 3c 07 00 74 08 4c 89 ef e8 7b 28 3b ff 41 f6 45 00 01 48 89 RSP: 0018:ffffc90000cd76c0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88811c4d2068 RCX: 1ffff1102389a40d RDX: ffffffff819adcf0 RSI: 1ffff1102137ac19 RDI: ffff88811c4d2058 RBP: ffffc90000cd7720 R08: dffffc0000000000 R09: ffffed102137ac1d R10: ffffed102137ac1d R11: 1ffff1102137ac1c R12: 1ffff1102837ab11 R13: 0000000000000000 R14: ffff88811c4d2058 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1d59c306e8 CR3: 00000001233cf000 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: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 exit_mm kernel/exit.c:554 [inline] do_exit+0x9ca/0x27a0 kernel/exit.c:867 do_group_exit+0x141/0x310 kernel/exit.c:1002 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:0x7f3412cfd33d Code: Unable to access opcode bytes at RIP 0x7f3412cfd313. RSP: 002b:00007ffd2ef19a48 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: fffffffffffffe00 RBX: 0000000000000003 RCX: 00007f3412cfd33d RDX: 0000000000000030 RSI: 00007ffd2ef19ae0 RDI: 00000000000000f9 RBP: 00007ffd2ef19a8c R08: 00000000000002e8 R09: 0079746972756365 R10: 00007f3412ef0120 R11: 0000000000000246 R12: 0000000000000258 R13: 00000000000927c0 R14: 0000000000067652 R15: 00007ffd2ef19ae0 Modules linked in: ---[ end trace 4a946ab679226c18 ]--- RIP: 0010:____rb_erase_color lib/rbtree.c:354 [inline] RIP: 0010:__rb_erase_color+0x1e6/0xaf0 lib/rbtree.c:413 Code: 00 fc ff df 48 89 4d c0 80 3c 01 00 74 08 48 89 df e8 9e 28 3b ff 4c 8b 2b 4d 89 ef 49 c1 ef 03 48 b8 00 00 00 00 00 fc ff df <41> 80 3c 07 00 74 08 4c 89 ef e8 7b 28 3b ff 41 f6 45 00 01 48 89 RSP: 0018:ffffc90000cd76c0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88811c4d2068 RCX: 1ffff1102389a40d RDX: ffffffff819adcf0 RSI: 1ffff1102137ac19 RDI: ffff88811c4d2058 RBP: ffffc90000cd7720 R08: dffffc0000000000 R09: ffffed102137ac1d R10: ffffed102137ac1d R11: 1ffff1102137ac1c R12: 1ffff1102837ab11 R13: 0000000000000000 R14: ffff88811c4d2058 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbbabb73d60 CR3: 00000001233cf000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess), 3 bytes skipped: 0: df 48 89 fisttps -0x77(%rax) 3: 4d c0 80 3c 01 00 74 rex.WRB rolb $0x8,0x7400013c(%r8) a: 08 b: 48 89 df mov %rbx,%rdi e: e8 9e 28 3b ff call 0xff3b28b1 13: 4c 8b 2b mov (%rbx),%r13 16: 4d 89 ef mov %r13,%r15 19: 49 c1 ef 03 shr $0x3,%r15 1d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 24: fc ff df * 27: 41 80 3c 07 00 cmpb $0x0,(%r15,%rax,1) <-- trapping instruction 2c: 74 08 je 0x36 2e: 4c 89 ef mov %r13,%rdi 31: e8 7b 28 3b ff call 0xff3b28b1 36: 41 f6 45 00 01 testb $0x1,0x0(%r13) 3b: 48 rex.W 3c: 89 .byte 0x89