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: 5d11h, last: 2d04h
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in __pcpu_freelist_pop bpf 2 C done error 36 242d 282d 0/29 auto-obsoleted due to no activity on 2026/01/13 21:40

Sample crash report:
general protection fault, probably for non-canonical address 0xea89c4aac8abe8ca: 0000 [#1] PREEMPT SMP KASAN
KASAN: maybe wild-memory-access in range [0x544e4556455f4650-0x544e4556455f4657]
CPU: 0 PID: 741 Comm: syz.1.125 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/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 b8 25 2a 00 eb 48 e8 91 7f e4 ff eb 4b e8 8a 7f 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 9b 24 2a 00 4d 8b 37 48 b8 00 00 00
RSP: 0018:ffffc90000007790 EFLAGS: 00010006
RAX: 0a89c8aac8abe8ca RBX: ffffe8ffffd3ad70 RCX: dffffc0000000000
RDX: 0000000000010000 RSI: 0000000000000004 RDI: ffffc90000007720
RBP: ffffc900000077d0 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000000ee4 R12: ffffe8ffffd3ad78
R13: 1ffffd1ffffa75ae R14: 0000000000000001 R15: 544e4556455f4652
FS:  00007f0545fde6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000113a52000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 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_644fb7c94e15512a+0x2b/0x40
 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+0x3d0/0x5e0 kernel/events/core.c:10273
 __perf_event_overflow+0x437/0x620 kernel/events/core.c:9448
 perf_event_overflow kernel/events/core.c:9469 [inline]
 perf_swevent_hrtimer+0x400/0x5b0 kernel/events/core.c:10919
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x3bb/0x8e0 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x3c7/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+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1118
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:__syscall_enter_from_user_work kernel/entry/common.c:97 [inline]
RIP: 0010:syscall_enter_from_user_mode+0xc/0x30 kernel/entry/common.c:118
Code: 89 e5 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 b8 5c cc d4 e6 48 89 f0 fb 65 48 8b 0d e4 cb 06 7b <48> 8b 71 08 40 f6 c6 3f 74 0a 55 48 89 e5 e8 91 7a 64 fc 5d c3 66
RSP: 0018:ffffc9000f917f18 EFLAGS: 00000282
RAX: 0000000000000038 RBX: ffffc9000f917f20 RCX: ffff888114015100
RDX: 0000000000000000 RSI: 0000000000000038 RDI: ffffc9000f917f58
RBP: ffffc9000f917f48 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffc9000f917f58 R15: 0000000000000000
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f054519ce59
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f0545fddfd8 EFLAGS: 00000202 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f0545415fa0 RCX: 00007f054519ce59
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000c0126080
RBP: 00007f0545232d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000
R13: 00007f0545416038 R14: 00007f0545415fa0 R15: 00007ffe903ed178
 </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 b8 25 2a 00 eb 48 e8 91 7f e4 ff eb 4b e8 8a 7f 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 9b 24 2a 00 4d 8b 37 48 b8 00 00 00
RSP: 0018:ffffc90000007790 EFLAGS: 00010006
RAX: 0a89c8aac8abe8ca RBX: ffffe8ffffd3ad70 RCX: dffffc0000000000
RDX: 0000000000010000 RSI: 0000000000000004 RDI: ffffc90000007720
RBP: ffffc900000077d0 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000000ee4 R12: ffffe8ffffd3ad78
R13: 1ffffd1ffffa75ae R14: 0000000000000001 R15: 544e4556455f4652
FS:  00007f0545fde6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000113a52000 CR4: 00000000003506b0
DR0: 0000000000000000 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 b8 25 2a 00       	call   0x2a25c3
   b:	eb 48                	jmp    0x55
   d:	e8 91 7f e4 ff       	call   0xffe47fa3
  12:	eb 4b                	jmp    0x5f
  14:	e8 8a 7f e4 ff       	call   0xffe47fa3
  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 9b 24 2a 00       	call   0x2a24d3
  38:	4d 8b 37             	mov    (%r15),%r14
  3b:	48                   	rex.W
  3c:	b8                   	.byte 0xb8
  3d:	00 00                	add    %al,(%rax)

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/05/25 03:56 android14-6.1 108b53924ea3 c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf general protection fault in __pcpu_freelist_pop
2026/05/24 22:01 android14-6.1 108b53924ea3 c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf general protection fault in __pcpu_freelist_pop
2026/05/24 17:27 android14-6.1 108b53924ea3 c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf general protection fault in __pcpu_freelist_pop
2026/05/24 10:08 android14-6.1 108b53924ea3 c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf general protection fault in __pcpu_freelist_pop
2026/05/24 02:51 android14-6.1 108b53924ea3 c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf general protection fault in __pcpu_freelist_pop
2026/05/23 23:41 android14-6.1 108b53924ea3 c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf general protection fault in __pcpu_freelist_pop
2026/05/23 19:04 android14-6.1 108b53924ea3 c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf general protection fault in __pcpu_freelist_pop
2026/05/23 01:25 android14-6.1 b07bd8273426 c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf general protection fault in __pcpu_freelist_pop
2026/05/21 20:41 android14-6.1 ada4d4e34b98 e195359d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf general protection fault in __pcpu_freelist_pop
* Struck through repros no longer work on HEAD.