syzbot


general protection fault in bpf_check

Status: upstream: reported C repro on 2024/08/03 23:17
Bug presence: origin:lts
[Documentation on labels]
Reported-by: syzbot+225be590aa1914e41862@syzkaller.appspotmail.com
First crash: 362d, last: 75d
Bug presence (3)
Date Name Commit Repro Result
2024/08/04 lts (merge base) b95c01af2113 C [report] general protection fault in bpf_check
2025/05/20 lts (merge base) a68c15152131 C Didn't crash
2024/08/04 upstream (ToT) defaf1a2113a C Didn't crash
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in bpf_check (2) bpf 2 C done done 7 472d 483d 0/29 auto-obsoleted due to no activity on 2024/07/11 21:05
upstream general protection fault in bpf_check bpf 2 3 2810d 2815d 3/29 fixed on 2017/11/28 03:36
Last patch testing requests (3)
Created Duration User Patch Repo Result
2025/03/26 12:19 6m retest repro android13-5.15-lts report log
2025/01/15 06:16 10m retest repro android13-5.15-lts report log
2024/10/26 10:11 10m retest repro android13-5.15-lts report log

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 1099 Comm: syz.3.232 Not tainted 5.15.180-syzkaller-00024-g88c4075c39ed #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
RIP: 0010:do_misc_fixups kernel/bpf/verifier.c:13331 [inline]
RIP: 0010:bpf_check+0x82c8/0xf330 kernel/bpf/verifier.c:14120
Code: 3b 48 8b 44 24 68 42 80 3c 28 00 48 8b 5c 24 10 74 08 48 89 df e8 78 ce 2d 00 48 8b 33 44 89 ff 41 ff d6 49 89 c7 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 ff e8 59 ce 2d 00 4d 8b 37 4d 85 f6 48
RSP: 0018:ffffc9000154f5e0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88812fdec008 RCX: ffffffff8546e0c0
RDX: 0000000000000002 RSI: 00000000fffffff3 RDI: 0000000000000000
RBP: ffffc9000154fbb0 R08: 0000000000000004 R09: 0000000000000003
R10: fffff520002a9d8c R11: 1ffff920002a9d8c R12: 1ffff92000040612
R13: dffffc0000000000 R14: ffffffff8173b8e0 R15: 0000000000000000
FS:  00007f90ff8686c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f84c6ed3710 CR3: 0000000119bac000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000097 DR2: 00000000fec0006d
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 bpf_prog_load+0x1042/0x1550 kernel/bpf/syscall.c:2325
 __sys_bpf+0x4c3/0x730 kernel/bpf/syscall.c:4630
 __do_sys_bpf kernel/bpf/syscall.c:4734 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:4732 [inline]
 __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:4732
 x64_sys_call+0x4b9/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:322
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f91011ff969
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:00007f90ff868038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f9101426fa0 RCX: 00007f91011ff969
RDX: 0000000000000094 RSI: 0000200000000440 RDI: 0000000000000005
RBP: 00007f9101281ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9101426fa0 R15: 00007fff1efa7738
 </TASK>
Modules linked in:
Kernel Offset: disabled
Rebooting in 86400 seconds..
----------------
Code disassembly (best guess):
   0:	3b 48 8b             	cmp    -0x75(%rax),%ecx
   3:	44 24 68             	rex.R and $0x68,%al
   6:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1)
   b:	48 8b 5c 24 10       	mov    0x10(%rsp),%rbx
  10:	74 08                	je     0x1a
  12:	48 89 df             	mov    %rbx,%rdi
  15:	e8 78 ce 2d 00       	call   0x2dce92
  1a:	48 8b 33             	mov    (%rbx),%rsi
  1d:	44 89 ff             	mov    %r15d,%edi
  20:	41 ff d6             	call   *%r14
  23:	49 89 c7             	mov    %rax,%r15
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 ff             	mov    %r15,%rdi
  34:	e8 59 ce 2d 00       	call   0x2dce92
  39:	4d 8b 37             	mov    (%r15),%r14
  3c:	4d 85 f6             	test   %r14,%r14
  3f:	48                   	rex.W

Crashes (50):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/04 09:04 android13-5.15-lts 88c4075c39ed b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2025/05/03 22:03 android13-5.15-lts 88c4075c39ed b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2025/05/03 19:42 android13-5.15-lts 88c4075c39ed b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2025/04/21 14:03 android13-5.15-lts 8034ec1338e8 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2025/04/20 16:00 android13-5.15-lts 8034ec1338e8 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2025/04/12 11:22 android13-5.15-lts a8a88afaecee 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2025/03/11 17:31 android13-5.15-lts 7d1f9b5c2ff5 16256247 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2025/02/18 22:56 android13-5.15-lts 058abb720bd1 9a14138f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2025/02/15 03:53 android13-5.15-lts 058abb720bd1 1022af74 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2025/02/07 19:47 android13-5.15-lts e8fb5110ac05 ef44b750 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2025/02/06 02:52 android13-5.15-lts d1a25a6a4b3b 577d049b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2025/01/27 22:10 android13-5.15-lts d1a25a6a4b3b 18070896 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2025/01/01 05:19 android13-5.15-lts f7ce2ffd2f33 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/12/21 07:33 android13-5.15-lts b4bd207b0380 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/12/05 22:44 android13-5.15-lts 431fb5556be3 29f61fce .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/12/05 18:07 android13-5.15-lts 252009836bae 29f61fce .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/11/25 09:51 android13-5.15-lts 101e665d55a8 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/11/25 02:15 android13-5.15-lts 101e665d55a8 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/11/24 17:53 android13-5.15-lts 101e665d55a8 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/11/23 19:50 android13-5.15-lts 101e665d55a8 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/11/22 17:49 android13-5.15-lts 101e665d55a8 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/11/22 12:08 android13-5.15-lts 101e665d55a8 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/11/22 11:15 android13-5.15-lts 101e665d55a8 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/11/16 21:45 android13-5.15-lts 42bb395d8907 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/11/15 15:10 android13-5.15-lts 3bfe08931bff f6ede3a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/11/13 13:22 android13-5.15-lts 3bfe08931bff bb3f8425 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/11/10 18:26 android13-5.15-lts 5e4635681cf1 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/11/08 07:36 android13-5.15-lts 5e4635681cf1 179b040e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/11/07 06:40 android13-5.15-lts 5e4635681cf1 df3dc63b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/10/28 15:53 android13-5.15-lts 5e4635681cf1 9efb3cc7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/10/28 04:51 android13-5.15-lts 5e4635681cf1 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/10/10 07:38 android13-5.15-lts 5e4635681cf1 0278d004 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/09/27 17:21 android13-5.15-lts 8e36931104ac 9314348a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/09/23 16:05 android13-5.15-lts b92c0d35d015 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/09/16 15:12 android13-5.15-lts b92c0d35d015 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/09/13 15:36 android13-5.15-lts e6fb3b0fa87f b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/09/10 15:15 android13-5.15-lts 99ada58989e6 86aa7bd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/09/09 21:20 android13-5.15-lts c53388f01037 073f8be2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/09/02 04:35 android13-5.15-lts 29d153aabd54 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/08/30 17:36 android13-5.15-lts 29d153aabd54 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/08/27 12:57 android13-5.15-lts 29d153aabd54 9aee4e0b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/08/16 11:45 android13-5.15-lts 88e96b82205f e1c76ab2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/08/16 04:19 android13-5.15-lts 88e96b82205f e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/08/08 22:36 android13-5.15-lts 70e1a731d986 61405512 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/08/08 16:12 android13-5.15-lts 70e1a731d986 61405512 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/08/03 23:05 android13-5.15-lts 70e1a731d986 1786a2a8 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/08/03 22:18 android13-5.15-lts 70e1a731d986 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/07/30 14:35 android13-5.15-lts d0a6506ecafd 5187fc86 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
2024/07/21 15:51 android13-5.15-lts db06c48ab67e b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in bpf_check
* Struck through repros no longer work on HEAD.