general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 23507 Comm: syz-executor.4 Not tainted 5.15.78-syzkaller-00911-gc73b4619ad86 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:__rb_insert lib/rbtree.c:115 [inline] RIP: 0010:__rb_insert_augmented+0x9b/0x670 lib/rbtree.c:459 Code: e8 ca c7 2c ff 4d 8b 27 41 f6 c4 01 0f 85 b5 05 00 00 48 89 5d a8 4c 89 75 b8 4c 89 7d d0 4d 8d 7c 24 08 4d 89 fe 49 c1 ee 03 <43> 80 3c 2e 00 74 08 4c 89 ff e8 96 c7 2c ff 49 8b 1f 48 3b 5d d0 RSP: 0018:ffffc90000b579d8 EFLAGS: 00010202 RAX: 1ffff1102c48d2e9 RBX: 1ffff1103ffff110 RCX: ffff88811beb3b40 RDX: ffffffff81a72020 RSI: ffff888109648348 RDI: ffff888162469748 RBP: ffffc90000b57a40 R08: dffffc0000000000 R09: ffff888162469750 R10: ffffed102c48d2ec R11: 1ffff1102c48d2ea R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000008 FS: 0000555556f28400(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe742ab020 CR3: 00000001c90ab000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rb_insert_augmented include/linux/rbtree_augmented.h:50 [inline] rb_insert_augmented_cached include/linux/rbtree_augmented.h:60 [inline] vma_interval_tree_insert+0x2f3/0x310 mm/interval_tree.c:23 __vma_link_file mm/mmap.c:674 [inline] __vma_adjust+0x6a6/0x2e20 mm/mmap.c:857 __split_vma+0x363/0x480 split_vma+0x7a/0xd0 mm/mmap.c:2799 mprotect_fixup+0x55e/0x770 mm/mprotect.c:483 do_mprotect_pkey+0x66a/0x980 mm/mprotect.c:636 __do_sys_mprotect mm/mprotect.c:662 [inline] __se_sys_mprotect mm/mprotect.c:659 [inline] __x64_sys_mprotect+0x80/0x90 mm/mprotect.c:659 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:0x7f40aa9071b7 Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 0a 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe7424a488 EFLAGS: 00000206 ORIG_RAX: 000000000000000a RAX: ffffffffffffffda RBX: 00007f40aaa04060 RCX: 00007f40aa9071b7 RDX: 0000000000000001 RSI: 0000000000059000 RDI: 00007f40aa9a4000 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000006 R10: 0000000000058970 R11: 0000000000000206 R12: 00007ffe7424a5e8 R13: 00007ffe7424a600 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 719f5ea5b75cc180 ]--- RIP: 0010:__rb_insert lib/rbtree.c:115 [inline] RIP: 0010:__rb_insert_augmented+0x9b/0x670 lib/rbtree.c:459 Code: e8 ca c7 2c ff 4d 8b 27 41 f6 c4 01 0f 85 b5 05 00 00 48 89 5d a8 4c 89 75 b8 4c 89 7d d0 4d 8d 7c 24 08 4d 89 fe 49 c1 ee 03 <43> 80 3c 2e 00 74 08 4c 89 ff e8 96 c7 2c ff 49 8b 1f 48 3b 5d d0 RSP: 0018:ffffc90000b579d8 EFLAGS: 00010202 RAX: 1ffff1102c48d2e9 RBX: 1ffff1103ffff110 RCX: ffff88811beb3b40 RDX: ffffffff81a72020 RSI: ffff888109648348 RDI: ffff888162469748 RBP: ffffc90000b57a40 R08: dffffc0000000000 R09: ffff888162469750 R10: ffffed102c48d2ec R11: 1ffff1102c48d2ea R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000008 FS: 0000555556f28400(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe742ab020 CR3: 00000001c90ab000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: e8 ca c7 2c ff callq 0xff2cc7cf 5: 4d 8b 27 mov (%r15),%r12 8: 41 f6 c4 01 test $0x1,%r12b c: 0f 85 b5 05 00 00 jne 0x5c7 12: 48 89 5d a8 mov %rbx,-0x58(%rbp) 16: 4c 89 75 b8 mov %r14,-0x48(%rbp) 1a: 4c 89 7d d0 mov %r15,-0x30(%rbp) 1e: 4d 8d 7c 24 08 lea 0x8(%r12),%r15 23: 4d 89 fe mov %r15,%r14 26: 49 c1 ee 03 shr $0x3,%r14 * 2a: 43 80 3c 2e 00 cmpb $0x0,(%r14,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ff mov %r15,%rdi 34: e8 96 c7 2c ff callq 0xff2cc7cf 39: 49 8b 1f mov (%r15),%rbx 3c: 48 3b 5d d0 cmp -0x30(%rbp),%rbx