syzbot


general protection fault in bpf_skb_cgroup_id

Status: upstream: reported C repro on 2020/01/11 12:22
Reported-by: syzbot+398df33fae6ec4a049c5@syzkaller.appspotmail.com
First crash: 1594d, last: 12h22m
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in bpf_skb_cgroup_id bpf net C inconclusive 107 963d 978d 20/26 fixed on 2022/03/08 16:11

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 355 Comm: syz-executor436 Not tainted 5.4.268-syzkaller-00003-g2d5d8240a7cb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:____bpf_skb_cgroup_id net/core/filter.c:4123 [inline]
RIP: 0010:bpf_skb_cgroup_id+0x10f/0x190 net/core/filter.c:4114
Code: c7 a0 02 00 00 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 ff e8 a0 5a 0c fe bb 40 01 00 00 49 03 1f 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 82 5a 0c fe 48 8b 1b 48 83 c3 68
RSP: 0018:ffff8881dc597640 EFLAGS: 00010206
RAX: 0000000000000028 RBX: 0000000000000140 RCX: ffff8881dc92ee40
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 0000000000000000
RBP: ffff8881dc597690 R08: ffffffff8387c046 R09: ffff8881dc597760
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: fffffffaefa3caf4 R14: ffff8881dc605012 R15: ffff8881dc6052a0
FS:  0000555555636380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000001273258 CR3: 00000001dc552000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
Modules linked in:
---[ end trace 7c0eee5e2bd68385 ]---
RIP: 0010:____bpf_skb_cgroup_id net/core/filter.c:4123 [inline]
RIP: 0010:bpf_skb_cgroup_id+0x10f/0x190 net/core/filter.c:4114
Code: c7 a0 02 00 00 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 ff e8 a0 5a 0c fe bb 40 01 00 00 49 03 1f 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 82 5a 0c fe 48 8b 1b 48 83 c3 68
RSP: 0018:ffff8881dc597640 EFLAGS: 00010206
RAX: 0000000000000028 RBX: 0000000000000140 RCX: ffff8881dc92ee40
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 0000000000000000
RBP: ffff8881dc597690 R08: ffffffff8387c046 R09: ffff8881dc597760
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: fffffffaefa3caf4 R14: ffff8881dc605012 R15: ffff8881dc6052a0
FS:  0000555555636380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000001273258 CR3: 00000001dc552000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	a0 02 00 00 4c 89 f8 	movabs 0xc148f8894c000002,%al
   7:	48 c1
   9:	e8 03 42 80 3c       	call   0x3c804211
   e:	20 00                	and    %al,(%rax)
  10:	74 08                	je     0x1a
  12:	4c 89 ff             	mov    %r15,%rdi
  15:	e8 a0 5a 0c fe       	call   0xfe0c5aba
  1a:	bb 40 01 00 00       	mov    $0x140,%ebx
  1f:	49 03 1f             	add    (%r15),%rbx
  22:	48 89 d8             	mov    %rbx,%rax
  25:	48 c1 e8 03          	shr    $0x3,%rax
* 29:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1) <-- trapping instruction
  2e:	74 08                	je     0x38
  30:	48 89 df             	mov    %rbx,%rdi
  33:	e8 82 5a 0c fe       	call   0xfe0c5aba
  38:	48 8b 1b             	mov    (%rbx),%rbx
  3b:	48 83 c3 68          	add    $0x68,%rbx

Crashes (4000):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/21 05:34 android12-5.4 2d5d8240a7cb af24b050 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2024/04/21 05:10 android12-5.4 2d5d8240a7cb af24b050 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/01/11 23:41 android12-5.4 57a39998c138 dda5a988 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/01/11 18:37 android12-5.4 57a39998c138 00f3cc59 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2023/10/02 22:50 android12-5.4 5f1cbd78af59 50b20e75 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2023/10/02 22:27 android12-5.4 5f1cbd78af59 50b20e75 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2023/06/24 01:55 android12-5.4 ed558a4e054c 79782afc .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2023/06/24 01:30 android12-5.4 ed558a4e054c 79782afc .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2023/03/11 23:28 android12-5.4 250ac66f1853 5205ef30 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2023/03/11 17:02 android12-5.4 250ac66f1853 5205ef30 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2022/11/29 23:53 android12-5.4 df2b5549c0ec 579a3740 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2022/11/29 22:02 android12-5.4 df2b5549c0ec 579a3740 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2022/08/21 01:21 android12-5.4 f3c75e616e3f 26a13b38 .config strace log report syz C ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2022/08/21 01:00 android12-5.4 f3c75e616e3f 26a13b38 .config strace log report syz C ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2022/05/12 15:35 android12-5.4 b2ca0128d238 9ad6612a .config strace log report syz C ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2022/05/12 15:33 android12-5.4 b2ca0128d238 9ad6612a .config strace log report syz C ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2022/05/12 15:12 android12-5.4 b2ca0128d238 9ad6612a .config strace log report syz C ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2022/05/12 15:09 android12-5.4 b2ca0128d238 9ad6612a .config strace log report syz C ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2021/09/14 17:19 android12-5.4 58a9e28781be 07e953c1 .config console log report syz C ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2021/04/21 03:17 android12-5.4 a5631d493c29 c0ced557 .config console log report syz C ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2020/08/15 20:41 https://android.googlesource.com/kernel/common android-5.4 c3221b7ac740 5ce13532 .config console log report syz C ci2-android-5-4-kasan
2020/03/06 00:26 https://android.googlesource.com/kernel/common android-5.4 d0dbb0adbf9a b655d91b .config console log report syz C ci2-android-5-4-kasan
2020/01/11 12:47 https://android.googlesource.com/kernel/common android-5.4 f5f770e495ba 4c04afaa .config console log report syz C ci2-android-5-4-kasan
2024/05/23 04:37 android12-5.4 51cf29fc2bfc 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/22 21:57 android12-5.4 51cf29fc2bfc 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/22 18:55 android12-5.4 51cf29fc2bfc 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/22 14:01 android12-5.4 51cf29fc2bfc 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/22 02:19 android12-5.4 51cf29fc2bfc 1014eca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/22 00:48 android12-5.4 51cf29fc2bfc 1014eca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/21 21:04 android12-5.4 51cf29fc2bfc 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2024/05/21 19:54 android12-5.4 51cf29fc2bfc 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/21 18:42 android12-5.4 51cf29fc2bfc 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/21 15:21 android12-5.4 51cf29fc2bfc 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/21 13:34 android12-5.4 51cf29fc2bfc 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2024/05/21 11:39 android12-5.4 51cf29fc2bfc 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/21 08:31 android12-5.4 51cf29fc2bfc 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/21 08:14 android12-5.4 51cf29fc2bfc 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/21 03:49 android12-5.4 51cf29fc2bfc c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/21 02:08 android12-5.4 51cf29fc2bfc c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2024/05/20 15:17 android12-5.4 51cf29fc2bfc c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/20 12:47 android12-5.4 51cf29fc2bfc c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/20 07:18 android12-5.4 51cf29fc2bfc c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/19 16:58 android12-5.4 51cf29fc2bfc c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2024/05/19 08:35 android12-5.4 51cf29fc2bfc c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/19 04:44 android12-5.4 51cf29fc2bfc c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/19 03:35 android12-5.4 51cf29fc2bfc c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/18 23:08 android12-5.4 51cf29fc2bfc c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2024/05/18 21:13 android12-5.4 51cf29fc2bfc c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/18 16:53 android12-5.4 51cf29fc2bfc c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/18 11:34 android12-5.4 51cf29fc2bfc c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2024/05/18 11:32 android12-5.4 51cf29fc2bfc c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2024/05/18 10:22 android12-5.4 51cf29fc2bfc c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/18 07:22 android12-5.4 51cf29fc2bfc c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/18 04:52 android12-5.4 51cf29fc2bfc c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/18 03:32 android12-5.4 51cf29fc2bfc c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/18 03:01 android12-5.4 51cf29fc2bfc c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/17 17:54 android12-5.4 51cf29fc2bfc a12e99e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2024/05/17 09:23 android12-5.4 51cf29fc2bfc c2e07261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/17 08:06 android12-5.4 51cf29fc2bfc c2e07261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2024/05/17 04:29 android12-5.4 51cf29fc2bfc c2e07261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2024/05/16 19:52 android12-5.4 51cf29fc2bfc c2e07261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2024/05/16 19:41 android12-5.4 51cf29fc2bfc c2e07261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/16 18:11 android12-5.4 51cf29fc2bfc c2e07261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/16 13:26 android12-5.4 51cf29fc2bfc ef5d53ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/16 08:15 android12-5.4 51cf29fc2bfc ef5d53ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/16 07:12 android12-5.4 51cf29fc2bfc ef5d53ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2024/05/16 06:04 android12-5.4 51cf29fc2bfc ef5d53ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2024/05/16 03:26 android12-5.4 51cf29fc2bfc ef5d53ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2024/05/16 02:24 android12-5.4 51cf29fc2bfc ef5d53ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_cgroup_id
2024/05/16 01:03 android12-5.4 51cf29fc2bfc ef5d53ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_cgroup_id
2021/01/16 08:51 android12-5.4 dc04463953b2 65a7a854 .config console log report info ci2-android-5-4-kasan
2020/01/11 12:21 https://android.googlesource.com/kernel/common android-5.4 f5f770e495ba 4c04afaa .config console log report ci2-android-5-4-kasan
* Struck through repros no longer work on HEAD.