BUG: unable to handle page fault for address: ffffc90001808000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 100000067 P4D 100000067 PUD 100154067 PMD 1254d0067 PTE 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 6078 Comm: syz-executor.1 Not tainted 6.1.75-syzkaller-00080-gea3c70fb959a #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:ffffc900018078a8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000084be47ec RCX: ffffffff8191d805 RDX: 0000000000000000 RSI: ffffc90001807968 RDI: ffffc90001808003 RBP: ffffc900018078e8 R08: 00000000fffff963 R09: 0000000000000007 R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000e4d2f858 R13: 00000000fffff963 R14: 0000000000000690 R15: 00000000ead4c8ff FS: 00007fe45cbe96c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90001808000 CR3: 00000001199f9000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bloom_map_peek_elem+0xac/0x1a0 kernel/bpf/bloom_filter.c:51 bpf_prog_00798911c748094f+0x3a/0x3e 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 __traceiter_kfree+0x2a/0x40 include/trace/events/kmem.h:94 trace_kfree include/trace/events/kmem.h:94 [inline] kfree+0xce/0xf0 mm/slab_common.c:996 key_user_lookup+0x1b9/0x470 security/keys/key.c:112 key_alloc+0x125/0xe70 security/keys/key.c:251 keyring_alloc+0x45/0xb0 security/keys/keyring.c:526 install_thread_keyring_to_cred security/keys/process_keys.c:228 [inline] install_thread_keyring security/keys/process_keys.c:253 [inline] lookup_user_key+0x4c1/0x15c0 security/keys/process_keys.c:635 __do_sys_add_key security/keys/keyctl.c:126 [inline] __se_sys_add_key+0x2f6/0x480 security/keys/keyctl.c:74 __x64_sys_add_key+0xbf/0xd0 security/keys/keyctl.c:74 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:0x7fe45be7dea9 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:00007fe45cbe90c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000f8 RAX: ffffffffffffffda RBX: 00007fe45bfabf80 RCX: 00007fe45be7dea9 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000020000240 RBP: 00007fe45beca4a4 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fe45bfabf80 R15: 00007fff33595508 Modules linked in: CR2: ffffc90001808000 ---[ 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:ffffc900018078a8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000084be47ec RCX: ffffffff8191d805 RDX: 0000000000000000 RSI: ffffc90001807968 RDI: ffffc90001808003 RBP: ffffc900018078e8 R08: 00000000fffff963 R09: 0000000000000007 R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000e4d2f858 R13: 00000000fffff963 R14: 0000000000000690 R15: 00000000ead4c8ff FS: 00007fe45cbe96c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90001808000 CR3: 00000001199f9000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- 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