BUG: unable to handle page fault for address: ffffc90000008000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 100000067 P4D 100000067 PUD 100154067 PMD 100155067 PTE 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 23292 Comm: syz-executor.4 Not tainted 6.1.75-syzkaller-00073-g08cc4037cf32 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:jhash include/linux/jhash.h:82 [inline] RIP: 0010:hash+0x30d/0xc20 kernel/bpf/bloom_filter.c:39 Code: 89 f8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 56 01 00 00 4a 8d 7c 36 0b 48 89 f8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 6e 01 00 00 <46> 03 64 36 08 45 29 e7 44 89 e0 c1 c0 04 44 31 f8 41 01 dc 89 c1 RSP: 0018:ffffc90000007428 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000007b323e0 RCX: ffffffff8191d645 RDX: 0000000000000000 RSI: ffffc900000074e8 RDI: ffffc90000008003 RBP: ffffc90000007468 R08: 00000000fffff3e5 R09: fffffbfff0e9e1ae R10: 0000000000000000 R11: dffffc0000000001 R12: 000000001fbdbc2a R13: 00000000fffff3e5 R14: 0000000000000b10 R15: 00000000909820d2 FS: 00007f290a5f46c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90000008000 CR3: 0000000120867000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: bloom_map_peek_elem+0xac/0x1a0 kernel/bpf/bloom_filter.c:51 bpf_prog_583c8da43158804c+0x42/0x46 bpf_dispatcher_nop_func include/linux/bpf.h:987 [inline] __bpf_prog_run include/linux/filter.h:600 [inline] bpf_prog_run include/linux/filter.h:607 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2275 [inline] bpf_trace_run4+0x18d/0x2f0 kernel/trace/bpf_trace.c:2316 __bpf_trace_mm_page_alloc+0xbf/0xf0 include/trace/events/kmem.h:177 __traceiter_mm_page_alloc+0x3a/0x60 include/trace/events/kmem.h:177 trace_mm_page_alloc include/trace/events/kmem.h:177 [inline] __alloc_pages+0x727/0x780 mm/page_alloc.c:5734 __alloc_pages_node include/linux/gfp.h:236 [inline] alloc_pages_node include/linux/gfp.h:259 [inline] page_frag_alloc_1k net/core/skbuff.c:163 [inline] __napi_alloc_skb+0x391/0x560 net/core/skbuff.c:681 napi_alloc_skb include/linux/skbuff.h:3238 [inline] page_to_skb+0x28d/0xba0 drivers/net/virtio_net.c:501 receive_mergeable drivers/net/virtio_net.c:1128 [inline] receive_buf+0x4fc/0x4ef0 drivers/net/virtio_net.c:1267 virtnet_receive drivers/net/virtio_net.c:1562 [inline] virtnet_poll+0x6d3/0x1470 drivers/net/virtio_net.c:1680 __napi_poll+0xbe/0x5c0 net/core/dev.c:6544 napi_poll net/core/dev.c:6611 [inline] net_rx_action+0x595/0xdd0 net/core/dev.c:6722 __do_softirq+0x1d8/0x661 kernel/softirq.c:617 invoke_softirq kernel/softirq.c:472 [inline] __irq_exit_rcu+0x50/0xf0 kernel/softirq.c:700 irq_exit_rcu+0x9/0x10 kernel/softirq.c:712 common_interrupt+0xb4/0xd0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x27/0x40 arch/x86/include/asm/idtentry.h:644 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:unwind_next_frame+0x387/0x700 arch/x86/kernel/unwind_frame.c:311 Code: 00 00 00 00 eb 59 4d 85 e4 74 1f 49 83 c4 20 4c 89 e0 48 c1 e8 03 80 3c 10 00 74 08 4c 89 e7 e8 0f a1 84 00 49 8b 04 24 eb 35 <65> 48 8b 05 71 be ca 7e 48 39 45 98 74 0b 48 8b 7d d0 e8 62 03 00 RSP: 0018:ffffc900076ee9d8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff92000eddd56 RCX: ffffffff87566000 RDX: dffffc0000000000 RSI: ffffffff84f9495d RDI: ffffc900076eff48 RBP: ffffc900076eea50 R08: ffffc900076eeb48 R09: 000000000000000a R10: ffffc900076eeb50 R11: dffffc0000000001 R12: 0000000000000000 R13: ffffc900076eeab0 R14: ffffc900076eea60 R15: 1ffff92000eddd4c arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 kasan_save_alloc_info+0x1f/0x30 mm/kasan/generic.c:505 ____kasan_kmalloc mm/kasan/common.c:379 [inline] __kasan_krealloc+0x119/0x160 mm/kasan/common.c:447 kasan_krealloc include/linux/kasan.h:232 [inline] __do_krealloc mm/slab_common.c:1350 [inline] krealloc+0xa9/0xf0 mm/slab_common.c:1387 push_jmp_history kernel/bpf/verifier.c:2525 [inline] is_state_visited kernel/bpf/verifier.c:12346 [inline] do_check+0x273a/0xe040 kernel/bpf/verifier.c:12486 do_check_common+0x6ce/0xed0 kernel/bpf/verifier.c:14962 do_check_main kernel/bpf/verifier.c:15025 [inline] bpf_check+0x673b/0x16560 kernel/bpf/verifier.c:15602 bpf_prog_load+0x1304/0x1bf0 kernel/bpf/syscall.c:2605 __sys_bpf+0x52c/0x7f0 kernel/bpf/syscall.c:4981 __do_sys_bpf kernel/bpf/syscall.c:5085 [inline] __se_sys_bpf kernel/bpf/syscall.c:5083 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5083 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f290987dea9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f290a5f40c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f29099abf80 RCX: 00007f290987dea9 RDX: 0000000000000048 RSI: 0000000020000200 RDI: 0000000000000005 RBP: 00007f29098ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f29099abf80 R15: 00007ffd7b41f318 Modules linked in: CR2: ffffc90000008000 ---[ end trace 0000000000000000 ]--- RIP: 0010:jhash include/linux/jhash.h:82 [inline] RIP: 0010:hash+0x30d/0xc20 kernel/bpf/bloom_filter.c:39 Code: 89 f8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 56 01 00 00 4a 8d 7c 36 0b 48 89 f8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 6e 01 00 00 <46> 03 64 36 08 45 29 e7 44 89 e0 c1 c0 04 44 31 f8 41 01 dc 89 c1 RSP: 0018:ffffc90000007428 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000007b323e0 RCX: ffffffff8191d645 RDX: 0000000000000000 RSI: ffffc900000074e8 RDI: ffffc90000008003 RBP: ffffc90000007468 R08: 00000000fffff3e5 R09: fffffbfff0e9e1ae R10: 0000000000000000 R11: dffffc0000000001 R12: 000000001fbdbc2a R13: 00000000fffff3e5 R14: 0000000000000b10 R15: 00000000909820d2 FS: 00007f290a5f46c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90000008000 CR3: 0000000120867000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: 89 f8 mov %edi,%eax 2: 48 c1 e8 03 shr $0x3,%rax 6: 0f b6 04 10 movzbl (%rax,%rdx,1),%eax a: 84 c0 test %al,%al c: 0f 85 56 01 00 00 jne 0x168 12: 4a 8d 7c 36 0b lea 0xb(%rsi,%r14,1),%rdi 17: 48 89 f8 mov %rdi,%rax 1a: 48 c1 e8 03 shr $0x3,%rax 1e: 0f b6 04 10 movzbl (%rax,%rdx,1),%eax 22: 84 c0 test %al,%al 24: 0f 85 6e 01 00 00 jne 0x198 * 2a: 46 03 64 36 08 add 0x8(%rsi,%r14,1),%r12d <-- trapping instruction 2f: 45 29 e7 sub %r12d,%r15d 32: 44 89 e0 mov %r12d,%eax 35: c1 c0 04 rol $0x4,%eax 38: 44 31 f8 xor %r15d,%eax 3b: 41 01 dc add %ebx,%r12d 3e: 89 c1 mov %eax,%ecx