BUG: unable to handle page fault for address: ffffffff985161f6 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 6a12067 P4D 6a12067 PUD 6a13063 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 1 PID: 22029 Comm: syz-executor.5 Not tainted 6.1.25-syzkaller-00007-gf4812c6864dc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:bpf_dispatcher_xdp+0xd0/0x1000 Code: 4d 00 a0 0f 84 69 14 00 00 ff e2 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 81 fa c8 4e 00 a0 0f 84 3b 15 00 00 ff e2 90 <48> 81 fa 0c 50 00 a0 7f 17 48 81 fa 0c 50 00 a0 0f 84 66 16 00 00 RSP: 0018:ffffc9000cfe78b0 EFLAGS: 00010202 RAX: ffffffff8410dde7 RBX: ffffc9000cfe7c00 RCX: 0000000000040000 RDX: ffffffffa000500c RSI: ffffc9000d36b050 RDI: ffffc9000cfe7c00 RBP: ffffc9000cfe78d0 R08: ffffffff842eddbd R09: ffffed1022bba799 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffc9000d36b030 R14: ffffffffa000500c R15: ffffc9000d36b050 FS: 00007f93639c46c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffff985161f6 CR3: 00000001101ce000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __bpf_prog_run include/linux/filter.h:600 [inline] bpf_prog_run_xdp include/linux/filter.h:775 [inline] bpf_test_run+0x470/0xa40 net/bpf/test_run.c:400 bpf_prog_test_run_xdp+0x7a7/0x1130 net/bpf/test_run.c:1389 bpf_prog_test_run+0x3b0/0x630 kernel/bpf/syscall.c:3630 __sys_bpf+0x59f/0x7f0 kernel/bpf/syscall.c:4985 __do_sys_bpf kernel/bpf/syscall.c:5071 [inline] __se_sys_bpf kernel/bpf/syscall.c:5069 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5069 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9362c7cae9 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:00007f93639c40c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f9362d9bf80 RCX: 00007f9362c7cae9 RDX: 0000000000000048 RSI: 0000000020001480 RDI: 000000000000000a RBP: 00007f9362cc847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9362d9bf80 R15: 00007fff269b4048 Modules linked in: CR2: ffffffff985161f6 ---[ end trace 0000000000000000 ]--- RIP: 0010:bpf_dispatcher_xdp+0xd0/0x1000 Code: 4d 00 a0 0f 84 69 14 00 00 ff e2 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 81 fa c8 4e 00 a0 0f 84 3b 15 00 00 ff e2 90 <48> 81 fa 0c 50 00 a0 7f 17 48 81 fa 0c 50 00 a0 0f 84 66 16 00 00 RSP: 0018:ffffc9000cfe78b0 EFLAGS: 00010202 RAX: ffffffff8410dde7 RBX: ffffc9000cfe7c00 RCX: 0000000000040000 RDX: ffffffffa000500c RSI: ffffc9000d36b050 RDI: ffffc9000cfe7c00 RBP: ffffc9000cfe78d0 R08: ffffffff842eddbd R09: ffffed1022bba799 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffc9000d36b030 R14: ffffffffa000500c R15: ffffc9000d36b050 FS: 00007f93639c46c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffff985161f6 CR3: 00000001101ce000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 4d 00 a0 0f 84 69 14 rex.WRB add %r12b,0x1469840f(%r8) 7: 00 00 add %al,(%rax) 9: ff e2 jmp *%rdx b: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 12: 00 13: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 1a: 48 81 fa c8 4e 00 a0 cmp $0xffffffffa0004ec8,%rdx 21: 0f 84 3b 15 00 00 je 0x1562 27: ff e2 jmp *%rdx 29: 90 nop * 2a: 48 81 fa 0c 50 00 a0 cmp $0xffffffffa000500c,%rdx <-- trapping instruction 31: 7f 17 jg 0x4a 33: 48 81 fa 0c 50 00 a0 cmp $0xffffffffa000500c,%rdx 3a: 0f 84 66 16 00 00 je 0x16a6