syzbot
general protection fault in __pcpu_freelist_pop
Status:
premoderation: reported on 2026/05/21 20:42
Reported-by: syzbot+4ec5b08d669d6f71c01f@syzkaller.appspotmail.com
First crash: 92d, last: 3h41m
Sample crash report:
general protection fault, probably for non-canonical address 0xe0000beca5b73c1b: 0000 [#1] PREEMPT SMP KASAN
KASAN: probably user-memory-access in range [0x00007f652db9e0d8-0x00007f652db9e0df]
CPU: 0 PID: 791 Comm: syz.0.131 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:___pcpu_freelist_pop kernel/bpf/percpu_freelist.c:134 [inline]
RIP: 0010:__pcpu_freelist_pop+0x777/0x840 kernel/bpf/percpu_freelist.c:188
Code: 00 74 52 48 89 df e8 38 0a 2a 00 eb 48 e8 91 7e e4 ff eb 4b e8 8a 7e e4 ff 4c 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 ff e8 1b 09 2a 00 4d 8b 37 48 b8 00 00 00
RSP: 0000:ffffc90000ad7750 EFLAGS: 00010006
RAX: 00000feca5b73c1b RBX: ffffe8ffffd3b960 RCX: dffffc0000000000
RDX: 0000000000010000 RSI: 0000000000000004 RDI: ffffc90000ad76e0
RBP: ffffc90000ad7790 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff5200015aedc R12: ffffe8ffffd3b968
R13: 1ffffd1ffffa772c R14: 0000000000000001 R15: 00007f652db9e0d9
FS: 00007f652e9ce6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000100000003 CR3: 0000000112e42000 CR4: 00000000003506b0
DR0: 0000000000000008 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
<TASK>
pcpu_freelist_pop+0x8a/0xf0 kernel/bpf/percpu_freelist.c:197
__bpf_get_stackid+0x6d5/0x960 kernel/bpf/stackmap.c:271
____bpf_get_stackid_pe kernel/bpf/stackmap.c:377 [inline]
bpf_get_stackid_pe+0x350/0x400 kernel/bpf/stackmap.c:334
bpf_prog_ee169d054574282b+0x24/0x39
bpf_dispatcher_nop_func include/linux/bpf.h:987 [inline]
__bpf_prog_run include/linux/filter.h:607 [inline]
bpf_prog_run include/linux/filter.h:614 [inline]
bpf_overflow_handler+0x3c7/0x5e0 kernel/events/core.c:10273
__perf_event_overflow+0x458/0x640 kernel/events/core.c:9448
perf_event_overflow kernel/events/core.c:9469 [inline]
perf_swevent_hrtimer+0x4b4/0x540 kernel/events/core.c:10919
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x398/0x890 kernel/time/hrtimer.c:1749
hrtimer_interrupt+0x3ad/0x8c0 kernel/time/hrtimer.c:1811
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline]
__sysvec_apic_timer_interrupt+0x11e/0x440 arch/x86/kernel/apic/apic.c:1124
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0x53/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0033:0x7f652da6409f
Code: 8d 04 c0 48 c1 e0 04 48 83 7c 02 28 00 74 0f 48 8b 44 24 08 c7 80 90 00 00 00 16 00 00 00 48 8b 44 24 08 80 3d 47 16 ef 00 00 <c6> 80 e8 00 00 00 00 0f 85 24 02 00 00 48 8b 44 24 08 8b 50 78 c6
RSP: 002b:00007f652e9ce050 EFLAGS: 00000202
RAX: 00007f652de26270 RBX: 00007f652de26270 RCX: 00007f652de26270
RDX: 00007f652dcbc820 RSI: 0000000000000000 RDI: 0000000000000016
RBP: 00007f652dc35024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f652de26308 R14: 00007f652de26270 R15: 00007ffe60fd39c8
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:___pcpu_freelist_pop kernel/bpf/percpu_freelist.c:134 [inline]
RIP: 0010:__pcpu_freelist_pop+0x777/0x840 kernel/bpf/percpu_freelist.c:188
Code: 00 74 52 48 89 df e8 38 0a 2a 00 eb 48 e8 91 7e e4 ff eb 4b e8 8a 7e e4 ff 4c 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 ff e8 1b 09 2a 00 4d 8b 37 48 b8 00 00 00
RSP: 0000:ffffc90000ad7750 EFLAGS: 00010006
RAX: 00000feca5b73c1b RBX: ffffe8ffffd3b960 RCX: dffffc0000000000
RDX: 0000000000010000 RSI: 0000000000000004 RDI: ffffc90000ad76e0
RBP: ffffc90000ad7790 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff5200015aedc R12: ffffe8ffffd3b968
R13: 1ffffd1ffffa772c R14: 0000000000000001 R15: 00007f652db9e0d9
FS: 00007f652e9ce6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000100000003 CR3: 0000000112e42000 CR4: 00000000003506b0
DR0: 0000000000000008 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
----------------
Code disassembly (best guess):
0: 00 74 52 48 add %dh,0x48(%rdx,%rdx,2)
4: 89 df mov %ebx,%edi
6: e8 38 0a 2a 00 call 0x2a0a43
b: eb 48 jmp 0x55
d: e8 91 7e e4 ff call 0xffe47ea3
12: eb 4b jmp 0x5f
14: e8 8a 7e e4 ff call 0xffe47ea3
19: 4c 89 f8 mov %r15,%rax
1c: 48 c1 e8 03 shr $0x3,%rax
20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
27: fc ff df
* 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction
2e: 74 08 je 0x38
30: 4c 89 ff mov %r15,%rdi
33: e8 1b 09 2a 00 call 0x2a0953
38: 4d 8b 37 mov (%r15),%r14
3b: 48 rex.W
3c: b8 .byte 0xb8
3d: 00 00 add %al,(%rax)
* Struck through repros no longer work on HEAD.