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: 7329 Comm: syz-executor.0 Not tainted 5.15.72-syzkaller-04310-g43eb03f7ce81 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:____rb_erase_color lib/rbtree.c:242 [inline] RIP: 0010:__rb_erase_color+0x6c/0xb60 lib/rbtree.c:413 Code: e8 a9 03 2d ff 4c 8b 23 4d 39 e6 4c 89 6d c8 0f 84 79 01 00 00 48 89 5d c0 4c 89 e3 48 c1 eb 03 48 b8 00 00 00 00 00 fc ff df <80> 3c 03 00 74 08 4c 89 e7 e8 76 03 2d ff 41 f6 04 24 01 4c 89 7d RSP: 0018:ffffc9000822f928 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffffff81a6fa00 RSI: ffff8881097060c8 RDI: ffff88812a4852a8 RBP: ffffc9000822f988 R08: ffffffff81a6db99 R09: ffffed10212e0c1d R10: ffffed10212e0c1d R11: 1ffff110212e0c1c R12: 0000000000000000 R13: ffff888126e8e870 R14: ffff88812a4852a8 R15: 1ffff11024dd1d0f FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200000c0 CR3: 000000012a479000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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+0xa66/0xa80 mm/interval_tree.c:23 __remove_shared_vm_struct mm/mmap.c:158 [inline] unlink_file_vma+0xd9/0xf0 mm/mmap.c:173 free_pgtables+0x13b/0x210 mm/memory.c:417 exit_mmap+0x466/0x7a0 mm/mmap.c:3198 __mmput+0x95/0x300 kernel/fork.c:1162 mmput+0x50/0x60 kernel/fork.c:1184 exit_mm+0x50d/0x760 kernel/exit.c:504 do_exit+0x63c/0x24d0 kernel/exit.c:815 do_group_exit+0x13a/0x300 kernel/exit.c:925 __do_sys_exit_group kernel/exit.c:936 [inline] __se_sys_exit_group kernel/exit.c:934 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:934 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7faf118095a9 Code: Unable to access opcode bytes at RIP 0x7faf1180957f. RSP: 002b:00007ffcf7c55da8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007faf118095a9 RDX: 00007faf117bb37b RSI: ffffffffffffffb8 RDI: 0000000000000000 RBP: 0000000000000001 R08: 00007faf1192f550 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffcf7c55e90 Modules linked in: ---[ end trace 194861a9a16d2354 ]--- RIP: 0010:____rb_erase_color lib/rbtree.c:242 [inline] RIP: 0010:__rb_erase_color+0x6c/0xb60 lib/rbtree.c:413 Code: e8 a9 03 2d ff 4c 8b 23 4d 39 e6 4c 89 6d c8 0f 84 79 01 00 00 48 89 5d c0 4c 89 e3 48 c1 eb 03 48 b8 00 00 00 00 00 fc ff df <80> 3c 03 00 74 08 4c 89 e7 e8 76 03 2d ff 41 f6 04 24 01 4c 89 7d RSP: 0018:ffffc9000822f928 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffffff81a6fa00 RSI: ffff8881097060c8 RDI: ffff88812a4852a8 RBP: ffffc9000822f988 R08: ffffffff81a6db99 R09: ffffed10212e0c1d R10: ffffed10212e0c1d R11: 1ffff110212e0c1c R12: 0000000000000000 R13: ffff888126e8e870 R14: ffff88812a4852a8 R15: 1ffff11024dd1d0f FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc2c70b53be CR3: 00000001265b3000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: e8 a9 03 2d ff callq 0xff2d03ae 5: 4c 8b 23 mov (%rbx),%r12 8: 4d 39 e6 cmp %r12,%r14 b: 4c 89 6d c8 mov %r13,-0x38(%rbp) f: 0f 84 79 01 00 00 je 0x18e 15: 48 89 5d c0 mov %rbx,-0x40(%rbp) 19: 4c 89 e3 mov %r12,%rbx 1c: 48 c1 eb 03 shr $0x3,%rbx 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 80 3c 03 00 cmpb $0x0,(%rbx,%rax,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 4c 89 e7 mov %r12,%rdi 33: e8 76 03 2d ff callq 0xff2d03ae 38: 41 f6 04 24 01 testb $0x1,(%r12) 3d: 4c rex.WR 3e: 89 .byte 0x89 3f: 7d .byte 0x7d