Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 UID: 0 PID: 6508 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:___pcpu_freelist_pop kernel/bpf/percpu_freelist.c:114 [inline] RIP: 0010:__pcpu_freelist_pop+0x6b7/0x8c0 kernel/bpf/percpu_freelist.c:125 Code: 10 48 3b 8c 24 80 00 00 00 0f 85 b4 01 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d e9 41 31 9a 09 cc 48 89 f8 48 c1 e8 03 <80> 3c 18 00 48 89 7c 24 20 74 0a e8 c9 39 41 00 48 8b 7c 24 20 48 RSP: 0000:ffffc9000e5473c0 EFLAGS: 00010046 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffe8ffffd48218 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002 RBP: ffffc9000e547490 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52001ca8e84 R12: 1ffffd1ffffa9042 R13: ffffe8ffffd48210 R14: 0000000000000001 R15: 0000000000000000 FS: 00005555794c8500(0000) GS:ffff888125d1c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcf19ae5690 CR3: 0000000062e1e000 CR4: 00000000003526f0 DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: pcpu_freelist_pop+0xca/0x170 kernel/bpf/percpu_freelist.c:134 __bpf_get_stackid+0x574/0xcf0 kernel/bpf/stackmap.c:259 ____bpf_get_stackid_raw_tp kernel/trace/bpf_trace.c:1810 [inline] bpf_get_stackid_raw_tp+0x196/0x210 kernel/trace/bpf_trace.c:1799 bpf_prog_12712c88fd19bd5b+0x2a/0x32 bpf_dispatcher_nop_func include/linux/bpf.h:1332 [inline] __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run include/linux/filter.h:725 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2257 [inline] bpf_trace_run4+0x28b/0x4a0 kernel/trace/bpf_trace.c:2300 __do_trace_mm_page_alloc include/trace/events/kmem.h:177 [inline] trace_mm_page_alloc+0x129/0x150 include/trace/events/kmem.h:177 __alloc_frozen_pages_noprof+0x1d6/0x370 mm/page_alloc.c:5170 alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2416 folio_alloc_mpol_noprof mm/mempolicy.c:2435 [inline] vma_alloc_folio_noprof+0xe4/0x200 mm/mempolicy.c:2470 folio_prealloc+0x30/0x180 mm/memory.c:-1 wp_page_copy mm/memory.c:3552 [inline] do_wp_page+0x1231/0x5800 mm/memory.c:4013 handle_pte_fault mm/memory.c:6068 [inline] __handle_mm_fault+0x1033/0x5440 mm/memory.c:6195 handle_mm_fault+0x40a/0x8e0 mm/memory.c:6364 do_user_addr_fault+0xa81/0x1390 arch/x86/mm/fault.c:1336 handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x76/0xf0 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7fcf18c645e2 Code: 13 00 00 4c 8b 05 06 11 e8 00 48 8b 0d bf 10 e8 00 31 c0 48 8d ac 24 50 01 00 00 48 8d 15 8a ee 1a 00 be 40 00 00 00 48 89 ef 05 a7 10 e8 00 01 e8 22 2b 0d 00 31 c0 48 89 ee bf 0f 00 00 00 RSP: 002b:00007fff4bc5e9c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 00007fcf18e13464 RSI: 0000000000000040 RDI: 00007fff4bc5eb10 RBP: 00007fff4bc5eb10 R08: 000000000000008e R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 000000000000001b R13: 00000000000927c0 R14: 000000000001d768 R15: 00007fff4bc5ec70 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:___pcpu_freelist_pop kernel/bpf/percpu_freelist.c:114 [inline] RIP: 0010:__pcpu_freelist_pop+0x6b7/0x8c0 kernel/bpf/percpu_freelist.c:125 Code: 10 48 3b 8c 24 80 00 00 00 0f 85 b4 01 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d e9 41 31 9a 09 cc 48 89 f8 48 c1 e8 03 <80> 3c 18 00 48 89 7c 24 20 74 0a e8 c9 39 41 00 48 8b 7c 24 20 48 RSP: 0000:ffffc9000e5473c0 EFLAGS: 00010046 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffe8ffffd48218 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002 RBP: ffffc9000e547490 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52001ca8e84 R12: 1ffffd1ffffa9042 R13: ffffe8ffffd48210 R14: 0000000000000001 R15: 0000000000000000 FS: 00005555794c8500(0000) GS:ffff888125d1c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcf19ae5690 CR3: 0000000062e1e000 CR4: 00000000003526f0 DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: 10 48 3b adc %cl,0x3b(%rax) 3: 8c 24 80 mov %fs,(%rax,%rax,4) 6: 00 00 add %al,(%rax) 8: 00 0f add %cl,(%rdi) a: 85 b4 01 00 00 48 8d test %esi,-0x72b80000(%rcx,%rax,1) 11: 65 d8 5b 41 fcomps %gs:0x41(%rbx) 15: 5c pop %rsp 16: 41 5d pop %r13 18: 41 5e pop %r14 1a: 41 5f pop %r15 1c: 5d pop %rbp 1d: e9 41 31 9a 09 jmp 0x99a3163 22: cc int3 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) <-- trapping instruction 2e: 48 89 7c 24 20 mov %rdi,0x20(%rsp) 33: 74 0a je 0x3f 35: e8 c9 39 41 00 call 0x413a03 3a: 48 8b 7c 24 20 mov 0x20(%rsp),%rdi 3f: 48 rex.W