BUG: unable to handle page fault for address: 00000000799c5840
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 770e7067 P4D 770e7067 PUD 0
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5945 Comm: syz.0.16 Not tainted 6.6.99-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:bpf_prog_40e58f572301565e+0x5c/0x9f
Code: 0a b8 02 00 00 00 41 5d 5b c9 c3 48 89 df 48 8b b7 d8 00 00 00 48 63 f6 48 8b 57 50 48 89 f0 48 83 c0 08 48 39 c2 77 02 eb dc <48> 0f b7 5e 00 49 89 dd 48 81 fb 0f ff 07 00 74 00 48 c1 e3 20 66
RSP: 0018:ffffc9000461faa0 EFLAGS: 00010286
RAX: 00000000799c5848 RBX: 0000000000000000 RCX: ffff8880299b9e00
RDX: ffff8880799c584e RSI: 00000000799c5840 RDI: ffff8880771e5280
RBP: ffffc9000461fab0 R08: ffffffff8e4a7cef R09: 1ffffffff1c94f9d
R10: dffffc0000000000 R11: fffffbfff1c94f9e R12: ffffc900020ab030
R13: ffffc9000461fd00 R14: 0000000000000000 R15: dffffc0000000000
FS: 0000555563120500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000799c5840 CR3: 000000007702d000 CR4: 00000000003506e0
Call Trace:
<TASK>
bpf_dispatcher_nop_func include/linux/bpf.h:1213 [inline]
__bpf_prog_run include/linux/filter.h:612 [inline]
bpf_prog_run include/linux/filter.h:619 [inline]
bpf_test_run+0x2c7/0x810 net/bpf/test_run.c:424
bpf_prog_test_run_skb+0xa67/0x11c0 net/bpf/test_run.c:1050
bpf_prog_test_run+0x321/0x390 kernel/bpf/syscall.c:4123
__sys_bpf+0x440/0x800 kernel/bpf/syscall.c:5485
__do_sys_bpf kernel/bpf/syscall.c:5571 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5569 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5569
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f4d6b98e9a9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd1ce5e5c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f4d6bbb5fa0 RCX: 00007f4d6b98e9a9
RDX: 000000000000004c RSI: 00002000000011c0 RDI: 000000000000000a
RBP: 00007f4d6ba10d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f4d6bbb5fa0 R14: 00007f4d6bbb5fa0 R15: 0000000000000003
</TASK>
Modules linked in:
CR2: 00000000799c5840
---[ end trace 0000000000000000 ]---
RIP: 0010:bpf_prog_40e58f572301565e+0x5c/0x9f
Code: 0a b8 02 00 00 00 41 5d 5b c9 c3 48 89 df 48 8b b7 d8 00 00 00 48 63 f6 48 8b 57 50 48 89 f0 48 83 c0 08 48 39 c2 77 02 eb dc <48> 0f b7 5e 00 49 89 dd 48 81 fb 0f ff 07 00 74 00 48 c1 e3 20 66
RSP: 0018:ffffc9000461faa0 EFLAGS: 00010286
RAX: 00000000799c5848 RBX: 0000000000000000 RCX: ffff8880299b9e00
RDX: ffff8880799c584e RSI: 00000000799c5840 RDI: ffff8880771e5280
RBP: ffffc9000461fab0 R08: ffffffff8e4a7cef R09: 1ffffffff1c94f9d
R10: dffffc0000000000 R11: fffffbfff1c94f9e R12: ffffc900020ab030
R13: ffffc9000461fd00 R14: 0000000000000000 R15: dffffc0000000000
FS: 0000555563120500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000799c5840 CR3: 000000007702d000 CR4: 00000000003506e0
----------------
Code disassembly (best guess):
0: 0a b8 02 00 00 00 or 0x2(%rax),%bh
6: 41 5d pop %r13
8: 5b pop %rbx
9: c9 leave
a: c3 ret
b: 48 89 df mov %rbx,%rdi
e: 48 8b b7 d8 00 00 00 mov 0xd8(%rdi),%rsi
15: 48 63 f6 movslq %esi,%rsi
18: 48 8b 57 50 mov 0x50(%rdi),%rdx
1c: 48 89 f0 mov %rsi,%rax
1f: 48 83 c0 08 add $0x8,%rax
23: 48 39 c2 cmp %rax,%rdx
26: 77 02 ja 0x2a
28: eb dc jmp 0x6
* 2a: 48 0f b7 5e 00 movzwq 0x0(%rsi),%rbx <-- trapping instruction
2f: 49 89 dd mov %rbx,%r13
32: 48 81 fb 0f ff 07 00 cmp $0x7ff0f,%rbx
39: 74 00 je 0x3b
3b: 48 c1 e3 20 shl $0x20,%rbx
3f: 66 data16