BUG: unable to handle page fault for address: ffffc900001b1000
#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: 1 PID: 4074 Comm: syz-executor.4 Not tainted 6.1.78-syzkaller-00021-g1a72e2f692ac #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:jhash2 include/linux/jhash.h:127 [inline]
RIP: 0010:hash+0xfe/0xc20 kernel/bpf/bloom_filter.c:36
Code: fc ff df 0f b6 04 10 84 c0 0f 85 c1 00 00 00 45 03 6e f4 48 8d 7e 04 48 89 f8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 db 00 00 00 <41> 03 5e f8 48 8d 7e 08 48 89 f8 48 c1 e8 03 0f b6 04 10 84 c0 0f
RSP: 0018:ffffc900001b09b0 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 000000006f58e9f8 RCX: ffffffff8191da15
RDX: dffffc0000000000 RSI: ffffc900001b0ffc RDI: ffffc900001b1000
RBP: ffffc900001b09f0 R08: 000000003ffffe96 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000051129543
R13: 00000000d2e74f2d R14: ffffc900001b1008 R15: ffffc900001b0ffc
FS: 00007f2cc2e796c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc900001b1000 CR3: 0000000133024000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
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_run2+0x133/0x290 kernel/trace/bpf_trace.c:2314
__bpf_trace_kfree+0x6f/0x90 include/trace/events/kmem.h:94
trace_kfree include/trace/events/kmem.h:94 [inline]
kfree+0xce/0xf0 mm/slab_common.c:996
security_task_free+0x9a/0xc0 security/security.c:1704
__put_task_struct+0xed/0x3c0 kernel/fork.c:938
put_task_struct include/linux/sched/task.h:145 [inline]
delayed_put_task_struct+0x69/0x1c0 kernel/exit.c:227
rcu_do_batch+0x518/0xb70 kernel/rcu/tree.c:2296
rcu_core+0x4ee/0xf10 kernel/rcu/tree.c:2556
rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2573
__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:__get_unaligned_cpu32 include/linux/unaligned/packed_struct.h:19 [inline]
RIP: 0010:jhash include/linux/jhash.h:81 [inline]
RIP: 0010:htab_map_hash+0x8c/0x7e0 kernel/bpf/hashtab.c:605
Code: ff df 0f b6 04 10 84 c0 0f 85 00 01 00 00 4a 8d 7c 3b 03 48 89 f8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 1e 01 00 00 46 03 04 3b <4a> 8d 7c 3b 04 48 89 f8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 38 01
RSP: 0018:ffffc90000d079f0 EFLAGS: 00000206
RAX: 0000000000000000 RBX: ffff888142800000 RCX: 0000000000040000
RDX: dffffc0000000000 RSI: 000000000001a44c RDI: ffff8881428f3fdb
RBP: ffffc90000d07a30 R08: 000000003b9246eb R09: ffffffff8185503f
R10: 000000000000000c R11: ffff88811bd05100 R12: 00000000fcbbc451
R13: 000000003d492f4d R14: 000000000010b01c R15: 00000000000f3fd8
__htab_percpu_map_update_elem+0xf9/0x790 kernel/bpf/hashtab.c:1260
bpf_percpu_hash_update+0x90/0xc0 kernel/bpf/hashtab.c:2332
bpf_map_update_value+0x25e/0x410 kernel/bpf/syscall.c:202
generic_map_update_batch+0x595/0x8c0 kernel/bpf/syscall.c:1664
bpf_map_do_batch+0x4cc/0x630
__sys_bpf+0x66b/0x7f0
__do_sys_bpf kernel/bpf/syscall.c:5091 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5089 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5089
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:0x7f2cc207d0a9
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:00007f2cc2e790c8 EFLAGS: 00000246
ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f2cc21b3f80 RCX: 00007f2cc207d0a9
RDX: 0000000000000038 RSI: 00000000200005c0 RDI: 000000000000001a
RBP: 00007f2cc20ec074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f2cc21b3f80 R15: 00007fff2c4d2478
Modules linked in:
CR2: ffffc900001b1000
---[ end trace 0000000000000000 ]---
RIP: 0010:jhash2 include/linux/jhash.h:127 [inline]
RIP: 0010:hash+0xfe/0xc20 kernel/bpf/bloom_filter.c:36
Code: fc ff df 0f b6 04 10 84 c0 0f 85 c1 00 00 00 45 03 6e f4 48 8d 7e 04 48 89 f8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 db 00 00 00 <41> 03 5e f8 48 8d 7e 08 48 89 f8 48 c1 e8 03 0f b6 04 10 84 c0 0f
RSP: 0018:ffffc900001b09b0 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 000000006f58e9f8 RCX: ffffffff8191da15
RDX: dffffc0000000000 RSI: ffffc900001b0ffc RDI: ffffc900001b1000
RBP: ffffc900001b09f0 R08: 000000003ffffe96 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000051129543
R13: 00000000d2e74f2d R14: ffffc900001b1008 R15: ffffc900001b0ffc
FS: 00007f2cc2e796c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc900001b1000 CR3: 0000000133024000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 2 bytes skipped:
0: df 0f fisttps (%rdi)
2: b6 04 mov $0x4,%dh
4: 10 84 c0 0f 85 c1 00 adc %al,0xc1850f(%rax,%rax,8)
b: 00 00 add %al,(%rax)
d: 45 03 6e f4 add -0xc(%r14),%r13d
11: 48 8d 7e 04 lea 0x4(%rsi),%rdi
15: 48 89 f8 mov %rdi,%rax
18: 48 c1 e8 03 shr $0x3,%rax
1c: 0f b6 04 10 movzbl (%rax,%rdx,1),%eax
20: 84 c0 test %al,%al
22: 0f 85 db 00 00 00 jne 0x103
* 28: 41 03 5e f8 add -0x8(%r14),%ebx <-- trapping instruction
2c: 48 8d 7e 08 lea 0x8(%rsi),%rdi
30: 48 89 f8 mov %rdi,%rax
33: 48 c1 e8 03 shr $0x3,%rax
37: 0f b6 04 10 movzbl (%rax,%rdx,1),%eax
3b: 84 c0 test %al,%al
3d: 0f .byte 0xf