kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 20563 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__rb_insert lib/rbtree.c:131 [inline] RIP: 0010:__rb_insert_augmented+0x96/0x920 lib/rbtree.c:495 Code: ea 48 c1 ea 03 42 80 3c 2a 00 0f 85 81 05 00 00 4c 8b 65 00 41 f6 c4 01 0f 85 6e 03 00 00 4d 8d 44 24 08 4c 89 c2 48 c1 ea 03 <42> 80 3c 2a 00 0f 85 71 05 00 00 4d 8b 74 24 08 49 39 ee 0f 84 76 RSP: 0018:ffff8880a6dc7b88 EFLAGS: 00010202 RAX: ffff88808dac1950 RBX: ffff88802788caa8 RCX: 0000000000000000 RDX: 0000000000000001 RSI: dffffc0000000000 RDI: 1ffff11004f11955 RBP: ffff88800013f268 R08: 0000000000000008 R09: 0000000000000000 R10: 0000000000000006 R11: 00000000d2cc1d79 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffffffff81897a50 FS: 0000555555798400(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f90e03823a5 CR3: 00000000afbea000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dup_mmap kernel/fork.c:521 [inline] dup_mm kernel/fork.c:1285 [inline] copy_mm kernel/fork.c:1341 [inline] copy_process.part.0+0x3121/0x8260 kernel/fork.c:1913 copy_process kernel/fork.c:1710 [inline] _do_fork+0x22f/0xf30 kernel/fork.c:2219 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f3ef48b648b Code: ed 0f 85 60 01 00 00 64 4c 8b 0c 25 10 00 00 00 45 31 c0 4d 8d 91 d0 02 00 00 31 d2 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 89 00 00 00 41 89 c5 85 c0 0f 85 90 00 00 RSP: 002b:00007fff36772580 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3ef48b648b RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555555798400 R10: 00005555557986d0 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007fff36772660 Modules linked in: ---[ end trace b07a283d5c38dbf6 ]--- RIP: 0010:__rb_insert lib/rbtree.c:131 [inline] RIP: 0010:__rb_insert_augmented+0x96/0x920 lib/rbtree.c:495 Code: ea 48 c1 ea 03 42 80 3c 2a 00 0f 85 81 05 00 00 4c 8b 65 00 41 f6 c4 01 0f 85 6e 03 00 00 4d 8d 44 24 08 4c 89 c2 48 c1 ea 03 <42> 80 3c 2a 00 0f 85 71 05 00 00 4d 8b 74 24 08 49 39 ee 0f 84 76 RSP: 0018:ffff8880a6dc7b88 EFLAGS: 00010202 RAX: ffff88808dac1950 RBX: ffff88802788caa8 RCX: 0000000000000000 RDX: 0000000000000001 RSI: dffffc0000000000 RDI: 1ffff11004f11955 RBP: ffff88800013f268 R08: 0000000000000008 R09: 0000000000000000 R10: 0000000000000006 R11: 00000000d2cc1d79 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffffffff81897a50 FS: 0000555555798400(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f327000 CR3: 00000000afbea000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 48 c1 ea 03 shr $0x3,%rdx 4: 42 80 3c 2a 00 cmpb $0x0,(%rdx,%r13,1) 9: 0f 85 81 05 00 00 jne 0x590 f: 4c 8b 65 00 mov 0x0(%rbp),%r12 13: 41 f6 c4 01 test $0x1,%r12b 17: 0f 85 6e 03 00 00 jne 0x38b 1d: 4d 8d 44 24 08 lea 0x8(%r12),%r8 22: 4c 89 c2 mov %r8,%rdx 25: 48 c1 ea 03 shr $0x3,%rdx * 29: 42 80 3c 2a 00 cmpb $0x0,(%rdx,%r13,1) <-- trapping instruction 2e: 0f 85 71 05 00 00 jne 0x5a5 34: 4d 8b 74 24 08 mov 0x8(%r12),%r14 39: 49 39 ee cmp %rbp,%r14 3c: 0f .byte 0xf 3d: 84 .byte 0x84 3e: 76 .byte 0x76