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: 4319 Comm: syz.1.1140 Not tainted 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:ffffc900010ef6c0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff888126be5758 RCX: 1ffff11024d7caeb RDX: ffffffff819adcf0 RSI: 1ffff110226a8069 RDI: ffff888126be5748 RBP: ffffc900010ef720 R08: dffffc0000000000 R09: ffffed10226a806d R10: ffffed10226a806d R11: 1ffff110226a806c R12: 1ffff11023b702a2 R13: 0000000000000000 R14: ffff888126be5748 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000100000000 CR3: 00000001063ab000 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 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 irqentry_exit_to_user_mode+0x9/0x10 kernel/entry/common.c:320 irqentry_exit+0x12/0x40 kernel/entry/common.c:411 exc_page_fault+0x5e/0xb0 arch/x86/mm/fault.c:1568 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:606 RIP: 0033:0x7f5f81d29837 Code: Unable to access opcode bytes at RIP 0x7f5f81d2980d. RSP: 002b:00007f5f804b2120 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 000000000000000b RCX: 00007f5f81e68969 RDX: 00007f5f804b2140 RSI: 00007f5f804b2270 RDI: 000000000000000b RBP: 00007f5f81eeaab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5f8208ffa0 R15: 00007fff178b3b38 Modules linked in: ---[ end trace 115ef01987e49438 ]--- 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:ffffc900010ef6c0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff888126be5758 RCX: 1ffff11024d7caeb RDX: ffffffff819adcf0 RSI: 1ffff110226a8069 RDI: ffff888126be5748 RBP: ffffc900010ef720 R08: dffffc0000000000 R09: ffffed10226a806d R10: ffffed10226a806d R11: 1ffff110226a806c R12: 1ffff11023b702a2 R13: 0000000000000000 R14: ffff888126be5748 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000100000000 CR3: 0000000126eb0000 CR4: 00000000003506b0 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