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: 10215 Comm: syz.1.3549 Not tainted 5.15.178-syzkaller-00193-g058abb720bd1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:____rb_erase_color lib/rbtree.c:354 [inline] RIP: 0010:__rb_erase_color+0x20b/0xa60 lib/rbtree.c:413 Code: 49 89 de 49 c1 ee 03 43 80 3c 26 00 74 08 48 89 df e8 49 74 2a ff 4c 8b 3b 4d 89 fc 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df <41> 80 3c 04 00 74 08 4c 89 ff e8 26 74 2a ff 41 f6 07 01 48 89 5d RSP: 0018:ffffc90000ad77a0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88813a91cbf8 RCX: 0000000000080000 RDX: ffffffff81a594e0 RSI: ffff88810cc3b208 RDI: ffff88813a91cbe8 RBP: ffffc90000ad7800 R08: ffffffff81a575a0 R09: ffffed1021987645 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff88813a91cbe8 R14: 1ffff1102752397f R15: 0000000000000000 FS: 00007f34ffff66c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00004000000029c0 CR3: 0000000111959000 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+0xb82/0xba0 mm/interval_tree.c:23 __remove_shared_vm_struct mm/mmap.c:159 [inline] unlink_file_vma+0xd9/0xf0 mm/mmap.c:174 free_pgtables+0x13f/0x280 mm/memory.c:490 exit_mmap+0x47c/0x990 mm/mmap.c:3235 __mmput+0x95/0x310 kernel/fork.c:1180 mmput+0x5b/0x170 kernel/fork.c:1203 copy_process+0x25d9/0x3290 kernel/fork.c:2524 kernel_clone+0x21e/0x9e0 kernel/fork.c:2661 __do_sys_clone kernel/fork.c:2787 [inline] __se_sys_clone kernel/fork.c:2771 [inline] __x64_sys_clone+0x23f/0x290 kernel/fork.c:2771 x64_sys_call+0x1b0/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:57 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f350198bde9 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:00007f34ffff5fe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007f3501ba4fa0 RCX: 00007f350198bde9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000630c1000 RBP: 00007f3501a0d2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3501ba4fa0 R15: 00007ffc3f02cbb8 Modules linked in: ---[ end trace fd268d313c037a63 ]--- RIP: 0010:____rb_erase_color lib/rbtree.c:354 [inline] RIP: 0010:__rb_erase_color+0x20b/0xa60 lib/rbtree.c:413 Code: 49 89 de 49 c1 ee 03 43 80 3c 26 00 74 08 48 89 df e8 49 74 2a ff 4c 8b 3b 4d 89 fc 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df <41> 80 3c 04 00 74 08 4c 89 ff e8 26 74 2a ff 41 f6 07 01 48 89 5d RSP: 0018:ffffc90000ad77a0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88813a91cbf8 RCX: 0000000000080000 RDX: ffffffff81a594e0 RSI: ffff88810cc3b208 RDI: ffff88813a91cbe8 RBP: ffffc90000ad7800 R08: ffffffff81a575a0 R09: ffffed1021987645 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff88813a91cbe8 R14: 1ffff1102752397f R15: 0000000000000000 FS: 00007f34ffff66c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555893a54a8 CR3: 0000000111959000 CR4: 00000000003506a0 DR0: 0000400000000300 DR1: 0000400000000300 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: 49 89 de mov %rbx,%r14 3: 49 c1 ee 03 shr $0x3,%r14 7: 43 80 3c 26 00 cmpb $0x0,(%r14,%r12,1) c: 74 08 je 0x16 e: 48 89 df mov %rbx,%rdi 11: e8 49 74 2a ff call 0xff2a745f 16: 4c 8b 3b mov (%rbx),%r15 19: 4d 89 fc mov %r15,%r12 1c: 49 c1 ec 03 shr $0x3,%r12 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 41 80 3c 04 00 cmpb $0x0,(%r12,%rax,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ff mov %r15,%rdi 34: e8 26 74 2a ff call 0xff2a745f 39: 41 f6 07 01 testb $0x1,(%r15) 3d: 48 rex.W 3e: 89 .byte 0x89 3f: 5d pop %rbp