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: 13371 Comm: syz-executor.2 Not tainted 6.1.75-syzkaller-00069-gfa87a072a7fc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:jhash include/linux/jhash.h:81 [inline]
RIP: 0010:hash+0x2d8/0xc20 kernel/bpf/bloom_filter.c:39
Code: 89 f8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 2b 01 00 00 4a 8d 7c 36 07 48 89 f8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 43 01 00 00 <42> 03 5c 36 04 4a 8d 7c 36 08 48 89 f8 48 c1 e8 03 0f b6 04 10 84
RSP: 0018:ffffc900000079b0 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 00000000a294d0ee RCX: ffffffff8191d5e5
RDX: dffffc0000000000 RSI: ffffc90000007a68 RDI: ffffc90000008003
RBP: ffffc900000079f0 R08: 00000000fffff5ce R09: ffff88810dcc9c80
R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000fd19887d
R13: 00000000fffff5ce R14: 0000000000000594 R15: 000000004334c489
FS: 00007fa038fec6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90000008000 CR3: 000000010eb1d000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
bloom_map_push_elem+0xce/0x180 kernel/bpf/bloom_filter.c:69
bpf_prog_216c997a1f42e404+0x37/0x3b
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_run3+0x177/0x2e0 kernel/trace/bpf_trace.c:2315
__bpf_trace_kmem_cache_free+0x99/0xc0 include/trace/events/kmem.h:114
trace_kmem_cache_free include/trace/events/kmem.h:114 [inline]
kmem_cache_free+0x4e7/0x510 mm/slub.c:3705
put_pid kernel/pid.c:114 [inline]
delayed_put_pid+0xb6/0x120 kernel/pid.c:123
rcu_do_batch+0x518/0xb70 kernel/rcu/tree.c:2264
rcu_core+0x4ee/0xf10 kernel/rcu/tree.c:2524
rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2541
__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
sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:memcmp lib/string.c:765 [inline]
RIP: 0010:bcmp+0x88/0x200 lib/string.c:797
Code: 49 8d 7d 07 4c 89 e8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 8e 00 00 00 48 89 f8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 b5 00 00 00 <49> 3b 37 0f 85 df 00 00 00 49 83 c4 08 49 83 c7 08 49 83 c6 f8 48
RSP: 0018:ffffc9000cd2ee58 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff88810bfad058 RCX: dffffc0000000000
RDX: dffffc0000000000 RSI: ffffffff00000000 RDI: ffff88810bfaa05f
RBP: ffffc9000cd2ee90 R08: ffffffff818a9109 R09: ffffffff818ab5b9
R10: 0000000000000003 R11: ffff8881274c9440 R12: ffff88810bfad058
R13: ffff88810bfaa058 R14: 0000000000000008 R15: ffff88810bfaa058
_Z6memcmpPKvU17pass_object_size0S0_U17pass_object_size0m include/linux/fortify-string.h:549 [inline]
states_maybe_looping kernel/bpf/verifier.c:12187 [inline]
is_state_visited kernel/bpf/verifier.c:12247 [inline]
do_check+0x1bcd/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:0x7fa03827dea9
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:00007fa038fec0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fa0383abf80 RCX: 00007fa03827dea9
RDX: 0000000000000080 RSI: 0000000020003480 RDI: 0000000000000005
RBP: 00007fa0382ca4a4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fa0383abf80 R15: 00007ffedcf8e0d8
Modules linked in:
CR2: ffffc90000008000
---[ end trace 0000000000000000 ]---
RIP: 0010:jhash include/linux/jhash.h:81 [inline]
RIP: 0010:hash+0x2d8/0xc20 kernel/bpf/bloom_filter.c:39
Code: 89 f8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 2b 01 00 00 4a 8d 7c 36 07 48 89 f8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 43 01 00 00 <42> 03 5c 36 04 4a 8d 7c 36 08 48 89 f8 48 c1 e8 03 0f b6 04 10 84
RSP: 0018:ffffc900000079b0 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 00000000a294d0ee RCX: ffffffff8191d5e5
RDX: dffffc0000000000 RSI: ffffc90000007a68 RDI: ffffc90000008003
RBP: ffffc900000079f0 R08: 00000000fffff5ce R09: ffff88810dcc9c80
R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000fd19887d
R13: 00000000fffff5ce R14: 0000000000000594 R15: 000000004334c489
FS: 00007fa038fec6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90000008000 CR3: 000000010eb1d000 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 2b 01 00 00 jne 0x13d
12: 4a 8d 7c 36 07 lea 0x7(%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 43 01 00 00 jne 0x16d
* 2a: 42 03 5c 36 04 add 0x4(%rsi,%r14,1),%ebx <-- trapping instruction
2f: 4a 8d 7c 36 08 lea 0x8(%rsi,%r14,1),%rdi
34: 48 89 f8 mov %rdi,%rax
37: 48 c1 e8 03 shr $0x3,%rax
3b: 0f b6 04 10 movzbl (%rax,%rdx,1),%eax
3f: 84 .byte 0x84