BUG: unable to handle kernel paging request at ffffc900019db030 PGD aa41c067 P4D aa41c067 PUD 21bc31067 PMD a5cf8067 PTE 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 8282 Comm: syz-executor.2 Not tainted 4.19.101-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:bpf_jit_binary_hdr include/linux/filter.h:699 [inline] RIP: 0010:bpf_get_prog_addr_region kernel/bpf/core.c:380 [inline] RIP: 0010:bpf_tree_comp kernel/bpf/core.c:437 [inline] RIP: 0010:__lt_find include/linux/rbtree_latch.h:115 [inline] RIP: 0010:latch_tree_find include/linux/rbtree_latch.h:208 [inline] RIP: 0010:bpf_prog_kallsyms_find kernel/bpf/core.c:511 [inline] RIP: 0010:bpf_prog_kallsyms_find+0x134/0x2c0 kernel/bpf/core.c:504 Code: 03 42 80 3c 28 00 0f 85 49 01 00 00 49 8b 47 50 48 8d 78 30 48 89 fa 48 c1 ea 03 42 80 3c 2a 00 0f 85 4b 01 00 00 48 8d 78 02 <48> 8b 58 30 48 89 fa 48 89 f9 48 c1 ea 03 83 e1 07 42 0f b6 14 2a RSP: 0018:ffff8880937874f8 EFLAGS: 00010246 RAX: ffffc900019db000 RBX: 0000000000000000 RCX: ffffffff81759203 RDX: 1ffff9200033b606 RSI: ffffffff81759228 RDI: ffffc900019db002 RBP: ffff888093787538 R08: ffff888096e28700 R09: ffffed1015d24733 R10: ffffed1015d24732 R11: ffff8880ae923993 R12: ffff8880965f2bb0 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880965f2bb0 FS: 0000000001879940(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc900019db030 CR3: 0000000095c68000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: is_bpf_text_address+0x78/0x170 kernel/bpf/core.c:546 kernel_text_address+0x73/0xf0 kernel/extable.c:152 __kernel_text_address+0xd/0x40 kernel/extable.c:107 unwind_get_return_address arch/x86/kernel/unwind_frame.c:18 [inline] unwind_get_return_address+0x61/0xa0 arch/x86/kernel/unwind_frame.c:13 __save_stack_trace+0x99/0x100 arch/x86/kernel/stacktrace.c:45 save_stack_trace+0x1a/0x20 arch/x86/kernel/stacktrace.c:60 save_stack+0x45/0xd0 mm/kasan/kasan.c:448 set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc mm/kasan/kasan.c:553 [inline] kasan_kmalloc+0xce/0xf0 mm/kasan/kasan.c:531 kasan_slab_alloc+0xf/0x20 mm/kasan/kasan.c:490 slab_post_alloc_hook mm/slab.h:445 [inline] slab_alloc mm/slab.c:3397 [inline] kmem_cache_alloc+0x11b/0x700 mm/slab.c:3557 ptlock_alloc+0x20/0x70 mm/memory.c:4833 ptlock_init include/linux/mm.h:1885 [inline] pgtable_page_ctor include/linux/mm.h:1919 [inline] pte_alloc_one+0x6d/0x1a0 arch/x86/mm/pgtable.c:38 __pte_alloc+0x2a/0x360 mm/memory.c:653 copy_pte_range mm/memory.c:1077 [inline] copy_pmd_range mm/memory.c:1153 [inline] copy_pud_range mm/memory.c:1187 [inline] copy_p4d_range mm/memory.c:1209 [inline] copy_page_range+0x16d0/0x2030 mm/memory.c:1271 dup_mmap kernel/fork.c:549 [inline] dup_mm kernel/fork.c:1288 [inline] copy_mm kernel/fork.c:1344 [inline] copy_process.part.0+0x56f3/0x7a60 kernel/fork.c:1897 copy_process kernel/fork.c:1694 [inline] _do_fork+0x257/0xfd0 kernel/fork.c:2207 __do_sys_clone kernel/fork.c:2314 [inline] __se_sys_clone kernel/fork.c:2308 [inline] __x64_sys_clone+0xbf/0x150 kernel/fork.c:2308 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45996a Code: f7 d8 64 89 04 25 d4 02 00 00 64 4c 8b 0c 25 10 00 00 00 31 d2 4d 8d 91 d0 02 00 00 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 f5 00 00 00 85 c0 41 89 c5 0f 85 fc 00 00 RSP: 002b:00007ffd39522ee0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007ffd39522ee0 RCX: 000000000045996a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 00007ffd39522f20 R08: 0000000000000001 R09: 0000000001879940 R10: 0000000001879c10 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 00007ffd39522f70 Modules linked in: CR2: ffffc900019db030 ---[ end trace 5ea55b5085a11b19 ]--- RIP: 0010:bpf_jit_binary_hdr include/linux/filter.h:699 [inline] RIP: 0010:bpf_get_prog_addr_region kernel/bpf/core.c:380 [inline] RIP: 0010:bpf_tree_comp kernel/bpf/core.c:437 [inline] RIP: 0010:__lt_find include/linux/rbtree_latch.h:115 [inline] RIP: 0010:latch_tree_find include/linux/rbtree_latch.h:208 [inline] RIP: 0010:bpf_prog_kallsyms_find kernel/bpf/core.c:511 [inline] RIP: 0010:bpf_prog_kallsyms_find+0x134/0x2c0 kernel/bpf/core.c:504 Code: 03 42 80 3c 28 00 0f 85 49 01 00 00 49 8b 47 50 48 8d 78 30 48 89 fa 48 c1 ea 03 42 80 3c 2a 00 0f 85 4b 01 00 00 48 8d 78 02 <48> 8b 58 30 48 89 fa 48 89 f9 48 c1 ea 03 83 e1 07 42 0f b6 14 2a RSP: 0018:ffff8880937874f8 EFLAGS: 00010246 RAX: ffffc900019db000 RBX: 0000000000000000 RCX: ffffffff81759203 RDX: 1ffff9200033b606 RSI: ffffffff81759228 RDI: ffffc900019db002 RBP: ffff888093787538 R08: ffff888096e28700 R09: ffffed1015d24733 R10: ffffed1015d24732 R11: ffff8880ae923993 R12: ffff8880965f2bb0 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880965f2bb0 FS: 0000000001879940(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc900019db030 CR3: 0000000095c68000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400